[Samba] Samba performance

Juan Pablo jhurcad at yahoo.com
Wed Jun 1 19:46:51 MDT 2011


Hi Volker,

I've removed the SO_RCVBUF=65536 SO_SNDBUF=65536 and the 3 other setting, 
reloaded samba and repeated the tests but still getting the same results for the 
local tests and also from Windows.

I am getting the following results in MBytes/s:

Test type    Local (dd)             Local (smbclient)             Window 7
Case1        161                          101                                  
   63
Case2        122                          119                                   
68

Case1: Read 1000 files 8 MByte each
Case2: 4 processes each reading 1000 files of 8 MByte each

Any idea how can I debug where the bottleneck is or why I get so low numbers 
when reading from Windows?

Thanks


Juan Pablo




________________________________
From: Volker Lendecke <Volker.Lendecke at SerNet.DE>
To: Juan Pablo <jhurcad at yahoo.com>
Cc: Jeremy Allison <jra at samba.org>;  samba at lists.samba.org
Sent: Fri, May 27, 2011 11:25:31 AM
Subject: Re: [Samba] Samba performance

On Fri, May 27, 2011 at 06:34:50AM -0700, Juan Pablo wrote:
> Hi Volker,
> 
> I am using the following socket options:
> 
> socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536

Just remove the SO_RCVBUF=65536 SO_SNDBUF=65536 settings.
Unless you're on a very old Linux or other Unix the kernel
is far better off figuring out that itself.

>         read raw = yes
>         write raw = yes
>         max xmit = 65535

Just remove these 3 settings. If it's still slow after that,
we need to do more analysis.

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen


More information about the samba mailing list