Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GBit LAN and the PCI Bus?
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
NullDevice
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2005
Posts: 84

PostPosted: Fri May 04, 2007 1:05 pm    Post subject: GBit LAN and the PCI Bus? Reply with quote

Hi,

Actually i don't know if this is the correct sub-forum for this... its not really a linux-specific question. So ill just post it into Networking here.

Im about to upgrade my LAN to GBit, and buy 4 Gigabit NICs, with Intel Pro 1000 chipset, for my 4 Gentoo Machines.

Although only one of those has a PCIe Bus on the mainboard. The rest of them has like... the common PCI-bus or whatever it is called.
Might this slow down the GBit connection between them?


The common PCI slot can transfer 133 MByte/s, if i can trust Wikipedia, and if i did not misunderstand anything.
But GBit would mean like 125 MByte/s (in both directions or just one??)
If you consider, that the PCI bus will share this whole bandwith with all devices, i guess it will slow down the Gigabit connection. It would be slower than it could be, right?

PCIe 1x can transfer 250 MByte/s per slot, well i guess this is a theoretical value though.

Do you think i also should upgrade to PCIe hardware, to gain maximum network performence?
Or did i misunderstand something and there is no performance loss?
What are your expieriences with that?

Thx in advance,
Ndev
_________________
MfG,
NullDevice
Back to top
View user's profile Send private message
Galahad
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2003
Posts: 126

PostPosted: Fri May 04, 2007 1:14 pm    Post subject: Reply with quote

Standard PCI seems to limit network performance to about 550MBit.

The rest is your call.
Back to top
View user's profile Send private message
NullDevice
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2005
Posts: 84

PostPosted: Fri May 04, 2007 1:22 pm    Post subject: Reply with quote

Galahad wrote:
Standard PCI seems to limit network performance to about 550MBit.

The rest is your call.


550 ... Theoretical value or real?
_________________
MfG,
NullDevice
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


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

PostPosted: Fri May 04, 2007 6:53 pm    Post subject: Reply with quote

I doubt you'll get near 1Gbit for most applications anyhow.

I never see 5 minute averages on our Gbit network clear more than 130Mbit. Obviously this is a 5 minute average so there may be bursts that get much higher. This is with Nortel 5520 switches and all decent Gbit network cards on either PCI-X or PCI-e bus
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Fri May 04, 2007 7:26 pm    Post subject: Reply with quote

NullDevice,

You need to consider end to end performance to determine where the bottlneck is.
You have the HDD to main memory, about 50MB/sec sustained
main memory to network card, 133MB/sec unidirectional theoretical max, you need packets both ways.
Then the same at the other end of the link.

In short, upgrading to a 1Gb network is a waste of money.
_________________
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
NullDevice
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2005
Posts: 84

PostPosted: Fri May 04, 2007 8:09 pm    Post subject: Reply with quote

NeddySeagoon wrote:
NullDevice,

You need to consider end to end performance to determine where the bottlneck is.
You have the HDD to main memory, about 50MB/sec sustained
main memory to network card, 133MB/sec unidirectional theoretical max

In short, upgrading to a 1Gb network is a waste of money.


I guess that is true for the common PCI. But with PCIe and RAM -> NIC -> Switch -> NIC -> RAM transfers would be faster.
Although i would have many HDD -> NIC -> Switch -> NIC -> RAM transfers.

I guess how much Performance you get out of it, will be a question of how much money you gonna spend. I could (or would have to) buy a PCIe sata controller, cause mine right now is PCI... hmm.

but this is really disappointing:
Code:
HDD to main memory, about 50MB/sec


are you sure about that?
_________________
MfG,
NullDevice
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Fri May 04, 2007 8:30 pm    Post subject: Reply with quote

NullDevice,

Yes. Feel free to run
Code:
hdparm -tT /dev/....
on you own drives.
50MB/sec is typical for a 7200rpm drive at the outside.
Drives are zoned, so the data rate goes down as you approach the spindle.

Raid can speed things up as can high speed drives, 10,000 and 15,000 rpm.
_________________
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
wyv3rn
Apprentice
Apprentice


Joined: 18 Aug 2005
Posts: 154
Location: USA

PostPosted: Sat May 05, 2007 3:52 am    Post subject: Reply with quote

I wouldn't say upgrading to gigabit networking is worthless. You won't get full gigabit speed for the reasons stated above, but it still beats the pants off the typical 10-11MB/s you get with 100mb ethernet.

Oh, and the 33Mhz/32-bit PCI bus 133MB/s is a theoretical and doesn't account for overhead. In the real world about the best you can expect is ~120MB/s data throughput. BTW, spotting a 64-bit PCI bus slot is obvious but some motherboards have 66Mhz/32-bit PCI bus which looks identical to your typical PCI slot but achieves approximately double the throughput. In this case lspci -vv can help to determine if your motherboard is 66Mhz PCI bus capable. Of course the expansion card must also be capable to take advantage.
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