Any hints for samba performance tuning parameters in smb.conf? current parameters: workgroup = XXXX server string = XXXXXX passdb backend = smbpasswd log file = /var/log/samba/log.%m max log size = 50 unix extensions = No load printers = No add user script = /usr/sbin/useradd %u delete user script = /usr/sbin/userdel %u add group script = /usr/sbin/groupadd %g delete group script = /usr/sbin/groupdel %g delete user from group script = /usr/sbin/deluser %u %g add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u logon script = logon.cmd logon drive = R: domain logons = Yes os level = 33 preferred master = Auto domain master = Yes dns proxy = No wins support = Yes hide unreadable = Yes First connection (drive map) from windows machines is a bit slow, maybe disabling ipv6 helps for that? -- Eero
On Thu, 2009-08-20 at 23:06 +0300, Eero Volotinen wrote:> Any hints for samba performance tuning parameters in smb.conf? > current parameters: > First connection (drive map) from windows machines is a bit slow, maybe > disabling ipv6 helps for that?Why not suss out where the delay is before changing things? See "Premature Optimization". Watch with wireshark and see if you see [long] pauses in the exchange. My guess is that you'll find pauses where the client [the Windows PC] isn't doing anything - which Samba can't help. IPv6 will only matter if the client is using IPv6 and in 2009 disabling IPv6 is just a bit retro. Haven't tested with Samba but in general we find IPv6 to be slightly faster.