[Samba] 10-fold speed drop while transferring large files from Windows to Samba server

Jeremy Allison jra at samba.org
Mon Jun 26 19:30:02 GMT 2006

On Sun, Jun 25, 2006 at 05:04:11PM -0400, Dmitri Pechkin wrote:
> Hi All,
> I have a Linux box (P3-800MHz/196MB RAM/10GB+320GB) running Samba
> 3.0.22 server and a Windows XP (P3-800MHz/512MB RAM/200GB) client.
> The transfer speed (both ways) is about 5-7 MB/s when file is smaller
> than 700MB. For larger files there is a difference: when the Win client
> writes a file on the small Linux disk (10GB) the speed is as above. But
> when I copy, let's say, a 1.5GB file from Win to the 320GB disk on
> Linux the speed is 7 MB/s for the first 50% of the trasfer and then it
> drops down to 600 KB/s. Here is an vmstat log of the session:

vmstat doesn't help. What would help is an ethereal trace of the
initial open.... I'm wondering if it has FILE_WRITE_THROUGH set
on the inital create ?

>         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

This is voodoo - no reason to set these that I can see. Please
delete this.


More information about the samba mailing list