<div dir="ltr"><div><div><div><div><div>The equivalent TCP raw tunings for Solaris based OS's<br><br></div>ndd -set /dev/tcp tcp_xmit_hiwat 1048576</div>ndd -set /dev/tcp tcp_recv_hiwat 1048576<br></div>ndd -set /dev/tcp tcp_max_buf 4194304<br><br></div>Those are the raw tunables and if you run get on those you'll see that they are different than what's in ipadm. One is just buffers, but these are the sliding window parameters.<br><br></div>How big is your latency? Agreed that 1Mb seems like plenty even for east/west coast high-bandwidth WAN. You certainly wouldn't need to go about 4MB for that.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 19, 2015 at 1:49 PM, Dan McDonald <span dir="ltr"><<a href="mailto:danmcd@omniti.com" target="_blank">danmcd@omniti.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> On May 19, 2015, at 1:36 PM, Michael Talbott <<a href="mailto:mtalbott@lji.org">mtalbott@lji.org</a>> wrote:<br>
><br>
> And then in Omni, I've set these ip properties<br>
> root@store3:# ipadm show-prop<br>
> PROTO PROPERTY              PERM CURRENT      PERSISTENT   DEFAULT      POSSIBLE<br>
> tcp   max_buf               rw   16777216     16777216     1048576      8192-1073741824<br>
> tcp   recv_buf              rw   16777216     16777216     128000       2048-16777216<br>
> tcp   send_buf              rw   16777216     16777216     49152        4096-16777216<br>
><br>
> 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.<br>
<br>
</span>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.<br>
<br>
I've heard Samba itself is the source of most of these problems.<br>
<br>
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.<br>
<br>
Dan<br>
<br>
_______________________________________________<br>
OmniOS-discuss mailing list<br>
<a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a><br>
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" target="_blank">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a><br>
</blockquote></div><br></div>