[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A19C50B.9040304@cosmosbay.com>
Date: Mon, 25 May 2009 00:07:07 +0200
From: Eric Dumazet <dada1@...mosbay.com>
To: Benjamin LaHaise <bcrl@...et.ca>
CC: Denys Fedoryschenko <denys@...p.net.lb>, netdev@...r.kernel.org
Subject: Re: regression: unregister_netdev() unusably slow
Benjamin LaHaise a écrit :
> On Sun, May 24, 2009 at 11:42:17PM +0200, Eric Dumazet wrote:
>> (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()
>
> I did try commenting out the synchronize_net() calls in rollback_registered(),
> but that had almost no effect on the rate of interface deletion. 50ms is
> still way too expensive.
>
> -ben
Maybe your HZ is too low ? Changing to 1000 HZ helps a lot
Also your hotplug config might do strange things at device removal ?
What distro do you use ?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists