netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 0% cpu usasge after fresh boot or net restart but 10% CPU if kernel flush route cache
@ 2010-01-26 16:58 cold cold
  2010-01-27 15:26 ` Eric Dumazet
  0 siblings, 1 reply; 12+ messages in thread
From: cold cold @ 2010-01-26 16:58 UTC (permalink / raw)
  To: netdev

HI,


i have expiriance some CPU usage spikes up to 10% on each four cpus
after the first kernel route cache flush.
After mashine start first 20 min CPU is 0%si  300Mbits/s full duplex
and arount 100k pps forwarded traffic, without any firewall, just
plain routing.

route -n |wc -l
34

ip route show cache | wc -l
2140842

cat /proc/sys/net/ipv4/route/secret_interval
600
cat /proc/sys/net/ipv4/route/max_size
33554432

after kernel  flush i got 10% on all CPUs for 5-6 mins.  It's not from
rebuilding route cashe becouse after
fresh boot or network restrat there is no CPU usage until kernel flush
route cache.
I try to play with rhash_entries= 300000 to 2000000 same result.

Network Card: Ethernet controller: Intel Corporation 82576 Gigabit
Network Connection
CPU: Intel(R) Xeon(R) CPU           E5420  @ 2.50GHz
RAM: 4G
Kernel: vanilla 2.6.32.4

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-01-29  9:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-26 16:58 0% cpu usasge after fresh boot or net restart but 10% CPU if kernel flush route cache cold cold
2010-01-27 15:26 ` Eric Dumazet
2010-01-27 19:53   ` cold cold
2010-01-27 21:18     ` Eric Dumazet
2010-01-28  9:14       ` cold cold
2010-01-28 16:09         ` Eric Dumazet
2010-01-28 16:26           ` cold cold
2010-01-28 17:06             ` Eric Dumazet
2010-01-28 18:49               ` cold cold
2010-01-28 21:16                 ` Eric Dumazet
2010-01-29  7:38                   ` cold cold
2010-01-29  9:06                     ` Eric Dumazet

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).