[Samba] Samba transfer rate slower than ftp
Volker Lendecke
Volker.Lendecke at SerNet.DE
Wed Jun 23 08:35:22 MDT 2010
On Wed, Jun 23, 2010 at 12:26:04PM +0200, Francois Lepretre wrote:
> I have a file server under Debian Lenny, with a 41TB file system (XFS,
> 24 x 2TB hard drives on RAID 6 on an Areca card)
>
> Reading files with ftp works like a charm and we easily reach the 125
> MB/s limit of the GB ethernet card.
>
> But when reading files (on the same clients) from a samba share, we get
> around 60 MB/s.
> Clients are Windows XP 64 and Seven 64 and show the same performances.
>
> Sadly enough, this server has a 'twin brother' (same hardware) that runs
> Windows Server 2008, and reading from a share on it gives a nice 100MB/s.
>
>
> So why is the samba share so 'slow' compared to ftp or the windows server ?
>
> Here is the smb.conf (samba version is 3.2.5)
>
> -------------------------------------------------------------
> [global]
>
> workgroup = WIZZ
> server string = Prod1 File Server %v
> log file = /var/log/samba/log.%m
> max log size = 50
> security = share
> encrypt passwords = yes
> socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192
> SO_SNDBUF=8192
Please remove the "socket options" and retry :-)
If it's still slow, I'll ask for network traces...
Thanks,
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20100623/431f8ee0/attachment.pgp>
More information about the samba
mailing list