From: Benjamin LaHaise <bcrl@kvack.org>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: linux-kernel@vger.kernel.org, torvalds@linux-foundation.org,
David Miller <davem@davemloft.net>
Subject: Re: regression: sysctl_check changes in 2.6.24 are O(n) resulting in slow creation of 10000 network interfaces
Date: Mon, 7 Jan 2008 20:47:01 -0500 [thread overview]
Message-ID: <20080108014701.GI28570@kvack.org> (raw)
In-Reply-To: <m1tzlqj5kz.fsf@ebiederm.dsl.xmission.com>
On Mon, Jan 07, 2008 at 03:25:00AM -0700, Eric W. Biederman wrote:
> I think someone failed to notice that using /proc/sys slowed to a crawl
> in that event, and now that I am doing a lookup on register it seems to
> showing up in the benchmarks.
The directory that is problematic rarely gets accessed. Fixing sysfs
properly at some point would be a good idea, it's just one of those things
that isn't quite high priority yet.
> Benjamin can you test the patch below and tell me if it also
> keeps the network device performance at acceptable levels.
I can confirm that this patch does indeed put the regression at bay for
now.
-ben
next prev parent reply other threads:[~2008-01-08 1:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-06 22:03 regression: sysctl_check changes in 2.6.24 are O(n) resulting in slow creation of 10000 network interfaces Benjamin LaHaise
2008-01-07 6:57 ` Eric W. Biederman
2008-01-07 7:10 ` David Miller
2008-01-07 10:25 ` Eric W. Biederman
2008-01-08 1:47 ` Benjamin LaHaise [this message]
2008-01-07 20:45 ` Andi Kleen
2008-01-07 21:30 ` Alan Cox
2008-01-07 22:57 ` Andi Kleen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080108014701.GI28570@kvack.org \
--to=bcrl@kvack.org \
--cc=davem@davemloft.net \
--cc=ebiederm@xmission.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.