Samba/FTP slow write fast read

Michael Havens bmike1 at gmail.com
Sun Oct 28 07:13:43 MST 2012


thanks for the update!
:-)~MIKE~(-:


On Sat, Oct 27, 2012 at 10:07 PM, George Toft <george at georgetoft.com> wrote:

> Further investigation shows it's not FTP nor samba.  It's Windows 7 (which
> I used for Windows file and FTP).  Using smbclient on a Linux box I get
> 19MB/sec and FTP from Linux I get 32MB/sec.  Concurrent with replacing the
> old file server was the purchase of a new PC.  I guess we know what XP does
> better than Windows 7.
>
> Regards,
>
> George Toft
>
> On 10/27/2012 6:01 PM, George Toft wrote:
>
>> 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.
>>
>>
> ------------------------------**---------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.**phoenix.az.us<PLUG-discuss at lists.plug.phoenix.az.us>
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.**us/mailman/listinfo/plug-**discuss<http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20121028/1ef61c3b/attachment.html>


More information about the PLUG-discuss mailing list