Subject: Re: [RFC] make per interface sysctl entries configurable

From: Stephen Hemminger <[email-masked]>
Date: Sun, 25 Oct 2009 21:31:02 -0700

On Sun, 25 Oct 2009 19:54:49 +0200
Octavian Purdila <[email-masked]> wrote:

> 
> RFC patches are attached.
> 
> Another possible approach: add an interface flag and use it to decide whether 
> we want per interface sysctl entries or not.
> 
> Benchmarks for creating 1000 interface (with the ndst module previously posted 
> on the list, ppc750 @800Mhz machine):
> 
> - without the patches:
> 
> real    4m 38.27s
> user    0m 0.00s
> sys     2m 18.90s
> 
> - with the patches:
> 
> real    0m 0.10s
> user    0m 0.00s
> sys     0m 0.05s
> 
> Thanks,
> tavi

I would rather optimize the algorithm than give up and make it
not available. It should be possible to do better by just using some
better programming.

--