public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Eric Dumazet <dada1@cosmosbay•com>
To: Benjamin LaHaise <bcrl@lhnet•ca>
Cc: Denys Fedoryschenko <denys@visp•net.lb>, netdev@vger•kernel.org
Subject: Re: regression: unregister_netdev() unusably slow
Date: Sun, 24 May 2009 23:42:17 +0200	[thread overview]
Message-ID: <4A19BF39.4000305@cosmosbay.com> (raw)
In-Reply-To: <20090524213744.GG24757@kvack.org>

Benjamin LaHaise a écrit :
> On Mon, May 25, 2009 at 12:23:30AM +0300, Denys Fedoryschenko wrote:
>> Once oprofile gave me hint about similar issue
> 
> I forgot to mention: there is no more than ~1% CPU usage while the interfaces 
> are being deleted.  I'm about half way through the bisect now and should have 
> the culprit soon. 
> 
> 		-ben

unregister a vlan here cost about 100 ms if CONFIG_NO_HZ is set, 50 ms if not set

(But vlan case might be litle bit more expensive than your case, since we call
synchronize_net() three times (once in unregister_vlan_dev(), and twice in rollback_registered()



  reply	other threads:[~2009-05-24 21:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-24 19:21 regression: unregister_netdev() unusably slow Benjamin LaHaise
2009-05-24 21:23 ` Denys Fedoryschenko
2009-05-24 21:37   ` Benjamin LaHaise
2009-05-24 21:42     ` Eric Dumazet [this message]
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=4A19BF39.4000305@cosmosbay.com \
    --to=dada1@cosmosbay$(echo .)com \
    --cc=bcrl@lhnet$(echo .)ca \
    --cc=denys@visp$(echo .)net.lb \
    --cc=netdev@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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