View previous topic :: View next topic |
Author |
Message |
kwiqsilver Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19130588153e7e20b048b5e.png)
Joined: 19 Mar 2003 Posts: 360
|
Posted: Tue May 17, 2005 5:09 pm Post subject: Very slow Gb connection |
|
|
I just set up a gigabit connection using a Marvell 88E8001 (sk98lin module) and a RTL-8169 (r8169 module). I had it running with a cat-5 crossover cable, but was only getting about 150Mb/s. I then bought a cat-6 crossover and now it's only running about 120Mb/s.
Is there a way to test the two ethernet controllers to see which one is running slow, or if it's the cable? But a cat-6 cable should support those cards at full speed, right? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54851 Location: 56N 3W
|
Posted: Tue May 17, 2005 7:32 pm Post subject: |
|
|
kwiqsilver,
A 32 bit 33MHz PCI bus cannot provide data fast enough to max out a 1Gb link.
If its shared with other devices the data rate available for the NIC is reduced further. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nobspangle Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/210249061640b0c1d626f5b.gif)
Joined: 23 Mar 2004 Posts: 1318 Location: Manchester, UK
|
Posted: Tue May 17, 2005 8:07 pm Post subject: |
|
|
Also bear in mind that most hard disks aren't going to be able to sustain anyware near 1Gb/s |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kwiqsilver Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19130588153e7e20b048b5e.png)
Joined: 19 Mar 2003 Posts: 360
|
Posted: Tue May 17, 2005 8:50 pm Post subject: |
|
|
That's true. But the hard disks on both ends are capable of 50MB/s+ sustained transfer, so if the network was capable of that, a remote harddisk would be almost as fast to access as a local one. That's basically what I'm going for.
But in any case, a gigabit connection should be able to outperform 10MB/s, which is more along the lines of a decent 100Mbps connection. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54851 Location: 56N 3W
|
Posted: Tue May 17, 2005 9:13 pm Post subject: |
|
|
kwiqsilver,
Quote: | ... in any case, a gigabit connection should be able to outperform 10MB/s, which is more along the lines of a decent 100Mbps connection. |
Only true if the bottleneck was the LAN prior to the install of the GB Lan.
If your HDD and NIC are on the same PCI bus your PCI throughput is halved because the data must pass over the PCI bus twice. HDD to memory and then memory to NIC. There will be some traffic the other way too, which makes things even worse. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kwiqsilver Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19130588153e7e20b048b5e.png)
Joined: 19 Mar 2003 Posts: 360
|
Posted: Tue May 17, 2005 11:38 pm Post subject: |
|
|
The network line is most likely the bottleneck. A 32-bit 66MHz PCI bus can transfer 2112Gbps (theoretically).
The video is all on the AGP bus for both systems. Neither system was running audio, significant network traffic, or making significant disk use.
The only things of significance running were the reading from (or writing to) the SATA bus, and the network connection between the boxes, which were using a small percentage of the capacity on the PCI bus, even with ACKs and such being returned.
But my original question remains: Is there a way to analyze a network card to verify what sort of throughput it is capable of? Years ago I had to run a 3Com utility to enable duplexing on my 3c905b card (it was set to not duplex out of the box), and I want to rule out something like that in this case. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
encase n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/109140672542e71e2741539.png)
Joined: 25 Oct 2004 Posts: 55 Location: Switzerland
|
Posted: Tue May 17, 2005 11:50 pm Post subject: |
|
|
150MByte/s * 8 = 1000Mbit/s |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kwiqsilver Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19130588153e7e20b048b5e.png)
Joined: 19 Mar 2003 Posts: 360
|
Posted: Wed May 18, 2005 1:31 am Post subject: |
|
|
encase wrote: | 150MByte/s * 8 = 1000Mbit/s |
Assuming you mean 150MB/s * 8b/B = 1200Mbps, that is correct. However as I stated in my original post I was getting 150Mbps, which is only ~15% of the line's capacity. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
encase n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/109140672542e71e2741539.png)
Joined: 25 Oct 2004 Posts: 55 Location: Switzerland
|
Posted: Wed May 18, 2005 1:47 am Post subject: |
|
|
ok...
can you post all specifications of your hardware: wires, cards, routers, switches etc. _________________ look to the master :: follow the master :: walk with the master :: see through the master :: become the master |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kwiqsilver Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19130588153e7e20b048b5e.png)
Joined: 19 Mar 2003 Posts: 360
|
Posted: Wed May 18, 2005 4:30 am Post subject: |
|
|
Box One has an Asus A7N8X-E Deluxe motherboard with onboard Gigabit Ethernet:
Code: | 0000:01:04.0 Ethernet controller: Marvell Technology Group Ltd. Gigabit Ethernet
Controller (rev 13)
Subsystem: ASUSTeK Computer Inc. Marvell 88E8001 Gigabit Ethernet Contro
ller (Asus)
Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 5
Memory at d9000000 (32-bit, non-prefetchable)
I/O ports at a000 [size=256]
Capabilities: [48] Power Management version 2
Capabilities: [50] Vital Product Data |
Box Two has a Trendnet TEG-PCITXR PCI card:
Code: | 0000:00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigab
it Ethernet (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet
Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 10
I/O ports at d400
Memory at eb003000 (32-bit, non-prefetchable) [size=256]
Capabilities: [dc] Power Management version 2 |
Since I only have the two machines, I didn't bother with a switch. The crossover cable is [url=http://shop2.outpost.com/%7BQorDX0kJ83rYkQZLcc2B26MjZx6oSYyadMECMJ2IEtlgCDHKSyZ4|-9026481010258254159/184095267/6/7001/7001/7002/7002/7001/-1|4305363011274713168/184095268/6/7001/7001/7002/7002/7001/-1|1116390239147%7D/product/3516674?site=sr:SEARCH:MAIN_RSLT_PG&WebLogicSession=QorDX0kJ83rYkQZLcc2B26MjZx6oSYyadMECMJ2IEtlgCDHKSyZ4|-9026481010258254159/184095267/6/7001/7001/7002/7002/7001/-1|4305363011274713168/184095268/6/7001/7001/7002/7002/7001/-1]one of these[/url] from my local Fry's. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
yottabit Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/21396843433e4ab1f3e7d52.gif)
Joined: 11 Nov 2002 Posts: 313 Location: Columbus, Ohio, US
|
Posted: Sun Jun 12, 2005 10:22 pm Post subject: |
|
|
also turn on jumbo frame support... you can do this in Linux simply by setting the MTU to 9000 bytes instead of 1500 bytes (use the 'ifconfig' command, and for help 'man ifconfig'). Be sure to do this on both ends or there's no point.
If the other end is Windoze, it's usually a driver option in the driver properties through Device Manager.
(I mention Jumbo Frame because you're directly connected with crossover cable. If you're going through a switch, be sure the switch supports Jumbo Frame explicitly or you may have issues.) _________________ Play The Hitchhiker's Guide to the Galaxy! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|