[CentOS] Performance problem with CentOs 4.4 Samba

security security at air-austral.com
Mon Mar 26 06:32:29 UTC 2007


Petr "Qaxi" Klíma a écrit :
> Hello
>
> I experience performance problem with CentOs 4.4 Samba 3.0
>
> Reading files from Samba (1 client WinXP) is 3 times slower than
> writing to samba.
>
> What should I look at?
>
> OS je CentOS 4.4 (RHEL 4 U4)


Look at your ethernet config:
maybe your switch is in "forced 100Mb Full duplex" and your server in
"auto" ???

check the mii-tool command (in net-tools rpm)

Regards

js.

ps: both your swith and your serveur "should be" in auto for ethernet
config.


>
> # smbd --version
> Version 3.0.10-1.4E.11
>
> CFG
> ==================================================================
> # cat /etc/samba/smb.conf
> [global]
> workgroup = GROUP
> netbios name = SERVER
> server string = Samba Server
> passwd program = /usr/bin/passwd %u
> passwd chat = *New*Password* %n\n*Re-enter*new*password* %n\n
> *Password*changed*
> passwd chat debug = no
>
> pam password change = yes
> unix password sync = yes
> username map = /etc/samba/smbusers
>
> log level = 1
> syslog = 0
> interfaces = eth0, lo
> bind interfaces only = yes
> name resolve order = wins host bcast
> printcap name = CUPS
> show add printer wizard = No
> add user script = /usr/sbin/useradd -g users -m '%u'
> delete user script = /usr/sbin/userdel -r '%u'
> add group script = /usr/sbin/groupadd '%g'
> delete group script = /usr/sbin/groupdel '%g'
> add user to group script = /usr/sbin/usermod -a -G '%g' '%u'
> add machine script = /usr/sbin/useradd -s /bin/false -d
> /var/lib/nobody '%u'
> logon script = scripts\login.bat
> logon path =
> logon drive = H:
> domain logons = Yes
> preferred master = Yes
> wins support = Yes
> printing = CUPS
>
> [homes]
> comment = Home Directories
> valid users = %S
> read only = No
> browseable = No
>
> [public]
> comment = Public Store
> path = /data/public
> only guest = yes
> writable = yes
> create mask = 0770
> directory mask = 0770
>
> [GRP1]
> comment = Accounting Files
> path = /data/ucetni
> #valid users = %G
> valid users = @GRP1
> read only = No
> create mask = 0770
> directory mask = 0770
>
> ==================================================================
>
>
>
> # rpm -qa | grep  samba
> samba-common-3.0.10-1.4E.11
> samba-client-3.0.10-1.4E.11
> samba-3.0.10-1.4E.11
>




More information about the CentOS mailing list