[Samba] Re: Security=user half as fast as share. Why?
merle at gardenfreshcorp.com
Tue Nov 15 20:15:07 GMT 2005
Try this, it sped mine up quite a bit:
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
Do a man on smb.conf for an explanation of what they do to speed things up.
samba1.20.cdunham at spamgourmet.com wrote:
>> samba1.20.cdunham at spamgourmet.com escreveu:
>> > I'm running Suse 9.2 (kernel 2.6.8-24) with Samba 3.0.20b
>> > When I use security=user, my read/write performance is less than half
>> > the peformance with security=share. Why? There are no other changes,
>> > but performance is never better than half the speed. This happens
>> > WinXP, Win2K and Win98 clients, so I don't think the client
>> > configuration is the problem. Network is gigabit, with Intel Pro/1000
>> > adapters.
>> Did you setup the socket options?
>> security = share has five "extra" steps to check the user,
>> perhaps it could be a delay from the backend (LDAP or winbind).
>> Kind regards,
> I'm not sure what you mean by socket options. My smb.conf is shown
> below. I'm not using LDAP or winbind. No domain, just a workgroup.
> My smb.conf file is:
> workgroup = MYWORKGROUP
> netbios name = SERVER1
> wins support = yes
> domain master = yes
> local master = yes
> preferred master = yes
> os level = 65
> map to guest = Bad User
> restrict anonymous = no
> server signing = Auto
> comment = test
> path = /home/users
> read only = no
> guest ok = yes
More information about the samba