From: Karsten Desler <kdesler@soohrt.org>
To: jamal <hadi@cyberus.ca>, Robert Olsson <Robert.Olsson@data.slu.se>
Cc: netdev@oss.sgi.com, linux-kernel@vger.kernel.org,
"David S. Miller" <davem@davemloft.net>,
P@draigBrady.com
Subject: Re: _High_ CPU usage while routing (mostly) small UDP packets
Date: Wed, 8 Dec 2004 14:26:57 +0100 [thread overview]
Message-ID: <20041208132657.GB5036@soohrt.org> (raw)
In-Reply-To: <1102480318.1050.16.camel@jzny.localdomain>
* jamal wrote:
> On Tue, 2004-12-07 at 16:10, Karsten Desler wrote:
> > I totally forgot to mention: There are approximately 100k concurrent
> > flows.
>
> ;-> Aha. That would make a huge difference. I know of noone
> who has actually done this level of testing. I have tried upto about 50K
> flows myself in early 2.6.x and was eventually compute bound.
> Really try compiling out totaly iptables/netfilter - it will make a
> difference.
Unfortunately I need netfilter (for now, I haven't had time to look into
replacing the rules with tc yet).
> You may also want to try something like LC trie algorithm that Robert
> and co are playing with to see if it makes a difference with this many
> flows.
On a scale of one to ten, one being "will crash on the first packet",
five being "will allow moderate load, but is probably going to crash
under high load" and ten being "rock stable" how would the patch be rated?
The announcement doesn't look too promising:
| Locking.
| Not yet done.
Also when looking at the profiles, fib_* isn't showing up at (not even
near) the top. Testworthy none the less?
ip route|wc -l:
40
profile:
4 fib_validate_source 0.0064
39 fib_semantic_match 0.1875
[...]
76 ipt_route_hook 1.5833
219 __kmalloc 1.7109
985 e1000_clean_tx_irq 1.8107
157 kmem_cache_alloc 1.9625
405 skb_release_data 2.5312
633 eth_type_trans 2.6375
394 handle_IRQ_event 3.5179
1017 __kfree_skb 3.9727
989 alloc_skb 4.1208
1645 ip_route_input 4.6733
5128 ipt_do_table 6.1635
1678 e1000_intr 6.9917
289 _read_unlock_bh 18.0625
616 _read_lock_bh 19.2500
418 _spin_lock 26.1250
2076 e1000_irq_enable 43.2500
881 _spin_unlock_irqrestore 55.0625
96895 default_idle 1513.9844
Cheers,
Karsten
prev parent reply other threads:[~2004-12-08 13:26 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-06 20:53 _High_ CPU usage while routing (mostly) small UDP packets Karsten Desler
2004-12-06 21:48 ` David S. Miller
2004-12-06 22:41 ` Karsten Desler
2004-12-06 23:56 ` Con Kolivas
2004-12-07 0:18 ` Karsten Desler
[not found] ` <E1CbSf8-00047p-00@calista.eckenfels.6bone.ka-ip.net>
2004-12-07 0:20 ` Karsten Desler
2004-12-07 2:46 ` jamal
2004-12-07 2:54 ` Karsten Desler
2004-12-07 3:18 ` jamal
2004-12-07 3:24 ` Karsten Desler
2004-12-07 3:30 ` jamal
2004-12-07 4:02 ` Karsten Desler
2004-12-07 10:21 ` Karsten Desler
2004-12-07 12:34 ` jamal
2004-12-07 13:14 ` Karsten Desler
2004-12-07 10:47 ` P
2004-12-07 11:21 ` Karsten Desler
2004-12-07 12:38 ` Robert Olsson
2004-12-07 12:50 ` Karsten Desler
2004-12-07 13:04 ` jamal
2004-12-07 13:11 ` Karsten Desler
2004-12-07 13:39 ` P
2004-12-07 18:38 ` Karsten Desler
2004-12-08 5:39 ` Willy Tarreau
2004-12-08 13:08 ` Karsten Desler
2004-12-08 13:27 ` jamal
2004-12-07 21:10 ` Karsten Desler
2004-12-07 22:40 ` Robert Olsson
2004-12-08 22:06 ` Karsten Desler
2004-12-08 4:31 ` jamal
2004-12-08 13:26 ` Karsten Desler [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041208132657.GB5036@soohrt.org \
--to=kdesler@soohrt.org \
--cc=P@draigBrady.com \
--cc=Robert.Olsson@data.slu.se \
--cc=davem@davemloft.net \
--cc=hadi@cyberus.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).