Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Very slow Gb connection
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kwiqsilver
Guru
Guru


Joined: 19 Mar 2003
Posts: 360

PostPosted: Tue May 17, 2005 5:09 pm    Post subject: Very slow Gb connection Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54851
Location: 56N 3W

PostPosted: Tue May 17, 2005 7:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Tue May 17, 2005 8:07 pm    Post subject: Reply with quote

Also bear in mind that most hard disks aren't going to be able to sustain anyware near 1Gb/s
Back to top
View user's profile Send private message
kwiqsilver
Guru
Guru


Joined: 19 Mar 2003
Posts: 360

PostPosted: Tue May 17, 2005 8:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54851
Location: 56N 3W

PostPosted: Tue May 17, 2005 9:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
kwiqsilver
Guru
Guru


Joined: 19 Mar 2003
Posts: 360

PostPosted: Tue May 17, 2005 11:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
encase
n00b
n00b


Joined: 25 Oct 2004
Posts: 55
Location: Switzerland

PostPosted: Tue May 17, 2005 11:50 pm    Post subject: Reply with quote

150MByte/s * 8 = 1000Mbit/s
Back to top
View user's profile Send private message
kwiqsilver
Guru
Guru


Joined: 19 Mar 2003
Posts: 360

PostPosted: Wed May 18, 2005 1:31 am    Post subject: Reply with quote

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
View user's profile Send private message
encase
n00b
n00b


Joined: 25 Oct 2004
Posts: 55
Location: Switzerland

PostPosted: Wed May 18, 2005 1:47 am    Post subject: Reply with quote

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
View user's profile Send private message
kwiqsilver
Guru
Guru


Joined: 19 Mar 2003
Posts: 360

PostPosted: Wed May 18, 2005 4:30 am    Post subject: Reply with quote

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
View user's profile Send private message
yottabit
Guru
Guru


Joined: 11 Nov 2002
Posts: 313
Location: Columbus, Ohio, US

PostPosted: Sun Jun 12, 2005 10:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum