netdev
[Top] [All Lists]

Re: [RFC] Use RCU for fib_rules

To: Nivedita Singhvi <niv@xxxxxxxxxx>
Subject: Re: [RFC] Use RCU for fib_rules
From: Stephen Hemminger <shemminger@xxxxxxxx>
Date: Wed, 31 Mar 2004 13:05:41 -0800
Cc: "David S. Miller" <davem@xxxxxxxxxx>, Paul McKenney <Paul.McKenney@xxxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <406B2828.7070800@xxxxxxxxxx>
Organization: Open Source Development Lab
References: <20040331112839.02e8d4c2@xxxxxxxxxxxxxxxxxxxxx> <406B2828.7070800@xxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Wed, 31 Mar 2004 12:20:56 -0800
Nivedita Singhvi <niv@xxxxxxxxxx> wrote:

> Stephen Hemminger wrote:
> 
> > The IP forwarding rules, uses rwlock when it could use RCU.
> > Don't know if this would help or hurt the recent discussions about
> > large rulesets and DOS attacks.
> > 
> > Also, it increases the size of fib_rule slightly.
> 
> Stephen,
> 
> Any benchmarks or perf tests that quantify the gain here?

No, don't have enough rules or load in this area to cause an impact.
But also, I don't have the test environment to really stress this
(ie 1000's of rules).

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