Fwd: Big performance improvements seen with cifs async write patches even over localhost
smfrench at gmail.com
Sat May 28 11:29:32 MDT 2011
Promising performance results - server was very current smbd from
master branch on recent Ubuntu. Would be interesting to try with the
receivefile/splice patches on the server side too.
---------- Forwarded message ----------
From: Steve French <smfrench at gmail.com>
Date: Sat, May 28, 2011 at 12:21 PM
Subject: Re: Big performance improvements seen with cifs async write
patches even over localhost
To: Jeremy Allison <jra at samba.org>
Cc: linux-cifs at vger.kernel.org, linux-fsdevel
<linux-fsdevel at vger.kernel.org>, LKML <linux-kernel at vger.kernel.org>
On Fri, May 27, 2011 at 11:47 AM, Jeremy Allison <jra at samba.org> wrote:
> On Fri, May 27, 2011 at 12:14:19AM -0500, Steve French wrote:
>> Did some informal testing of Jeff Layton's cifs async_write patch set
>> tonight (recent kernel). Copying 700MB sequentially was 20% faster
>> from cifs kernel client to Samba 3.6 with his patches - even mounted
>> over localhost (where network latency is a much smaller issue) and
>> with a slow laptop drive!
>> I was simply doing
>> time dd if=/dev/zero of=/mnt/null bs=1M count=700
>> repeated 4 times each way (with old module, and with same code with
>> Jeff's cifs async write code builtin), deleting the target file in
>> between each run.
>> I am looking forward to trying this over GigE tomorrow to servers with
>> faster disks.
> Very nice ! Now where's my encrypted transport Steve ? :-) :-)
Did some additional informal testing with this (current mainline vs.
cifs from 2.6.39) and the results are even better.
Mounted over GiGE to midrange desktop system from my laptop. Copying
2.5GB to the server was 88% faster with current mainline. Repeated
the test 3 times each way. Current mainline cifs averaged 98.9 MB/s
for sequential file copy vs. 52.6 MB/s (for 2.6.39 and older).
stevef at stevef-laptop:~$ time dd if=/dev/zero of=/mnt/null bs=1M count=2500
2500+0 records in
2500+0 records out
2621440000 bytes (2.6 GB) copied, 26.3095 s, 99.6 MB/s
More information about the samba-technical