Hi. I have 2 PC's connected with 1GBit NIC's. When I transfer a file from my File-Server(Redhat9.0, 256 SD-RAM, 300MHz PII, RTL8169 NIC, 2x Western Digital WD200JB RAID 0) to my Windows-PC(AMD Athlon XP 1800+, 1024 MB DDR-RAM, WINXP PRO, RTL8169 NIC, 2x Western Digital WD080JB RAID 0) with Samba, i get Speeds around 8-9MB/sec. I think this is too low for an GBit Network, so i tested the NIC's with the Tool Iperf (http://dast.nlanr.net/Projects/Iperf/) and the throughput with this tool is 300 Mbit/sec, so I think, i can get 20 MB/sec with Samba. The Bottleneck why its only 300 Mbit is the "old" File-Server Hardware. I'm using CAT 6 Cables and a 8-Port GBit Switch. The Cards are running both at GBit speeds, as the Switch shows. So what's the reason for this Performance issues? Any Help is greatly appreciated. Greets, Steffen Timmermann
Steffen Timmermann schrieb:> I have 2 PC's connected with 1GBit NIC's.>When I transfer a file from my File-Server >(Redhat9.0, 256 SD-RAM, 300MHz PII, RTL8169 NIC,What Chipset? Maybe Intel BX? The at this time common Harddisk Interface can't read faster than about 9MB per second. If you use a separate PCI Card as Harddisk Interface enable PCI Buffers in Bios.> 2x Western Digital WD200JB RAID 0) > to my Windows-PC(AMD Athlon XP 1800+, >1024 MB DDR-RAM, WINXP PRO, RTL8169 NIC, > 2x Western Digital WD080JB RAID 0) with Samba,> i get Speeds around 8-9MB/sec.to be expected
At first: Thanks for the response. Here are the performance Measures of my Harddisks in the Server. As the Harddisks are not connected to the Onboard IDE, they're not limited to 9 MB/sec /dev/sda is the SCSI HDD where Redhat 9.0 is installed on. /dev/sdb is the RAID 0, Connected to the PCI Raid Controller Card. The only Share Samba provides is on the RAID, so performance should be enough. [root@hdd /]# hdparm -t /dev/sda /dev/sda: Timing buffered disk reads: 64 MB in 5.42 seconds = 11.81 MB/sec [root@hdd /]# hdparm -t /dev/sdb /dev/sdb: Timing buffered disk reads: 64 MB in 1.55 seconds = 41.29 MB/sec ----- Original Message ----- From: "Dimitar Vassilev" <root@bofh.bg> To: "Holger Krull" <holger.krull@gmx.de> Cc: "Steffen Timmermann" <STEX20@inetmx.de>; "Sambaliste" <samba@lists.samba.org> Sent: Tuesday, October 12, 2004 7:40 PM Subject: Re: [Samba] Performance Issues with GBit LAN> ? ??????? ?? Holger Krull <holger.krull@gmx.de>: > Please post your socket options.Where do i find them?> Disable computer browser from Control panel -> AdministrativeTools->Services Wasn't disabled...done> Enable Netbios over TCPWasn't enabled....done> set SO_RCVBUF and SO_SNDBUF to a value higher than 16386How do I set the Buffersizes and on which machine?> set dir caching.Where do i set this?> Get clients gigabit NICsThe Server and the Client both have the same GBit NIC with 8169 chipset.> Best regards, > Dimitar Vassilev
Hi Steffen>At first: Thanks for the response.>Here are the performance Measures of my Harddisks in the Server. As the >Harddisks are not connected to the Onboard IDE, they're not limited to9>MB/sec>/dev/sdb is the RAID 0, Connected to the PCI Raid Controller Card. Theonly>Share Samba provides is on the RAID, so performance should be enough.>/dev/sdb: >Timing buffered disk reads: 64 MB in 1.55 seconds = 41.29 MB/sec>(Redhat9.0, 256 SD-RAM, 300MHz PII, RTL8169 NIC, 2x Western DigitalWD200JB >RAID 0) to my Windows-PC(AMD Athlon XP 1800+, 1024 MB DDR-RAM, WINXP PRO, >RTL8169 NIC, 2x Western Digital WD080JB RAID 0) Looking at the configuration of the server PC, you have a Realtek network card and an unspecified RAID card on a P2 300. I'm guessing that the machine is based on an LX or BX chipset with PC66 or PC100 ram. You have 66mhz bandwidth to play with in the PCI bus. You also have 66mhz FSB thanks to the PII 300 CPU. All the benchmarking you have done (both Iperf and hdparm) both test the two subsystems individually, not together. My initial guess is that your PCI bus and/or CPU cannot drive this system at its full potential. Look at the load average on the server during transfer. Secondly you are running Redhat 9 with a Realtek 8169. There were a number of issues with the stock Redhat 9 kernel versus a Realtek 8169, see here http://www.linuxquestions.org/questions/showthread.php?s=&threadid=14975 1&highlight=8169. In fact these users are reporting only 8-10mb throughput which is exactly what you are describing. My advice to you is to roll a custom kernel for your system (optimized for Pentium 2, raid and network drivers built into kernel instead of modules). Then perform a proper hard disk benchmark using Bonnie++ so you know what the disks are truly capable of (hdparm -t doesn't cut it in this respect). Then I would compare the difference between throughput serving from both your SCSI disk (sda) and RAID array with the benchmark data given by bonnie++. This may reveal a CPU or FSB bottleneck. Good luck and thanks Tom