Mailinglist Archive: opensuse (3175 mails)

< Previous Next >
[opensuse] Poor samba performance
  • From: Bas hendriks <bas@xxxxxxxx>
  • Date: Wed, 04 Apr 2007 14:40:43 +0200
  • Message-id: <46139CCB.7000108@xxxxxxxx>
Hello,

I am trying to figure out why my Samba server has very poor performance form server to client.
The server is a OpenSuSe 10.2 installation, I tested samba 3.0.23d and 3.0.24.

File transfer from server > workstation: +- 1 Mbit
File transfer from workstation > server: +-  85 Mbit
(this is a 100 Mbit network)

The figures are the same for windows and unix workstations.

To test network hardware(fd/hd) and tcpstack/nic driver i tested with FTP and HTTP, both give about 90Mbit up and down.

I disabled the firewall for testing purposes.

I tested several smb.conf files (including my old fileserver config) to no avail, below the latest test smb.conf.

Can anyone give me some pointers on how to debug?

Best regards,
Bas Hendriks


extra information:
---------------------
On the server:
intranet:~/testshare # uname -a
Linux intranet 2.6.18.8-0.1-bigsmp #1 SMP Fri Mar 2 13:51:59 UTC 2007 i686 i686 i386 GNU/Linux

intranet:~/testshare # mount|grep cifs
//localhost/files on /root/testshare type cifs (rw,mand)

intranet:~ # rpm -qa|grep samba
yast2-samba-client-2.14.4-3
samba-doc-3.0.23d-6
samba-3.0.24-12.1.55
yast2-samba-server-2.14.3-10
samba-client-3.0.24-12.1.55

# testing localhost share
intranet:~ # time cp ./testshare/testfile ~/

real    0m0.114s
user    0m0.000s
sys     0m0.060s
intranet:~ # time cp ~/testfile ./testshare/

real    0m0.088s
user    0m0.000s
sys     0m0.040s
intranet:~ #
intranet:~ # cat /etc/samba/smb.conf
[global]
        workgroup = CYBOX
        security = SHARE
        printing = CUPS
        #printcap name = CUPS
        disable spoolss = Yes
        show add printer wizard = No
        wins support = yes

[FILES]
        comment = Fileserver commen files
        path = /fileserver/files
        read only = No
        force user = fileserver
        force group = fileserver
        guest ok = Yes
        nt acl support = No

[ADMINISTRATIE]
        comment = Administratie
        path = /fileserver/administratie
        read only = No
        force user = fileserver
        force group = fileserver
        guest ok = Yes
        nt acl support = No

On a freebsd workstation:

[root@dmz root]#mount|grep smbfs
//ROOT@INTRANET/FILES on /intranet (smbfs)

# create 10MB testfile
[root@dmz root]#dd if=/dev/random of=testfile bs=1024 count=10240
10240+0 records in
10240+0 records out
10485760 bytes transferred in 1.214533 secs (8633573 bytes/sec)

[root@dmz root]#time cp testfile /intranet/

real    0m1.247s
user    0m0.001s
sys     0m0.103s
[root@dmz root]#time cp /intranet/testfile ~/

real    1m15.966s
user    0m0.000s
sys     0m0.208s
[root@dmz root]#
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >