Ilya Sapunov schrieb:

Hello!
I have one directiry, that contains about 4000 some other directory.
When we update our system to kernel 2.6.11 and samba 3.0.20, listing
this directory take more time and smbd process use 40-70% CPU. What
can we do to reduce CPU load? Previos system: kernel 24.29 and samba
2.0, cpu load by one smbd proccess has no more 10%.


our config:
[global]
       security = share
       debug timestamp = yes
       log file = /var/log/samba/log.%m
       syslog=0
       load printers = No
       unix extensions = no
       os level = 255
       announce version = 5.4
       domain logons = no
       preferred master = Yes
       domain master = Yes
       local master = Yes
       protocol = NT1
       wins proxy = yes
       oplocks = False
       lock dir = /var/lock/samba
       guest account = ftp
       invalid users = root secoff
       unix charset = KOI8-R
       encrypt passwords = yes
       smb passwd file = /etc/samba/smbpasswd
#test perfomance
socket options = TCP_NODELAY SO_SNDBUF=65536 SO_RCVBUF=65536 IPTOS_LOWDELAY use sendfile = no
       lock spin time = 15
       lock spin count = 100


Hi,
use only lower or upper case feature in samba, this should give you
the wanted speed, look at smb faqs for this
Regards

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to