Skip to contentSkip to conversation

Linux router performance

LARTC Fermín Galán Márquez 10 participants 16 messages May 31, 2006 – Jun 16, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

I wonder about the performance of a Linux box used as router (I guest I'm not the first :). Althought I know it mainly depends on the hardware, I'm trying to find some references on the topic or comparations with other routing solutions (FreeBSD box used as router, Cisco, etc). For example,
http://facweb.cti.depaul.edu/jyu/Publications/Yu-Linux-TSM2004.pdf
(althought is related with Linux-briding more than with Linux-routing) shows in Figure 14 that with an AMD Duron 1.3GHz 512M RAM a throughput of 90 Mbps can be achieved.

Anybody knows any other similar analysis, please?

Best regards,

--------------------
Fermín Galán Márquez
CTTC - Centre Tecnològic de Telecomunicacions de Catalunya Parc Mediterrani de la Tecnologia, Av. del Canal Olímpic s/n, 08860 Castelldefels, Spain
Room 1.02
Tel : +34 93 645 29 12
Fax : +34 93 645 29 01
Email address: [email protected]

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#1 lore raw

Hi,

Maybe:
Khan, Sohel; Waheed, Abdul (2003): High Performance Routing on PCshttp://www.ccse.kfupm.edu.sa/~sohel/networking/references/Routing.pdf

A rule of thumb:
- with current COTS hardware and (standard) PCI Bus, you can reach the maximum of the PCI bus bandwidth. That's 1 GB/s, e.h. two NICs with 500 Meg/s each ( one in and one out )
- with PCI-X and in the future PCI-express you'll for sure be able to reach more performance. I didnt find a sponsor for a test-lab yet :)
- in DoS secnarios it may get worse :/ I heavily depends on driver type (polling and NAPI preferred). The problem with the performace is _always_ the number of interrupts, nothing else is a bottleneck (well, we didn't talk about thousands of iptables rules yet, but you ask for a 'maximum').
- The question you have to ask in high-performance scenarios is not "MBit/s" but MPPS (megapackets per seconds). FreeBSD and Linux broke the 1 MPPS barrier some time ago (on dual xeons).

rgds,
Andreas

Quoted 25 lines · Fermín Galán Márquez

Hi,

I wonder about the performance of a Linux box used as router (I guest I'm not the first :). Althought I know it mainly depends on the hardware, I'm trying to find some references on the topic or comparations with other routing solutions (FreeBSD box used as router, Cisco, etc). For example,
http://facweb.cti.depaul.edu/jyu/Publications/Yu-Linux-TSM2004.pdf
(althought is related with Linux-briding more than with Linux-routing) shows in Figure 14 that with an AMD Duron 1.3GHz 512M RAM a throughput of 90 Mbps can be achieved.

Anybody knows any other similar analysis, please?

Best regards,

--------------------
Fermín Galán Márquez
CTTC - Centre Tecnològic de Telecomunicacions de Catalunya Parc Mediterrani de la Tecnologia, Av. del Canal Olímpic s/n, 08860 Castelldefels, Spain
Room 1.02
Tel : +34 93 645 29 12
Fax : +34 93 645 29 01
Email address: [email protected]

Quoted 5 lines

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#2 lore raw
In reply to Fermín Galán Márquez
Quoted 10 lines · Fermín Galán Márquez

Hi,

I wonder about the performance of a Linux box used as router (I guest I'm not the first :). Althought I know it mainly depends on the hardware, I'm trying to find some references on the topic or comparations with other routing solutions (FreeBSD box used as router, Cisco, etc). For example,
http://facweb.cti.depaul.edu/jyu/Publications/Yu-Linux-TSM2004.pdf
(althought is related with Linux-briding more than with Linux-routing) shows in Figure 14 that with an AMD Duron 1.3GHz 512M RAM a throughput of 90 Mbps can be achieved.

On an AMD Athlon64 3200+ (2 GHz) I was able to saturate 2 PCI-Express gigabit cards (but that was with 1500 byte packets). Never tried more although the box has 6 interfaces capable of gigabit, 4 of them attached via PCI-Express.

Regards,
Carl-Daniel

Signature · 5 lines
http://www.hailfinger.org/
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#3 lore raw
In reply to Fermín Galán Márquez
Quoted 9 lines
Quoted 8 lines

I wonder about the performance of a Linux box used as router (I guest I'm not the first :). Althought I know it mainly depends on the hardware, I'm trying to find some references on the topic or comparations with other routing solutions (FreeBSD box used as router, Cisco, etc). For example,
http://facweb.cti.depaul.edu/jyu/Publications/Yu-Linux-TSM2004.pdf
(althought is related with Linux-briding more than with Linux-routing) shows in Figure 14 that with an AMD Duron 1.3GHz 512M RAM a throughput of 90 Mbps can be achieved.

Quoted 4 lines

On an AMD Athlon64 3200+ (2 GHz) I was able to saturate 2 PCI-Express gigabit cards (but that was with 1500 byte packets). Never tried more although the box has 6 interfaces capable of gigabit, 4 of them attached via PCI-Express.

But that's _only_ 83333 packets/s isn't it.

Signature · 7 lines
damjan | дамјан
This is my jabber ID -->         [email protected] 
 -- not my mail address, it's a Jabber ID --^ :)
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#4 lore raw
In reply to Fermín Galán Márquez
Quoted 8 lines · Damjan
Quoted 8 lines
Quoted 8 lines

I wonder about the performance of a Linux box used as router (I guest I'm not the first :). Althought I know it mainly depends on the hardware, I'm trying to find some references on the topic or comparations with other routing solutions (FreeBSD box used as router, Cisco, etc). For example,
http://facweb.cti.depaul.edu/jyu/Publications/Yu-Linux-TSM2004.pdf
(althought is related with Linux-briding more than with Linux-routing) shows in Figure 14 that with an AMD Duron 1.3GHz 512M RAM a throughput of 90 Mbps can be achieved.

Quoted 6 lines
Quoted 4 lines

On an AMD Athlon64 3200+ (2 GHz) I was able to saturate 2 PCI-Express gigabit cards (but that was with 1500 byte packets). Never tried more although the box has 6 interfaces capable of gigabit, 4 of them attached via PCI-Express.

But that's _only_ 83333 packets/s isn't it.

Hm. How do you arrive at that result? I get twice the numbers. nic a: 1 gbit in -> nic b: 1 gbit out
nic b: 1 gbit in -> nic a: 1 gbit out
total 2 gbit
2 gbit /(1500*8 bit/frame) ~ 160k packets/s

Please note that I did not test with smaller frame sizes, so 1Mp/s may be possible (I'll test that if I have some spare time).

Regards,
Carl-Daniel

Signature · 5 lines
http://www.hailfinger.org/
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#5 lore raw
In reply to Fermín Galán Márquez
Quoted 16 lines · Carl-Daniel Hailfinger
Quoted 8 lines · Damjan
Quoted 8 lines
Quoted 8 lines

I wonder about the performance of a Linux box used as router (I guest I'm not the first :). Althought I know it mainly depends on the hardware, I'm trying to find some references on the topic or comparations with other routing solutions (FreeBSD box used as router, Cisco, etc). For example,
http://facweb.cti.depaul.edu/jyu/Publications/Yu-Linux-TSM2004.pdf
(althought is related with Linux-briding more than with Linux-routing) shows in Figure 14 that with an AMD Duron 1.3GHz 512M RAM a throughput of 90 Mbps can be achieved.

Quoted 6 lines
Quoted 4 lines

On an AMD Athlon64 3200+ (2 GHz) I was able to saturate 2 PCI-Express gigabit cards (but that was with 1500 byte packets). Never tried more although the box has 6 interfaces capable of gigabit, 4 of them attached via PCI-Express.

But that's _only_ 83333 packets/s isn't it.

Quoted 8 lines

Hm. How do you arrive at that result? I get twice the numbers. nic a: 1 gbit in -> nic b: 1 gbit out
nic b: 1 gbit in -> nic a: 1 gbit out
total 2 gbit
2 gbit /(1500*8 bit/frame) ~ 160k packets/s

Please note that I did not test with smaller frame sizes, so 1Mp/s may be possible (I'll test that if I have some spare time).

what if you test inbound and outbound at the same time - the cards should be capable of full duplex ?

Quoted 11 lines

Regards,
Carl-Daniel

Signature · 5 lines
http://www.hailfinger.org/
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#6 lore raw
In reply to Fermín Galán Márquez
Quoted 21 lines · Alexander Samad
Quoted 20 lines · Carl-Daniel Hailfinger
Quoted 8 lines · Damjan
Quoted 8 lines
Quoted 8 lines

I wonder about the performance of a Linux box used as router (I guest I'm not the first :). Althought I know it mainly depends on the hardware, I'm trying to find some references on the topic or comparations with other routing solutions (FreeBSD box used as router, Cisco, etc). For example,
http://facweb.cti.depaul.edu/jyu/Publications/Yu-Linux-TSM2004.pdf
(althought is related with Linux-briding more than with Linux-routing) shows in Figure 14 that with an AMD Duron 1.3GHz 512M RAM a throughput of 90 Mbps can be achieved.

Quoted 5 lines
Quoted 4 lines

On an AMD Athlon64 3200+ (2 GHz) I was able to saturate 2 PCI-Express gigabit cards (but that was with 1500 byte packets). Never tried more although the box has 6 interfaces capable of gigabit, 4 of them attached via PCI-Express.

But that's _only_ 83333 packets/s isn't it.

Hm. How do you arrive at that result? I get twice the numbers. nic a: 1 gbit in -> nic b: 1 gbit out
nic b: 1 gbit in -> nic a: 1 gbit out
total 2 gbit
2 gbit /(1500*8 bit/frame) ~ 160k packets/s

Quoted 5 lines
Quoted 2 lines

Please note that I did not test with smaller frame sizes, so 1Mp/s may be possible (I'll test that if I have some spare time).

what if you test inbound and outbound at the same time - the cards should be capable of full duplex ?

I tested 1 gbit in and 1 gbit out per nic at the same time. That's how I arrived at my results.

Regards,
Carl-Daniel

Signature · 5 lines
http://www.hailfinger.org/
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#7 lore raw
In reply to Fermín Galán Márquez
Quoted 22 lines · Carl-Daniel Hailfinger
Quoted 21 lines · Alexander Samad
Quoted 20 lines · Carl-Daniel Hailfinger
Quoted 8 lines · Damjan
Quoted 8 lines
Quoted 8 lines

I wonder about the performance of a Linux box used as router (I guest I'm not the first :). Althought I know it mainly depends on the hardware, I'm trying to find some references on the topic or comparations with other routing solutions (FreeBSD box used as router, Cisco, etc). For example,
http://facweb.cti.depaul.edu/jyu/Publications/Yu-Linux-TSM2004.pdf
(althought is related with Linux-briding more than with Linux-routing) shows in Figure 14 that with an AMD Duron 1.3GHz 512M RAM a throughput of 90 Mbps can be achieved.

Quoted 5 lines
Quoted 4 lines

On an AMD Athlon64 3200+ (2 GHz) I was able to saturate 2 PCI-Express gigabit cards (but that was with 1500 byte packets). Never tried more although the box has 6 interfaces capable of gigabit, 4 of them attached via PCI-Express.

But that's _only_ 83333 packets/s isn't it.

Hm. How do you arrive at that result? I get twice the numbers. nic a: 1 gbit in -> nic b: 1 gbit out
nic b: 1 gbit in -> nic a: 1 gbit out
total 2 gbit
2 gbit /(1500*8 bit/frame) ~ 160k packets/s

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Please note that I did not test with smaller frame sizes, so 1Mp/s may be possible (I'll test that if I have some spare time).

what if you test inbound and outbound at the same time - the cards should be capable of full duplex ?

I tested 1 gbit in and 1 gbit out per nic at the same time. That's how I arrived at my results.

sorry I might be being very dense on this, but 2 nics 1G in and out shouldn't that be
4gbit / (1500*8 bit/frame) ~ 320k packets/s

My presumption is that the nic can send and recieve at the same time

Quoted 10 lines

Regards,
Carl-Daniel

Signature · 5 lines
http://www.hailfinger.org/
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#8 lore raw
In reply to Fermín Galán Márquez
Quoted 25 lines · Alexander Samad
Quoted 24 lines · Carl-Daniel Hailfinger
Quoted 23 lines · Alexander Samad
Quoted 22 lines · Carl-Daniel Hailfinger
Quoted 8 lines · Damjan
Quoted 8 lines
Quoted 8 lines

I wonder about the performance of a Linux box used as router (I guest I'm not the first :). Althought I know it mainly depends on the hardware, I'm trying to find some references on the topic or comparations with other routing solutions (FreeBSD box used as router, Cisco, etc). For example,
http://facweb.cti.depaul.edu/jyu/Publications/Yu-Linux-TSM2004.pdf
(althought is related with Linux-briding more than with Linux-routing) shows in Figure 14 that with an AMD Duron 1.3GHz 512M RAM a throughput of 90 Mbps can be achieved.

Quoted 5 lines
Quoted 4 lines

On an AMD Athlon64 3200+ (2 GHz) I was able to saturate 2 PCI-Express gigabit cards (but that was with 1500 byte packets). Never tried more although the box has 6 interfaces capable of gigabit, 4 of them attached via PCI-Express.

But that's _only_ 83333 packets/s isn't it.

Hm. How do you arrive at that result? I get twice the numbers. nic a: 1 gbit in -> nic b: 1 gbit out
nic b: 1 gbit in -> nic a: 1 gbit out
total 2 gbit
2 gbit /(1500*8 bit/frame) ~ 160k packets/s

Please note that I did not test with smaller frame sizes, so 1Mp/s may be possible (I'll test that if I have some spare time).

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

what if you test inbound and outbound at the same time - the cards should be capable of full duplex ?

I tested 1 gbit in and 1 gbit out per nic at the same time. That's how I arrived at my results.

sorry I might be being very dense on this, but 2 nics 1G in and out shouldn't that be
4gbit / (1500*8 bit/frame) ~ 320k packets/s

No, because you can count each packet passing through the router only once. If the machine works as a router, each entering packet also has to leave, so if the router has 2 interfaces A+B, you can have 1 Gbit from A to B and 1 Gbit from B to A.

Your calculation would be correct if the machine is a server and generates and consumes all traffic locally.

Quoted 1 line

My presumption is that the nic can send and recieve at the same time

Yes.

Regards,
Carl-Daniel

Signature · 5 lines
http://www.hailfinger.org/
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#9 lore raw
In reply to Fermín Galán Márquez

x>On an AMD Athlon64 3200+ (2 GHz) I was able to saturate 2 PCI-Express gigabit cards (but that was with 1500 byte packets). Never tried more although the box has 6 interfaces capable of gigabit, >4 of them attached via PCI-Express.

What NIC's are you using? Are they multiport or do you have several pci-express single port cards?

Andy
Registered Office: J.O. Sims Ltd, Pudding Lane, Pinchbeck, Spalding, Lincs. PE11 3TJ
Company reg No: 2084187 Vat reg No: GB 437 4621 47
Tel: +44 (0) 1775 842100 Fax: +44 (0) 1775 842101 Web: www.josims.com
Email:[email protected]
The information contained in this e-mail is confidential and is intended for the addressee only. The contents of this e-mail must not be disclosed or copied without the sender's consent. If you are not the intended recipient of the message, please notify the sender immediately, and delete the message. The statements and opinions expressed in this message are those of the author and do not necessarily reflect those of the company. No commitment may be inferred from the contents unless explicitly stated. The company does not take any responsibility for the personal views of the author. This message has been scanned for viruses before sending, but the company does not accept any responsibility for infection and recommends that you scan any attachments.JOSEDV001TAG
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#10 lore raw
In reply to Fermín Galán Márquez
Quoted 6 lines · Andreas John

Hi,

Maybe:
Khan, Sohel; Waheed, Abdul (2003): High Performance Routing on PCshttp://www.ccse.kfupm.edu.sa/~sohel/networking/references/Routing.pdf

Quoted 8 lines

A rule of thumb:
- with current COTS hardware and (standard) PCI Bus, you can reach the maximum of the PCI bus bandwidth. That's 1 GB/s, e.h. two NICs with 500 Meg/s each ( one in and one out )
- with PCI-X and in the future PCI-express you'll for sure be able to reach more performance. I didnt find a sponsor for a test-lab yet :)
- in DoS secnarios it may get worse :/ I heavily depends on driver type (polling and NAPI preferred).

ofcouse prefered.
Does it exsist a list of driver/nic combos that are know to support NAPI on linux on stock kernels ?

Signature · 6 lines
Ronny Aasen <[email protected]>

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#11 lore raw
In reply to Fermín Galán Márquez
Quoted 7 lines · Andrew Lyon
Quoted 4 lines

On an AMD Athlon64 3200+ (2 GHz) I was able to saturate 2 PCI-Express gigabit cards (but that was with 1500 byte packets). Never tried more although the box has 6 interfaces capable of gigabit, >4 of them attached via PCI-Express.

What NIC's are you using? Are they multiport or do you have several pci-express single port cards?

Single-Port SK-9E21D with sky2 driver version 0.13a. I'm going to retry with SK-9E82 dual port cards soon.

Regards,
Carl-Daniel

Signature · 5 lines
http://www.hailfinger.org/
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#12 lore raw
In reply to Fermín Galán Márquez

Hi

I'm sure that Robert can provide us with some interesting numbers.

I have just tested routing performance on a AMD opteron 270 (dual core), here I can route 400 kpps (tg3 netcards on PCI-X). I use the kernel module "pktgen" to generate the packets (64 bytes in size).

Cheers,
Jesper Brouer

--
-------------------------------------------------------------------
MSc. Master of Computer Science
Dept. of Computer Science, University of Copenhagen Author of http://www.adsl-optimizer.dk
-------------------------------------------------------------------

Quoted 21 lines · Andreas John

Hi,

Maybe:
Khan, Sohel; Waheed, Abdul (2003): High Performance Routing on PCshttp://www.ccse.kfupm.edu.sa/~sohel/networking/references/Routing.pdf

A rule of thumb:
- with current COTS hardware and (standard) PCI Bus, you can reach the maximum of the PCI bus bandwidth. That's 1 GB/s, e.h. two NICs with 500 Meg/s each ( one in and one out )
- with PCI-X and in the future PCI-express you'll for sure be able to reach more performance. I didnt find a sponsor for a test-lab yet :)
- in DoS secnarios it may get worse :/ I heavily depends on driver type (polling and NAPI preferred). The problem with the performace is _always_ the number of interrupts, nothing else is a bottleneck (well, we didn't talk about thousands of iptables rules yet, but you ask for a 'maximum').
- The question you have to ask in high-performance scenarios is not "MBit/s" but MPPS (megapackets per seconds). FreeBSD and Linux broke the 1 MPPS barrier some time ago (on dual xeons).

Quoted 28 lines

rgds,
Andreas

Quoted 24 lines · Fermín Galán Márquez

Hi,

I wonder about the performance of a Linux box used as router (I guest I'm not the first :). Althought I know it mainly depends on the hardware, I'm trying to find some references on the topic or comparations with other routing solutions (FreeBSD box used as router, Cisco, etc). For example,
http://facweb.cti.depaul.edu/jyu/Publications/Yu-Linux-TSM2004.pdf
(althought is related with Linux-briding more than with Linux-routing) shows in Figure 14 that with an AMD Duron 1.3GHz 512M RAM a throughput of 90 Mbps can be achieved.

Anybody knows any other similar analysis, please?

Best regards,

--------------------
Fermín Galán Márquez
CTTC - Centre Tecnològic de Telecomunicacions de Catalunya Parc Mediterrani de la Tecnologia, Av. del Canal Olímpic s/n, 08860 Castelldefels, Spain
Room 1.02
Tel : +34 93 645 29 12
Fax : +34 93 645 29 01
Email address: [email protected]

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#13 lore raw
In reply to Fermín Galán Márquez
Quoted 7 lines · Damjan
Quoted 6 lines
Quoted 4 lines

On an AMD Athlon64 3200+ (2 GHz) I was able to saturate 2 PCI-Express gigabit cards (but that was with 1500 byte packets). Never tried more although the box has 6 interfaces capable of gigabit, 4 of them attached via PCI-Express.

But that's _only_ 83333 packets/s isn't it.

Quoted 8 lines

Hm. How do you arrive at that result? I get twice the numbers. nic a: 1 gbit in -> nic b: 1 gbit out
nic b: 1 gbit in -> nic a: 1 gbit out
total 2 gbit
2 gbit /(1500*8 bit/frame) ~ 160k packets/s

Please note that I did not test with smaller frame sizes, so 1Mp/s may be possible (I'll test that if I have some spare time).

I've done some benchmarks on a Sunfire x2100 with 2 port PCI Express ethernet cards. It switches 800KPPS for 64B packets.

Regards
Mohan

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#14 lore raw
In reply to Fermín Galán Márquez

Fermín Galán Márquez skrev:

Quoted 25 lines

Hi,

I wonder about the performance of a Linux box used as router (I guest I'm not the first :). Althought I know it mainly depends on the hardware, I'm trying to find some references on the topic or comparations with other routing solutions (FreeBSD box used as router, Cisco, etc). For example,
http://facweb.cti.depaul.edu/jyu/Publications/Yu-Linux-TSM2004.pdf
(althought is related with Linux-briding more than with Linux-routing) shows in Figure 14 that with an AMD Duron 1.3GHz 512M RAM a throughput of 90 Mbps can be achieved.

Anybody knows any other similar analysis, please?

Best regards,

--------------------
Fermín Galán Márquez
CTTC - Centre Tecnològic de Telecomunicacions de Catalunya Parc Mediterrani de la Tecnologia, Av. del Canal Olímpic s/n, 08860 Castelldefels, Spain
Room 1.02
Tel : +34 93 645 29 12
Fax : +34 93 645 29 01
Email address: [email protected]

Quoted 5 lines

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

This was seen on the mailing list a couple of years ago, doesnt say much but it shows what could be done.

Quoted 6 lines · On Mon, 02 Dec 2002 22:30:10 +0100 Anton Tinchev <[email protected]> wrote:
Quoted 5 lines

Hi,
first i wonna thank you for the great work.
I have few slack boxes with several 3com cards that acts as routers. Some of them has 50+ vlans, 100 000+ routing entries, full BGP (zebra) with 10+ peers and routes 50-70 mb/s traffic. Everithing is rock solid, few months uptimes.

Sounds pretty impressive, really. I admire such setups.

Quoted 4 lines
Quoted 3 lines

I wona to upgrade some of my cards and need advice what to use. On 100+mb/s interrups killing my boxes - 20 000+/s (yes, coalescing, i know:)) What to use? tigon2 or tigon3 for gigabit? (3c985 or 3c996)

None of them! Or at least not tigon3! I've tried to use one (3c996-T), and I experienced strange system lockups. The board is a dual Tyan Tiger MP with couple of Athlon MP 1600+. It was just hanging from time to time with completely no output of any kind. Just rock solid lockup. :/

Anyway, I changed to a good old 3c905C and now I don't have any problems. Well, I'm serving at half of your rate, but anyway. So, I would suggest using HP equipment. At least I've heard that it works quote well.

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#15 lore raw

Re: [LARTC] Linux router performance (fwd)

In reply to Fermín Galán Márquez

I think that Robert Olssons post never made it through the filters...

---------- Forwarded message ----------
Date: Fri, 2 Jun 2006 12:32:53 +0200
From: Robert Olsson <[email protected]>
To: Jesper Dangaard Brouer <[email protected]>
Cc: Andreas John <[email protected]>,
Robert Olsson <[email protected]>, [email protected]
Subject: Re: [LARTC] Linux router performance

Quoted 8 lines · Jesper Dangaard Brouer

Hi

I'm sure that Robert can provide us with some interesting numbers.

I have just tested routing performance on a AMD opteron 270 (dual core), here I can route 400 kpps (tg3 netcards on PCI-X). I use the kernel module "pktgen" to generate the packets (64 bytes in size).

400 kpps is decent but it all depends on your setup what you're testing. Single flow?

Number of packets in environment with hi-number of flows. ( Forces lookup of dst cache, route lookup and garbage collection) is the most challenging Also how to handle filters eventually stateful information.

For single flow tests most things end up in L2-cache and we most limited to latency. Bus latency, Memory latency etc.

Large packets bus and memory bandwidth.

We've seen 500 kpps in some of our production routers for BGP and about 500 filters. Dual Opteron 2.6 GHz. But you need to have a "setup" routing so it can make best use of your HW.

Cheers.
--ro

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc