netdev
[Top] [All Lists]

Re: Route cache performance under stress

To: Simon Kirby <sim@xxxxxxxxxxxxx>
Subject: Re: Route cache performance under stress
From: Ralph Doncaster <ralph@xxxxxxxxx>
Date: Mon, 9 Jun 2003 20:56:43 -0400 (EDT)
Cc: CIT/Paul <xerox@xxxxxxxxxx>, "'David S. Miller'" <davem@xxxxxxxxxx>, "hadi@xxxxxxxxxxxxxxxx" <hadi@xxxxxxxxxxxxxxxx>, "fw@xxxxxxxxxxxxx" <fw@xxxxxxxxxxxxx>, "netdev@xxxxxxxxxxx" <netdev@xxxxxxxxxxx>, "linux-net@xxxxxxxxxxxxxxx" <linux-net@xxxxxxxxxxxxxxx>
In-reply-to: <20030609221911.GF11509@netnation.com>
References: <20030609082718.GG20613@netnation.com> <004f01c32ebe$b4bd88d0$4a00000a@badass> <20030609221911.GF11509@netnation.com>
Reply-to: ralph+d@xxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
On Mon, 9 Jun 2003, Simon Kirby wrote:

> [sroot@r2:/root]# while (1)
> [sroot@r2:(while)]# sleep 1
> [sroot@r2:(while)]# ip -o route show cache | wc -l
> [sroot@r2:(while)]# end

I considered doing the same test on my box, but I don't have enough juice
left to do it every second:
root@tor-router# time ip -o route show cache | wc -l
  15023
real    0m1.563s
user    0m0.380s
sys     0m1.180s

So instead...

root@tor-router# while (true); do sleep 5; ip -o route show cache | wc -l;
done
  12630
  15659
  17951
  20733
   8875
   9282
  11913
   4216
   9437
  11973
  14503
  17088

-Ralph


<Prev in Thread] Current Thread [Next in Thread>