[Samba] performance transfer (samba VS ftp)

Stan Hoeppner stan at hardwarefreak.com
Fri Sep 17 23:22:53 MDT 2010


Pol Hallen put forth on 9/15/2010 9:36 AM:

> debian stable (samba version 2:3.2.5-4lenny9)
> 
> from clients by ftp the transfer of huge file is about 10/11Mb/s (with an 
> ethernet 10/100)
> 
> by samba came 5/6Mb/s
> 
> is it correct?

Good luck.  It appears that tuning smbd and clients, both Windows and
smbclient, to get anywhere close to wire speed is somewhat of a black
art.  I asked the same question many months ago, and dropped the subject
after Jeremy said it had to be a problem with the W2K redirector.  Funny
thing is, that same W2K redirector can pull at almost wire speed from a
WinXP box.  The most I've ever been able to get out of smbd is ~8MB/s.
I'm running 3.2.5-4lenny12.  To get anything better than that I'll have
to go to GigE.  I probably won't get anywhere close to wire speed, but I
should get at least 30-40MB/s, which is 4-5 times what I get now, and
would thus be a huge improvement for relatively little cost--a few NICs
and a decent desktop GigE switch can be had for around $100 USD.  Even
without using jumbo frames this would be a huge improvement over 100FDX.

-- 
Stan


More information about the samba mailing list