Public bug reported:

I have a freshly installed Gutsy Gibon, and I have tested FTP
performances (from a Debian/GNU Etch server) getting consistently near
48 MB/s (48.66, 48.23, 48.04 and 48.52 MB/s) writing in /dev/shm and
with a 351 MB file. But, when I test Samba performance por the same file
in the same server, I get a consistent performance of near 13 MB/s. Even
more extrange is that, when I do two parallel Samba downloads for the
same file, I get two downloads of 13 MB/s (~26 MB/s). If I check with
three files of 100 MB, the downloads boast a speed ~36 MB/s for the
three downloads. With four files, the performance is ~40 MB/s (near FTP
performance).

My NIC card is a RTL8169:

01:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit 
Ethernet (rev 10)
        Subsystem: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
        I/O ports at c000 [size=256]
        Memory at eb000000 (32-bit, non-prefetchable) [size=256]
        [virtual] Expansion ROM at 60000000 [disabled] [size=128K]
        Capabilities: [dc] Power Management version 2

The Debian server has an embedded Intel Gigabit Ethernet controller:

01:0c.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet 
Controller (rev 02)
        Subsystem: Dell Optiplex GX260
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 185
        Memory at ff8c0000 (32-bit, non-prefetchable) [size=128K]
        I/O ports at e8c0 [size=64]
        Capabilities: [dc] Power Management version 2
        Capabilities: [e4] PCI-X non-bridge device
        Capabilities: [f0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 
Enable-

The "socket option" in smb.conf is:

   socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE
SO_RCVBUF=8192 SO_SNDBUF=8192

** Affects: linux-source-2.6.22 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Samba slow on gigabit networks with r8169
https://bugs.launchpad.net/bugs/161778
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to