netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin LaHaise <bcrl@lhnet.ca>
To: netdev@vger.kernel.org
Subject: regression: unregister_netdev() unusably slow
Date: Sun, 24 May 2009 15:21:50 -0400	[thread overview]
Message-ID: <20090524192150.GE24757@kvack.org> (raw)

Hi folks,

I just ran a few L2TP tests against 2.6.30-rc7, and it looks like network 
device deletion has become unusably slow.  At least in 2.6.27.10, deleting 
1000 network interfaces takes less than 2 seconds of real time.  The same 
test run under 2.6.30-rc7 is taking hundreds of seconds to delete 1000 
interfaces at a rate of about 5 per second.  The interfaces all share the 
same local ip address, but each have a single route to a unique client 
ip address.

This is a fairly reasonable use-case, as a single L2TP daemon can be 
terminating thousands of client connections on a single tunnel, and a 
tunnel flap will require tearing down all these interfaces.  I'll work on 
bisecting it, but if someone has any ideas of the source, I'd appreciate 
hearing about it.

		-ben

             reply	other threads:[~2009-05-24 19:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-24 19:21 Benjamin LaHaise [this message]
2009-05-24 21:23 ` regression: unregister_netdev() unusably slow Denys Fedoryschenko
2009-05-24 21:37   ` Benjamin LaHaise
2009-05-24 21:42     ` Eric Dumazet
2009-05-24 21:44       ` Benjamin LaHaise
2009-05-24 22:07         ` Eric Dumazet
2009-05-24 22:12           ` Benjamin LaHaise
2009-05-24 22:47             ` Eric Dumazet
2009-05-25  0:00               ` Benjamin LaHaise
2009-05-25  5:22                 ` Eric Dumazet
2009-05-25  8:04                   ` Damien Wyart
2009-05-25 16:21                   ` Paul E. McKenney

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=20090524192150.GE24757@kvack.org \
    --to=bcrl@lhnet.ca \
    --cc=netdev@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).