samba1.20.cdunham@spamgourmet.com
2005-Nov-05 03:30 UTC
[Samba] Security=user half as fast as share. Why?
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 with WinXP, Win2K and Win98 clients, so I don't think the client configuration is the problem. Network is gigabit, with Intel Pro/1000 adapters. My smb.conf file is: [global] 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 ;security = share restrict anonymous = no server signing = Auto [test] comment = test path = /home/users read only = no guest ok = yes
Felipe Augusto van de Wiel
2005-Nov-07 12:59 UTC
[Samba] Security=user half as fast as share. Why?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 samba1.20.cdunham@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 with > 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, - -- Felipe Augusto van de Wiel <felipe@paranacidade.org.br> Coordenadoria de Tecnologia da Informa??o (CTI) - SEDU/PARANACIDADE http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFDb0/rCj65ZxU4gPQRAsDZAKC3lQxAT5+HlI9gN0orAa/rz+ps7gCgmXX5 7JrytR3bYj6zCNvW7aOxEy0=MGIL -----END PGP SIGNATURE-----
samba1.20.cdunham@spamgourmet.com
2005-Nov-07 14:24 UTC
[Samba] Re: Security=user half as fast as share. Why?
> > 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 with > > 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: [global] 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 [test] comment = test path = /home/users read only = no guest ok = yes
samba1.20.cdunham@spamgourmet.com
2005-Nov-07 19:11 UTC
[Samba] Security=user half as fast as share. Why?
> > 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 with > > 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: [global] 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 [test] comment = test path = /home/users read only = no guest ok = yes