From: Andi Kleen <[EMAIL PROTECTED]>
Date: Wed, 9 Aug 2006 02:24:04 +0200

> Yes, but even with dynamic growth you still need some upper boundary 
> (otherwise a DOS could eat all your memory). And it would need
> to be figured out what it is.

Absolutely.  Otherwise the GC'ing of the routing cache would
break horribly.

> BTW does dynamic shrink after a load spike make sense too?

I'm not sure about that bit yet.

> Or do some cheesy default and document the options to change
> it clearly and wait for feedback from users on what works for
> them?

I think this makes sense.  An initial upper limit of 1 million hash
table slots seems reasonable at first.  That's 8MB on a 64-bit
machine.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to