Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932402AbWAQTDi (ORCPT ); Tue, 17 Jan 2006 14:03:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932412AbWAQTDi (ORCPT ); Tue, 17 Jan 2006 14:03:38 -0500 Received: from lucidpixels.com ([66.45.37.187]:33733 "EHLO lucidpixels.com") by vger.kernel.org with ESMTP id S932402AbWAQTDh (ORCPT ); Tue, 17 Jan 2006 14:03:37 -0500 Date: Tue, 17 Jan 2006 14:03:36 -0500 (EST) From: Justin Piszcz X-X-Sender: jpiszcz@p34 To: Trond Myklebust cc: Alan Cox , Tomasz =?iso-8859-2?Q?K=B3oczko?= , Phil Oester , linux-kernel@vger.kernel.org, apiszcz@lucidpixels.com Subject: Re: Kernel 2.6.15.1 + NFS is 4 times slower than FTP!? In-Reply-To: <1137524502.7855.107.camel@lade.trondhjem.org> Message-ID: References: <20060117012319.GA22161@linuxace.com> <1137521483.14135.59.camel@localhost.localdomain> <1137523035.7855.91.camel@lade.trondhjem.org> <1137523991.7855.103.camel@lade.trondhjem.org> <1137524502.7855.107.camel@lade.trondhjem.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1418 Lines: 44 The file is 700MB. Machine A (src) has 2GB of RAM / 2GB of swap Machine B (dst) has 1GB of RAM / 2GB of swap. Justin. On Tue, 17 Jan 2006, Trond Myklebust wrote: > On Tue, 2006-01-17 at 13:55 -0500, Justin Piszcz wrote: >> Did you get my other e-mail? >> >> $ cp file /nfs/destination >> $ lftp> put file > > > Yes, but how big a file is this? Is it significantly larger than the > amount of cache memory on the server? As I said, if ftp is failing to > sync the file to disk, then you may be comparing apples and oranges. > > Cheers, > Trond > >> On Tue, 17 Jan 2006, Trond Myklebust wrote: >> >>> On Tue, 2006-01-17 at 13:38 -0500, Justin Piszcz wrote: >>>> Writing from SRC(A) -> DST(B). >>>> I have not tested reading, but as I recall there were similar speed issues >>>> going the other way too, although I have not tested it recently. >>> >>> How were you testing it? I'm not sure that ftp will actually sync your >>> file to disk (whereas that is pretty much mandatory for an NFS server), >>> so unless you are transferring very large files, you would expect to see >>> a speed difference due to caching of writes by the server. >>> >>> Cheers, >>> Trond >>> > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/