Samba/FTP slow write fast read
George Toft
george at georgetoft.com
Sat Oct 27 18:01:20 MST 2012
Spent several hours researching this one - can't find a solution. I
hope someone here can hit me with a clue-by-four.
CentOS 6.3 64-bit virtual running under VMware 2.0.2 fresh install with
FTP/Samba/NFS running. I copied 500+GB of data from the old computer to
the new one using NFS at full network speed (11+ MB/sec). Life's good.
Now here it is a day later, and my samba write speed is a blazing
80KB/sec (up from 40KB/s when I started troubleshooting). I read samba
should approach FTP speed and I verified it does - FTP writes to the new
machine at about the same speed. Reads still take place a full speed
(now it's on a 1Gbps network) - 33MB/sec. Writes . . . 99.8% slower. I
did not have this problem on the previous samba server (CentOS 4.8 32-bit).
I added memory (it now has 1GB RAM, 1 GB swap) and it has 2 CPU's. This
had no effect.
In summary, NFS works at full speed both ways. Samba/FTP are fast on
reads but snail slow on writes.
My next thought is to install ClearOS, test it, and copy their
smb.conf. Or install CentOS 5.x and see if it has the same problems.
Any ideas where to look on this one? smb.conf necessary.
--
Regards,
George Toft
More information about the PLUG-discuss
mailing list