* Linux Routing Performance Update
@ 2005-01-26 13:27 Robert Olsson
2005-01-28 13:56 ` Glen Turner
0 siblings, 1 reply; 4+ messages in thread
From: Robert Olsson @ 2005-01-26 13:27 UTC (permalink / raw)
To: netdev; +Cc: hadi, davem, Robert.Olsson
Hello!
Finally time for some more testing with a somewhat upgraded equipment.
Linux: Vanilla 2.6.10 plus e1000 patch brewed from input from Scott feldman,
Lennert Buytenhek and others.
ftp://robur.slu.se/pub/Linux/net-development/tmp/e1000-new-tx-4.pat
System: Dual Opteron 250 (2.4 GHz) all boards dual e1000 w 82546GB.
-------------------------------------------------------------------------------
Experiment 1: Single flow on UP
Input rate 1.488 Mpps
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flags
eth0 1500 0 7132981 4056792 4056792 2867019 5 0 0 0 BRU
eth1 1500 0 1 0 0 0 7131234 0 0 0 BRU
eth2 1500 0 0 0 0 0 5 0 0 0 BRU
eth3 1500 0 0 0 0 0 5 0 0 0 BRU
CPU0
24: 108 IO-APIC-level eth1
27: 107 IO-APIC-level eth0
28: 109 IO-APIC-level eth2
29: 109 IO-APIC-level eth3
006cd736 00000000 00005ce0 00000000 00000000 00000000 00000000 00000000 00000000
Full DoS of 10 Mpackets now at 1.488 Mpps. We route 71.3%.
Routing t-put 1061 kpps. So we passed 1 Mpps...
Note there are no RX interrupts (NAPI) Also as the e1000 cleans the skb's at
hard_xmit so we see no TX interrupts either.
-------------------------------------------------------------------------------
Experiment 2: SMP/(NUMA)
Even more exciting. Same as above but input 2 * 1.430 Mpps (max from the
pktgen box it's a DUAL XEON 2.67 GHz)
Note!
Routing is setup so pkts on eth0->eth1 on CPU0. and irq's for eth0/eth1 goes
to CPU0. The other flow on eth2/eth3 on CPU1 is handled similar.
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flags
eth0 1500 0 7231782 4282705 4282705 2768218 5 0 0 0 BRU
eth1 1500 0 4 0 0 0 7230466 0 0 0 BRU
eth2 1500 0 7671898 4723762 4723762 2328102 5 0 0 0 BRU
eth3 1500 0 1 0 0 0 7670181 0 0 0 BRU
CPU0 CPU1
24: 143 1 IO-APIC-level eth1
27: 138 1 IO-APIC-level eth0
28: 19 121 IO-APIC-level eth2
29: 19 121 IO-APIC-level eth3
006e592a 00000000 00005e29 00000000 00000000 00000000 00000000 00000000 00000000
0075105b 00000000 000063e4 00000000 00000000 00000000 00000000 00000000 00000000
Few interrupts and balanced as it was setup. /proc/net/softnet_stat show both
CPU were involved forwarding.
An aggregated routing performance of 2.1 Mpps. Enjoy.
--ro
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Linux Routing Performance Update
2005-01-26 13:27 Linux Routing Performance Update Robert Olsson
@ 2005-01-28 13:56 ` Glen Turner
2005-01-29 18:50 ` Florian Weimer
0 siblings, 1 reply; 4+ messages in thread
From: Glen Turner @ 2005-01-28 13:56 UTC (permalink / raw)
To: Robert Olsson; +Cc: netdev
> Finally time for some more testing with a somewhat upgraded equipment.
Thanks very much for the interesting results.
I'm sure other network engineers have experienced software routers where
the pps has dramatically slowed down upon reasonable ACLs and queuing
(Cisco 7500, etc), so some results with netfilter and tc running would
be appreciated, as would tests for any packet re-ordering in output flows.
[ For a reasonable ACL, Team Crymu's list of aggregated Bogon addresses
is a representative choice. For a basic QoS, consider three queues:
control, VoIP, data. With an approximation to fair queuing + RED on
the data queue. ]
Best wishes,
Glen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Linux Routing Performance Update
2005-01-28 13:56 ` Glen Turner
@ 2005-01-29 18:50 ` Florian Weimer
0 siblings, 0 replies; 4+ messages in thread
From: Florian Weimer @ 2005-01-29 18:50 UTC (permalink / raw)
To: Glen Turner; +Cc: Robert Olsson, netdev
* Glen Turner:
>> Finally time for some more testing with a somewhat upgraded equipment.
>
> Thanks very much for the interesting results.
Indeed.
> I'm sure other network engineers have experienced software routers where
> the pps has dramatically slowed down upon reasonable ACLs and queuing
> (Cisco 7500, etc),
Cisco 7500 with proper configuration would do quite well in this test,
too, even with ACLs. Only if you have more than a few thousand new
flows per second, things start to look rather bleak. (Forwarding
decisions are performed once per flow on this platform.)
> so some results with netfilter and tc running would be appreciated,
> as would tests for any packet re-ordering in output flows.
I'd also like to see tests with random source/destination
combinations, just to keep things in perspective. 8-)
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Linux Routing Performance Update
@ 2005-01-29 22:21 Guthrie, Jeremy
0 siblings, 0 replies; 4+ messages in thread
From: Guthrie, Jeremy @ 2005-01-29 22:21 UTC (permalink / raw)
To: Florian Weimer, Glen Turner; +Cc: Robert Olsson, netdev
-----Original Message-----
From: netdev-bounce@oss.sgi.com on behalf of Florian Weimer
Sent: Sat 1/29/2005 12:50 PM
To: Glen Turner
Cc: Robert Olsson; netdev@oss.sgi.com
Subject: Re: Linux Routing Performance Update
* Glen Turner:
>> Finally time for some more testing with a somewhat upgraded equipment.
>
> Thanks very much for the interesting results.
Indeed.
> I'm sure other network engineers have experienced software routers where
> the pps has dramatically slowed down upon reasonable ACLs and queuing
> (Cisco 7500, etc),
Cisco 7500 with proper configuration would do quite well in this test,
too, even with ACLs. Only if you have more than a few thousand new
flows per second, things start to look rather bleak. (Forwarding
decisions are performed once per flow on this platform.)
-----------
Depends if you are using standard route caching or Cisco Express Forwarding. The 7500s should support dCEF if memory strikes me correctly. In any case, when CEF is available it should be used. Comparing any Cisco router w/o CEF or MLS wouldn't exactly be a fair comparison. MLS will care about new flows but CEF will not.
> so some results with netfilter and tc running would be appreciated,
> as would tests for any packet re-ordering in output flows.
I'd also like to see tests with random source/destination
combinations, just to keep things in perspective. 8-)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-01-29 22:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-26 13:27 Linux Routing Performance Update Robert Olsson
2005-01-28 13:56 ` Glen Turner
2005-01-29 18:50 ` Florian Weimer
-- strict thread matches above, loose matches on Subject: below --
2005-01-29 22:21 Guthrie, Jeremy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).