[Samba] Horrendously slow transfer speeds in FC3 is driving me crazy!!! Please help...

Peter Szmrecsanyi peter at totallinux.com.br
Wed May 11 23:35:16 GMT 2005

Great a reply!!! I thought everyone had given up on me!

OK for the specifications, it's a Compaq ProLiant 2500 server with:
- Dual Pentium Pro (200MHz)
- 256 MB EDO RAM
- 36GB RAID(0) Compaq Raid Array (two 18GB SCSI disks)
hdparm -tT gives:
 Timing cached reads:   192 MB in  2.02 seconds =  95.11 MB/sec
 Timing buffered disk reads:   46 MB in  3.03 seconds =  15.18 MB/sec
- Compaq Netelligent Integrated 10/100 TX NIC

I can do FTP at 9 MB/s but the absolute max I can get samba up to is about 4
MB/s. I've tried installing version 3.0.14a, I'm compiling the old version
2.2.12 as I write this... I managed to get quite a performance boost when I
compiled the latest version for the i686 architecture (100% performance
increase using smbclient from another machine).

What is annoying is that and NFS client in windows doesn't perform better
than the samba client (using a Linux client NFS is slightly faster than
FTP). I'm going to try compiling samba 3 without ACL support, then I'm going
to try to install samba 2.2.12 if that doesn't solve it then I'll settle for
a hardware issue and try to get hold of a 3C905 (3com NIC), after that I'll
be out of ideas...


-----Original Message-----
From: samba-bounces+peter=totallinux.com.br at lists.samba.org
[mailto:samba-bounces+peter=totallinux.com.br at lists.samba.org]On Behalf Of
Sent: terça-feira, 10 de maio de 2005 23:30
To: samba at lists.samba.org
Subject: Re: [Samba] Horrendously slow transfer speeds in FC3 is driving me
crazy!!! Please help...

<quote who="peter">
> Hello,
> I recently posted a message with the subject: "Strangely slow transfers
> speeds with samba 3.0.10 and FC3..."
> My problem is basically that I've setup a samba server with Fedora Core 3,
> the version used is 3.0.10-1.fc3.
> I can put files on the server at reasonable speeds, but getting them from
> the server with a Windows 2000/XP client is another matter, the speeds
> drop
> to a pathetic rate. With smbclient (in Linux) it's even worse; the speed
> falls to 1/10 of the rate!
> OK, the figures: a 540MB file when transferred via FTP or NFS (Linux
> client)
> takes about 61 seconds (rate is around 8MB/s), via samba (win 2k/XP) takes
> over 4 minutes, via smbclient (Linux) takes about 20 minutes!!!
> Does anyone have any idea why smbclient is so slow? Note that I'm using
> as SMB with Samba 3 is even worse!
> Is there something drastically wrong with the Fedora versions of Samba?


I've seen several people post similar issues as yours.  Perhaps it is
hardware related?  Can you post your hardware specifications?  I've done
some benchmarking over the past few days and I'll show you what I have:

Samba Server
AMD Duron 1.3ghz
Abit (?) k7a or something like that motherboard (KT133 chipset)
512mb PC133 SDRAM
Intel gigabit NIC
WD 120gb hard drives
Netgear gigabit switch (no jumbo frames)

Fedora Core 3
Kernel 2.6.10-1.766_FC#
Samba 3.0.10-1.fc3

Now I can FTP to and from the server getting in the 14.5 - 15 MB/sec
range.  When I use Samba I get from 12.6 - 14.4 MB/sec.  I use a 4gb .gz
file for testing.  Since my server does many things, I've noticed that it
can take a minute or so for the transfer rates to settle down.

hdparm -tT /dev/hdc average results:
     Timing cached reads: 306.785
     Timing buffered disk reads: 33.785

Given my hdparm results, I should be able to do better than 14MB/sec.
Next I'll try copying from one drive to another and see how long that

If needed, I could post my smb.conf file but there really isn't anything
in there.  I just used the default one and added my share info.

So, in short, I don't think there is a problem with Fedora Core 3.  There
could be some issue with your hardware or configuration.  Perhaps the new
version of Samba is a memory hog and requires 256mb or more to run
smoothly?  I guess you could take a look at top and see if you have any
high states.

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.8 - Release Date: 10/5/2005

No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.8 - Release Date: 10/5/2005

More information about the samba mailing list