Mailinglist Archive: opensuse-kernel (79 mails)

< Previous Next >
Re: [opensuse-kernel] Help need to boost samba perf
  • From: Bruno Friedmann <bruno@xxxxxxxxxxx>
  • Date: Tue, 21 Sep 2010 17:28:56 +0200
  • Message-id: <4C98CF38.1040504@xxxxxxxxxxx>
On 09/21/2010 05:00 PM, Jan Kara wrote:
On Tue 21-09-10 11:35:57, Bruno Friedmann wrote:
Hi all, actually having a openSUSE 11.3 server installed, we face a
strange trouble.

Each samba transfer ( cifs, smbfs kde or gnome, or from xp/w2k3 ) doesn't
goes more than 25MB/s If we start 2 transfer the 2 are running at 25MB/s
max.

Doing other network transfert (bacula, nfs, ftp) run all at the gigabit
link limit of 125MB/s in read or write. (disks can run at ~350 Read
write at the same times)

I've exported the sysctl -a param here
http://susepaste.org/90797401

I'm asking here first, as many posts and examples are talking about tpc
window or other kernel trick.

For samba : tests have been made using or not using socket option line.
and that change throughput but only in range of -+4MB/s

Any ideas ?
Hmm, it may be unrelated but what filesystem are you using? I'm just
wondering if this might be a similar issue as in
https://bugzilla.novell.com/show_bug.cgi?id=595999
Your problem looks different but I'm asking just in case...

Honza

Thanks for the pointer,
here the mount point http://susepaste.org/7404872
/dev/mapper/vgsystem-lvsuse on / type ext4
(rw,noatime,nodiratime,data=writeback,commit=15,acl,user_xattr,barrier=0,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
devtmpfs on /dev type devtmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,mode=1777)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/md0 on /boot type ext3 (rw,noatime,nodiratime,noacl)
/dev/mapper/vgsystem-lvvar on /var type ext4
(rw,noatime,nodiratime,data=writeback,commit=15,acl,user_xattr,barrier=1,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0)
/dev/mapper/vgsystem-lvtmp on /tmp type ext4
(rw,noatime,nodiratime,data=writeback,commit=15,acl,user_xattr,barrier=1,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0)
/dev/mapper/vgsystem-lvsrv on /srv type ext4
(rw,noatime,nodiratime,data=writeback,commit=15,acl,user_xattr,barrier=1,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0)
/dev/mapper/vgadaptec-lvdata on /sigeom/data type ext4
(rw,noatime,nodiratime,data=ordered,auto_da_alloc,commit=15,acl,user_xattr,barrier=1,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0)
/dev/mapper/vgadaptec-lvhome on /sigeom/home type ext4
(rw,noatime,nodiratime,data=ordered,auto_da_alloc,commit=15,acl,user_xattr,barrier=1,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0)
/dev/mapper/vgadaptec-lvdb on /srv/db type ext4
(rw,noatime,nodiratime,data=ordered,auto_da_alloc,commit=15,acl,user_xattr,barrier=1,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0)
/dev/mapper/vgarchives-lvarchives on /sigeom/archives type ext4
(rw,noatime,nodiratime,data=ordered,auto_da_alloc,commit=15,acl,user_xattr,barrier=1,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0)
/dev/mapper/vgarchives-lvinstall on /sigeom/install type ext4
(rw,noatime,nodiratime,data=ordered,auto_da_alloc,commit=15,acl,user_xattr,barrier=1,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0)
/dev/mapper/vgarchives-lvnobackup on /sigeom/nobackup type ext4
(rw,noatime,nodiratime,data=ordered,auto_da_alloc,commit=15,acl,user_xattr,barrier=1,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0)
/dev/loop0 on /media/sysrescuecd type iso9660 (ro)
/dev/loop1 on /media/ubuntu_32 type iso9660 (ro)
/dev/loop2 on /media/ubuntu_64 type iso9660 (ro)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
securityfs on /sys/kernel/security type securityfs (rw)
/proc on /var/lib/ntp/proc type none (ro,nosuid,nodev,bind)
/proc on /var/lib/named/proc type none (ro,nosuid,nodev,bind)
kaa:/home/carto_dev on /media/kaa_sig/carto_dev type nfs
(rw,soft,tcp,posix,rsize=8192,wsize=8192,timeo=14,retrans=5,addr=10.50.50.50)
nfsd on /proc/fs/nfsd type nfsd (rw)
/proc on /var/lib/dhcp/proc type none (ro,nosuid,nodev,bind)

It's all ext4, but as I've said same transfert by nfs is going to run at
38-54MB compared to the 22-25MB seen by samba
(same file, same destination)

I don't understand the why or how ... I'm a bit lot, and the cold I have
doesn't help to have clear ideas and efficient brain.


--

Bruno Friedmann (irc:tigerfoot)
Ioda-Net Sàrl www.ioda-net.ch
openSUSE Member
User www.ioda.net/r/osu
Blog www.ioda.net/r/blog
fsfe fellowship www.fsfe.org
GPG KEY : D5C9B751C4653227
vcard : http://it.ioda-net.ch/ioda-net.vcf
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx

< Previous Next >