[Samba] Tuning the performance of Samba over LAN network to improve I/O performance
Jeremy Allison
jra at samba.org
Wed Aug 5 18:03:43 MDT 2009
On Wed, Aug 05, 2009 at 06:42:07PM -0500, Himanshu Thapar wrote:
>
> I tried playing around with the smb.conf file including all possible
> variations like,
>
> socket options = TCP_NODELAY SO_RCVBUF=(tried values like 8192, 65535,
> 131070) SO_SNDBUF=(tried 8192, 65535, 131070)
Remove these. You won't second guess the kernel.
> log level = 0 or 1
> max xmit = used different numbers ( like 8192 to 65535)
Also, don't touch the above, expecially max xmit.
> I also tried using
> read raw = yes
> write raw = yes
Not used on an XP client.
> My setup is as follows:
> I have a Linux machine running ubuntu which is the host and I have it
> connected to a Windows XP machine over the network and there is also an
> E-SATA which I mount and try to test on. There is Iozone3 and samba server
> running on linux.
> I also have samba on the network.
>
> The approximate average numbers I am getting over LAN are:
>
> Write: around 23Mbits/sec
> Read: around 33Mbits/sec
Seems low, what filesystem/network card are you using ?
Jeremy.
More information about the samba
mailing list