Public bug reported:

When running from a clean install with Hardy, All patches downloaded,
and a Realtek 8111C nic samab performance was about 2MB/sec. If you run
2 concurrent transfers this performance jumps to around 4.5MB/sec for
each transfer.

Using lshw -C network it showed that as default this using the R8169
driver.

       description: Ethernet interface
       product: RTL8111/8168B PCI Express Gigabit Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: p...@0000:01:00.0
       logical name: eth0
       version: 02
       serial: 00:30:1b:bd:d8:8c
       size: 100MB/s
       capacity: 1GB/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet 
physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 
driverversion=2.2LK duplex=full ip=192.168.100.65 latency=0 link=yes 
module=r8169 multicast=yes port=twisted pair speed=100MB/s


After much searching on the forums and finding similar posts (not all
linked to the realtek driver.

http://ubuntuforums.org/showthread.php?t=424063&highlight=cifs+realtek&page=4

http://ubuntuforums.org/showthread.php?t=723333

Downloading the latest driver from realtek for the r8168 and compiling
it, I blacklisted the r8169 driver and insmod'ed the new driver. This
fixed the problem.

I now get around 7 MB/sec with cifs

Now my card appears as

       description: Ethernet interface
       product: RTL8111/8168B PCI Express Gigabit Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: p...@0000:01:00.0
       logical name: eth0
       version: 02
       serial: 00:30:1b:bd:d8:8c
       size: 100MB/s
       capacity: 1GB/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet 
physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8168 
driverversion=8.010.00-NAPI duplex=full ip=192.168.100.65 latency=0 link=yes 
module=r8168 multicast=yes port=twisted pair speed=100MB/s

I never had a problem with FTP I could get around 10MB/sec.

 lsb_release -rd
Description:    Ubuntu 8.04.2
Release:        8.04

Original driver modinfo

filename:       /lib/modules/2.6.24-23-generic/kernel/drivers/net/r8169.ko
version:        2.2LK
license:        GPL
description:    RealTek RTL-8169 Gigabit Ethernet driver
author:         Realtek and the Linux r8169 crew <net...@vger.kernel.org>
srcversion:     43B14ECBCCE4F7FF1A8D77E
alias:          pci:v00000001d00008168sv*sd00002410bc*sc*i*
alias:          pci:v00001737d00001032sv*sd00000024bc*sc*i*
alias:          pci:v000016ECd00000116sv*sd*bc*sc*i*
alias:          pci:v00001259d0000C107sv*sd*bc*sc*i*
alias:          pci:v00001186d00004300sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008169sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008168sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008167sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008136sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008129sv*sd*bc*sc*i*
depends:        
vermagic:       2.6.24-23-generic SMP mod_unload 586 
parm:           rx_copybreak:Copy breakpoint for copy-only-tiny-frames (int)
parm:           use_dac:Enable PCI DAC. Unsafe on 32 bit PCI slot. (int)
parm:           debug:Debug verbosity level (0=none, ..., 16=all) (int)

Modinfo for new driver

filename:       /lib/modules/2.6.24-23-generic/kernel/drivers/net/r8168.ko
version:        8.010.00-NAPI
license:        GPL
description:    RealTek RTL-8168 Gigabit Ethernet driver
author:         Realtek and the Linux r8168 crew <net...@vger.kernel.org>
srcversion:     C79AB52698CA7636CAF3EA4
alias:          pci:v000010ECd00008168sv*sd*bc*sc*i*
depends:        
vermagic:       2.6.24-23-generic SMP mod_unload 586 
parm:           speed:force phy operation. Deprecated by ethtool (8). (array of 
int)
parm:           duplex:force phy operation. Deprecated by ethtool (8). (array 
of int)
parm:           autoneg:force phy operation. Deprecated by ethtool (8). (array 
of int)
parm:           rx_copybreak:Copy breakpoint for copy-only-tiny-frames (int)
parm:           use_dac:Enable PCI DAC. Unsafe on 32 bit PCI slot. (int)
parm:           debug:Debug verbosity level (0=none, ..., 16=all) (int)


Do you need anymore information?

Deano

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
Terrible Cifs Performance on Hardy with Realtek 8111C NIC
https://bugs.launchpad.net/bugs/328431
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to