[OmniOS-discuss] Samba Performance

Dan McDonald danmcd at omniti.com
Tue May 19 17:49:58 UTC 2015


> On May 19, 2015, at 1:36 PM, Michael Talbott <mtalbott at lji.org> wrote:
> 
> And then in Omni, I've set these ip properties
> root at store3:# ipadm show-prop
> PROTO PROPERTY              PERM CURRENT      PERSISTENT   DEFAULT      POSSIBLE
> tcp   max_buf               rw   16777216     16777216     1048576      8192-1073741824
> tcp   recv_buf              rw   16777216     16777216     128000       2048-16777216
> tcp   send_buf              rw   16777216     16777216     49152        4096-16777216
> 
> I just can't get samba on Omni to go any faster than 60MB/s. I've tried adjusting those buffers, removing the socket options in smb.conf altogether, but, to no avail.

I'd lower recv/send from 16MB down to 1MB unless you have a VERY HIGH DELAY network.  You just aren't buying much beyond 1MB.

I've heard Samba itself is the source of most of these problems.

As for the built-in smb sharing... there are improvements already starting to be upstreamed in illumos-gate (and are in the OmniOS bloody release), but it may not solve all of your problems that Samba will solve.  I'd suggest asking the illumos list your SMB questions as well -- maybe one of the Nexentians will be able to point the way toward what's coming.

Dan



More information about the OmniOS-discuss mailing list