New hardware
Hi!
I want to upgrade hardware on my router (iptables, htb, >1000 users). Now it is
based on usual desktop PC (Intel Prescott P4 3.00 Ghz, 1 Gb RAM). The reason of hardware upgrade is growing up number of users, also we are planning to increase upstream link from 100 Mbit/s to 1 Gbit/s. Iptables rules are now optimized with ipset tool, for tc I'm using hash tables as well. So I didn't know how to increase performance of my router without hardware upgrade...
I’d appreciate if someone gives me advice – what system shows the best performance:
1) Server based router (with dual core Xeon CPU)
2) Desktop based router (with newest Intel Core 2 Duo CPU)
3) what about AMD (I have no personal experience with them)?
As I know, 64-bit architecture in router specific tasks doesn’t give any performance boost? Maybe there are some other nuances that I need to know (kernel hacking, hardware hints)?
I’m going to use standard Intel E1000 NIC for 1 Gbit/s speed line, is it a good choice?
Thank in advance!
Advertisement:
Es iesu uz mobilo festivalu "re:loud"!
14 grupas, 2 skatuves, DJ telts, atrakcijas
1.septembri Mezaparka estrade www.reloud.lv
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Quoted 1 line
Hi!
Hi
Quoted 2 lines
reason of hardware upgrade is growing up number of users, also we are planning to increase upstream link from 100 Mbit/s to 1 Gbit/s.
If you want to move around 1Gbit/s you need PCI-X or PCI-E network interfaces (PCI bus would be a bottleneck).
Quoted 1 line
1) Server based router (with dual core Xeon CPU)
I've been using for some time now router with 2xsingle-core Xeon CPU for servicing 2k+ users. It works well.
Quoted 1 line
2) Desktop based router (with newest Intel Core 2 Duo CPU)
Did't have a pleasure. I'd like to hear some opinions on that one too.
Quoted 1 line
3) what about AMD (I have no personal experience with them)?
I'm trying to use unorthodox hardware setup for fast router:
Dual core AMD64
desktop motherboard with 2xPCIe x16 slots (SLI capable motherboard) two PCIe x4 intel E1000 Server network adapters
Preliminary tests look promising. Network adapters mentioned above should in theory do better then previous PCI-X network adapters.
Quoted 4 lines
As I know, 64-bit architecture in router specific tasks doesn’t give any performance boost? Maybe there are some other nuances that I need to know (kernel hacking, hardware hints)?
I think 64-bit architectures can do much better then 32-bit ones... at least on 64-bit kernel.
Quoted 3 lines
I’m going to use standard Intel E1000 NIC for 1 Gbit/s speed line, is it a good choice?
Best choice as far as I know. Anyone would sugest something else?
Regards,
Signature · 9 lines
Marek Kierdelewicz Kierownik Dzia?u Systemów Sieciowych, KoBa Manager of Network Systems Department, KoBa tel. (85) 7406466; fax. (85) 7406467 e-mail: [email protected] _______________________________________________ LARTC mailing list [email protected] http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
I used a SunFire x2100 which has 2 Ghz Opteron and PCI-Xpress slot into which I plugged in a dual port gigE Intel PCI-Xpress card.
Got a raw forwarding performance of 800Kpps for 64B packets. This beat a CISCO 3845 which gave 600Kpps.
Raw forwarding is one measure though it is not the end-all.
Mohan
Quoted 37 lines · Marek Kierdelewicz
Quoted 1 line
Hi!
Hi
Quoted 2 lines
reason of hardware upgrade is growing up number of users, also we are planning to increase upstream link from 100 Mbit/s to 1 Gbit/s.
If you want to move around 1Gbit/s you need PCI-X or PCI-E network interfaces (PCI bus would be a bottleneck).
Quoted 1 line
1) Server based router (with dual core Xeon CPU)
I've been using for some time now router with 2xsingle-core Xeon CPU for servicing 2k+ users. It works well.
Quoted 1 line
2) Desktop based router (with newest Intel Core 2 Duo CPU)
Did't have a pleasure. I'd like to hear some opinions on that one too.
Quoted 1 line
3) what about AMD (I have no personal experience with them)?
I'm trying to use unorthodox hardware setup for fast router:
Dual core AMD64
desktop motherboard with 2xPCIe x16 slots (SLI capable motherboard) two PCIe x4 intel E1000 Server network adaptersPreliminary tests look promising. Network adapters mentioned above should in theory do better then previous PCI-X network adapters.
Quoted 3 lines
As I know, 64-bit architecture in router specific tasks doesn’t give any performance boost? Maybe there are some other nuances that I need to know (kernel hacking, hardware hints)?
I think 64-bit architectures can do much better then 32-bit ones... at least on 64-bit kernel.
Quoted 6 lines
Quoted 2 lines
I’m going to use standard Intel E1000 NIC for 1 Gbit/s speed line, is it a good choice?
Best choice as far as I know. Anyone would sugest something else?
Regards,
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Hi there,
Quoted 2 lines
I used a SunFire x2100 which has 2 Ghz Opteron and PCI-Xpress slot into which I plugged in a dual port gigE Intel PCI-Xpress card.
What was the software configuration of this host? What kernel have you used for the test (compiled for x86 or amd64; dual-core aware sheduler or not).
Out of the curiosity ... dual port nic generates one interrupt or two per port? I asume the first is more probable. This leads to another question - has interrupt been balanced between cores?
Quoted 2 lines
Got a raw forwarding performance of 800Kpps for 64B packets. This beat a CISCO 3845 which gave 600Kpps.
Thanks for the input :).
Right now my production border router (BGP+some firewall rules+some QoS, vlans @ P4 3GHz Linux 2.6, 2xBroadcom PCI-X, 1xIntel E1000 PCI-X) is 91% saturated (CPU) at peek hours and during the time it forwards 344,8Kpps with avg. packet sized 69 bytes.
I'll try to determine raw forwarding performance when box goes out of production env, so we'll have a clear comparison picture.
regards,
Signature · 9 lines
Marek Kierdelewicz Kierownik Dzia?u Systemów Sieciowych, KoBa Manager of Network Systems Department, KoBa tel. (85) 7406466; fax. (85) 7406467 e-mail: [email protected] _______________________________________________ LARTC mailing list [email protected] http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Quoted 9 lines · Marek Kierdelewicz
Hi there,
Quoted 2 lines
I used a SunFire x2100 which has 2 Ghz Opteron and PCI-Xpress slot into which I plugged in a dual port gigE Intel PCI-Xpress card.
What was the software configuration of this host? What kernel have you used for the test (compiled for x86 or amd64; dual-core aware sheduler or not).
stock x86 32 bit kernel 2.4.20. No dual core optimisations.
Quoted 3 lines
Out of the curiosity ... dual port nic generates one interrupt or two per port? I asume the first is more probable. This leads to another question - has interrupt been balanced between cores?
I'm unaware of how it was configured.
Quoted 11 lines
Quoted 3 lines
Got a raw forwarding performance of 800Kpps for 64B packets. This beat a CISCO 3845 which gave 600Kpps.
Thanks for the input :).
Right now my production border router (BGP+some firewall rules+some QoS, vlans @ P4 3GHz Linux 2.6, 2xBroadcom PCI-X, 1xIntel E1000 PCI-X) is 91% saturated (CPU) at peek hours and during the time it forwards 344,8Kpps with avg. packet sized 69 bytes.
The Opteron was 100% utilised at 800Kpps for 64B pkts. I could do bi-directional line rate on gigE for 512/1500B pkts (approx 500/164Kpps)
with 65%/25% cpu utilisation
Quoted 4 lines
I'll try to determine raw forwarding performance when box goes out of production env, so we'll have a clear comparison picture.
regards,
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Quoted 23 lines · Marek Kierdelewicz
Hi there,
Quoted 2 lines
I used a SunFire x2100 which has 2 Ghz Opteron and PCI-Xpress slot into which I plugged in a dual port gigE Intel PCI-Xpress card.
What was the software configuration of this host? What kernel have you used for the test (compiled for x86 or amd64; dual-core aware sheduler or not).
Out of the curiosity ... dual port nic generates one interrupt or two per port? I asume the first is more probable. This leads to another question - has interrupt been balanced between cores?
Quoted 2 lines
Got a raw forwarding performance of 800Kpps for 64B packets. This beat a CISCO 3845 which gave 600Kpps.
Thanks for the input :).
Right now my production border router (BGP+some firewall rules+some QoS, vlans @ P4 3GHz Linux 2.6, 2xBroadcom PCI-X, 1xIntel E1000 PCI-X) is 91% saturated (CPU) at peek hours and during the time it forwards 344,8Kpps with avg. packet sized 69 bytes.
Quoted 4 lines
I'll try to determine raw forwarding performance when box goes out of production env, so we'll have a clear comparison picture.
regards,
The beauty was the price. $725 for the SUN hardware and $200 for the NIC card. The CISCO 3845 would cost 9K street minimum.
Mohan
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc