[opensuse] Poor samba performance



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



Relevant Pages

  • RE: [SLE] Samba + MS SQL problem
    ... The fileserver used to be a Win2k server, ... >fine, but SQL can't. ... Is this anything to do with samba? ...
    (SuSE)
  • Re: Does samba 3.0.14Aa on OS 5.0.6 work with ldapsam backend on another LDAP server?
    ... used 3.0.9 on SCO 5.0.6 for quite some time after suffering problems I ... a RedHat4 box running samba 3.0.10 and OpenLDAP 2.2.13. ... and no LDAP server (although there were the ... share on the SCO server without any smbpasswd on that server! ...
    (comp.unix.sco.misc)
  • [HPADM] RE: Mapping Samba Share to XP
    ... "The mapped network drive could not be created because the following error occurred: The remote computer is not available." ... Is there anything I need to change in the configuration on the CIFS server? ... I am unable to map to the Windows XP clients on the 158 subnet still, but this is due to the firewall, so if someone knows how I can make that happen, please let me know? ... Mapping Samba Share to XP ...
    (HP-UX-Admin)
  • samba 3.0 does not list servers when "map to guest = bad user" ?
    ... I've been trying to configure a samba 3.0 server to play nicely both ... with smbclient and with MS windows. ... At present, if I try to view the list of shares from within windows, I ...
    (Debian-User)
  • Re: mount Linux directory on Windows
    ... and its for mounting Windows directory on Linux using Windows Samba Server. ... I want mount linux directory using Linux Samba Server on Windows Client. ...
    (RedHat)

Loading