Package: linux-image-2.6.18-3-amd64 Version: 2.6.18-6
Hello, I noticed that patching a vanilla kernel with debian patch net-r8169-1.patch decrease speed of my realtek network card (precise location of patch kernel-patches/all/2.6.18/debian/features/all/drivers/net-r8169-1.patch.bz2) I first noticed problems trying to tune my network with 2.6.16 and 2.6.18 kernels. Making more tests i discovered speed problem with 2.6.18 packages vanilla 2.6.16.29 and debian 2.6.17-2 give me 650Mbps vanilla 2.6.18.3 give me 650Mbps debian 2.6.18-3 give me 280Mbps vanilla 2.6.18.3 with net-r8169-1.patch applied give me 280Mbps (tests are done with iperf, both tcp and udp give similar results) to reproduce : - Build and install a vanilla 2.6.18.3 using config from debian package - make network tests --> 650Mbps - apply net-r8169-1.patch to network source - make modules, make modules_install - ifdown eth2, rmmmod r8169, modprobe r8169, ifup eth2 - make network tests --> 280Mbps - To be sure, revert to original r8169 and re-test --> 650Mpbs The machine is an Athlon64 with nforce430 chipset and realtek pci network card lspci -n for realtek card : 01:06.0 0200: 10ec:8169 (rev 10) full lspci : 00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2) 00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2) 00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2) 00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2) 00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2) 00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2) 00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2) 00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2) 00:02.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1) 00:03.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1) 00:04.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1) 00:05.0 VGA compatible controller: nVidia Corporation C51G [GeForce 6100] (rev a2) 00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2) 00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a2) 00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a2) 00:0a.2 RAM memory: nVidia Corporation MCP51 Memory Controller 0 (rev a2) 00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a2) 00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a2) 00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev a1) 00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1) 00:0f.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1) 00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2) 00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2) 00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a1) 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control 01:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10) 01:07.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02) 01:0e.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80) dmesg after loading vanilla module: r8169 Gigabit Ethernet driver 2.2LK-NAPI loaded ACPI: PCI Interrupt 0000:01:06.0[A] -> Link [APC1] -> GSI 16 (level, low) -> IRQ 217 eth2: Identified chip type is 'RTL8169s/8110s'. eth2: RTL8169 at 0xffffc20000028000, 00:e0:4c:31:7d:2d, IRQ 217 dmesg after loading patched module: r8169 Gigabit Ethernet driver 2.2LK-NAPI loaded ACPI: PCI Interrupt 0000:01:06.0[A] -> Link [APC1] -> GSI 16 (level, low) -> IRQ 217 eth2: RTL8169s/8110s at 0xffffc20000028000, 00:e0:4c:31:7d:2d, IRQ 21 -- Huf <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]