[Samba] Slow and unpredictable Samba performance?

Dennis Clarke dclarke at blastwave.org
Tue Aug 26 19:28:33 GMT 2008


> On 8/26/2008, Jakov Sosic (jakov.sosic at srce.hr) wrote:
>> OK, I've set it to 0, and still have issues with transfer rates being
>> around
>> 7.5-8.5 MB/s on a 100Mbit network.
>
> Max theortetical speed over a 100Mb network is 12.5MB, so 7.5-8.5 isn';t
> all that bad...

I wasn't even going to touch that issue.

But here is some hard data .. over a 100Mbit/sec switch :

dclarke at aequitas:~$ /opt/csw/sbin/smbd --version
Version 3.2.2
dclarke at aequitas:~$ /opt/csw/bin/findsmb

                                *=DMB
                                +=LMB
IP ADDR         NETBIOS NAME     WORKGROUP/OS/VERSION
---------------------------------------------------------------------
192.168.35.42   TITAN         +[CSWSAMBA] [Unix] [Samba 3.2.2]
192.168.35.147  AEQUITAS       [CSWSAMBA] [Unix] [Samba 3.2.2]
192.168.35.251  FOSSIL         [CSWSAMBA] [Unix] [Samba 3.2.2]

dclarke at aequitas:~$ /opt/csw/bin/smbclient --user=smbtest //TITAN/share042
Enter smbtest's password:
Domain=[TITAN] OS=[Unix] Server=[Samba 3.2.2]
smb: \> cd backup/studio12
smb: \backup\studio12\> ls
  .                                   D       0  Sat Aug 16 21:35:45 2008
  ..                                  D       0  Thu Aug 21 19:19:25 2008
  SunStudio12ml-solaris-x86-200709-pkg.tar.bz2      A 601431338  Sat Aug
16 20:58:53 2008
  SunStudio12ml-solaris-sparc-200709-pkg.tar.bz2      A 1194253206  Sat
Aug 16 21:20:38 2008

                63266 blocks of size 524288. 6825 blocks available
smb: \backup\studio12\> get SunStudio12ml-solaris-sparc-200709-pkg.tar.bz2
getting file
\backup\studio12\SunStudio12ml-solaris-sparc-200709-pkg.tar.bz2 of size
1194253206 as SunStudio12ml-solaris-sparc-200709-pkg.tar.bz2 (11145.3
kb/s) (average 11145.3 kb/s)
smb: \backup\studio12\> quit
dclarke at aequitas:~$

So is that okay over a 100Mbit/sec connection ?

Dennis Clarke



More information about the samba mailing list