[Samba] Client link utilization

Lennart Sorensen lsorense at csclub.uwaterloo.ca
Tue Feb 9 08:25:44 MST 2010

On Tue, Feb 09, 2010 at 01:19:40AM +0100, Bostjan Skufca wrote:
> Then I am greedier (if I also strive for 11MB/s:) Thanks for reminding
> me though.
> Can/Did someone push it over 10MB/s (or 100MB/s with 1Gbps ethernet))?
> To Jeremy or someone who is involved in samba as a developer: do any
> particular kernel options influence performance of smbclient, that you
> know of? Compile time options? Compiler version?

Well I just checked what settings my NFS mount that works great is using.  it uses:

Now I tried different rsize values with cifs as well, but that doesn't
seem to help (at least 64k made no improvement.  Going down to 4k made
it slower).

Looking at it carefully, it turns out trying to set it over 16k gets
ignored.  Changing the option CIFSMaxBufSize on the cifs module to 130048,
does allow using rsize up to that value, and the speed goes up to 8.3MB/s
from 7.5MB/s.  So it seems larger rsize makes it better.  Given nfs uses
8 times larger yet and gets great speed may be a clue too.

Len Sorensen

More information about the samba mailing list