netdev
[Top] [All Lists]

Re: Route cache performance tests

To: Robert Olsson <Robert.Olsson@xxxxxxxxxxx>
Subject: Re: Route cache performance tests
From: Simon Kirby <sim@xxxxxxxxxxxxx>
Date: Tue, 17 Jun 2003 14:07:01 -0700
Cc: "David S. Miller" <davem@xxxxxxxxxx>, ralph+d@xxxxxxxxx, hadi@xxxxxxxxxxxxxxxx, xerox@xxxxxxxxxx, fw@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx, linux-net@xxxxxxxxxxxxxxx
In-reply-to: <20030617200721.GA25773@xxxxxxxxxxxxx>
References: <20030616.160856.35828947.davem@xxxxxxxxxx> <20030616232750.GD18484@xxxxxxxxxxxxx> <20030616234937.GE18484@xxxxxxxxxxxxx> <20030617.085921.28790392.davem@xxxxxxxxxx> <16111.18107.699689.704597@xxxxxxxxxxxx> <20030617200721.GA25773@xxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.4i
On Tue, Jun 17, 2003 at 01:07:21PM -0700, Simon Kirby wrote:

> Whoa.  Uhm.  A lot.  I should compare with 2.4 again to see what's going
> on here.
> 
> 60.0042 seconds passed, avg forwarding rate: 50759.683 pps

Ummmm, yeah, 2.5.71 is quite a bit slower than 2.4.21.  I applied
Alexey's 2.5.71 rtcache fixes to 2.4.21 (changing "fl" to "key" in
the scoring function), and now I see:

60.0065 seconds passed, avg forwarding rate: 135379.152 pps

If reboot and don't fill the routing table:

60.0104 seconds passed, avg forwarding rate: 259027.200 pps

This is with standard juno (pseudo-random sources).

This is with CONFIG_IP_MULTIPLE_TABLES still on, too.  I'll turn that off
and do some profiles.  The only weird thing I'm seeing while doing this
is that the route cache table continues to grow slowly, and the pps
slowly falls off over a few minutes.  "ip route flush cache" restores
performance again.  I'll verify this is not happening in 2.5.

Simon-

[        Simon Kirby        ][        Network Operations        ]
[     sim@xxxxxxxxxxxxx     ][   NetNation Communications Inc.  ]
[  Opinions expressed are not necessarily those of my employer. ]

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