----- On Sep 6, 2016, at 5:45 PM, Frederick W. Soucy [email protected] wrote: > On Tue, 06 Sep 2016 at 22:20:10 +0100, Chris Ridd wrote: >>Somewhat off-topic, except I’m using Samba from pkgsrc in a native zone on >>SmartOS… >> >>Does anyone have any hints on how to optimize Samba read (and write, to an >>extent) performance? I’m using Samba 4.2.1nb5 from pkgsrc. I’m serving from a >>zone, which is why I’m not using the in-kernel cifs server. >> >>Using iperf I can get 940Mbps over bge0 to my Mac (wired). I can get something >>over 130MB/s if I dd a file from my pool to /dev/null, but reading the same >>file over Samba from my Mac (wired) using cp only nets me ~ 35MB/s. >> >>I’m mostly reading/writing multi-GB files (videos), and I don’t have an SLOG >>or >>L2ARC device yet. >> >>Anyway, something in Samba is only giving me about 25% of my underlying pool’s >>read performance and I’d be interested in knowing how folks here have tuned >>Samba. Most advice I see on the net is Linux-specific, cargo-cultish, and more >>to the point, doesn’t make a difference :-) >> >>Thanks in advance, >> >>Chris >> >> >> > Afraid i have no insight as to why your samba isn't performing just want to > state that you can use the built-in SMB server inside an OS zone. It's the NFS > server that is unavailable inside an OS zone. At $HOME all my media is served > from an OS zone with a delegated dataset via svc:/network/smb/server:default > and it is able to push ~100MB/s from an atom c2550.
is there a way to tie the in-kernel cifs server to a samba nt4-domain or active directory instance? in that way, samba could authenticate the users but the faster cifs service would provide the data ... ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
