All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: David Miller <davem@davemloft.net>
Cc: ebiederm@xmission.com, bcrl@kvack.org,
	linux-kernel@vger.kernel.org, torvalds@linux-foundation.org
Subject: Re: regression: sysctl_check changes in 2.6.24 are O(n) resulting in slow creation of 10000 network interfaces
Date: Mon, 07 Jan 2008 21:45:02 +0100	[thread overview]
Message-ID: <p73wsqlqsa9.fsf@bingen.suse.de> (raw)
In-Reply-To: <20080106.231040.222338659.davem@davemloft.net> (David Miller's message of "Sun\, 06 Jan 2008 23\:10\:40 -0800 \(PST\)")

David Miller <davem@davemloft.net> writes:
>
>> So is this a bug report telling me that there are users with
>> 10k or 100k interfaces that care.  So we need to fix sysctl.
>
> Unquestionably, we do, it's a major regression.
>
> People create thousands of VLAN devices, as one of many examples, all
> the time.

It might be an reasonable option to just stop creating sysctl entries
for interfaces after some threshold. I presume people who have that
many interfaces will mostly work through {default,all}/* anyways.

I think that would be a better option than to complicate sysctl.c
for this uncommon case.

-Andi

  parent reply	other threads:[~2008-01-07 20:45 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
2008-01-07 20:45     ` Andi Kleen [this message]
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=p73wsqlqsa9.fsf@bingen.suse.de \
    --to=andi@firstfloor.org \
    --cc=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.