[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1304793890.3207.28.camel@edumazet-laptop>
Date: Sat, 07 May 2011 20:44:50 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Alex Bligh <alex@...x.org.uk>
Cc: netdev@...r.kernel.org
Subject: Re: Scalability of interface creation and deletion
Le samedi 07 mai 2011 à 19:38 +0100, Alex Bligh a écrit :
>
> --On 7 May 2011 18:26:29 +0200 Eric Dumazet <eric.dumazet@...il.com> wrote:
>
> ># time rmmod dummy
> >
> > real 0m0.111s
> > user 0m0.000s
> > sys 0m0.000s
> >
> >
> > This removed my two dummy0/dummy1 devices.
>
> rmmod dummy even with numdummies=100 does only one synchronize_net() and
> is quick (0.8ms).
>
Yes, thanks to batching we added some time ago to speedup module unload.
And because you didnt setup IP addresses on them ;)
for i in `seq 0 99`
do
ifconfig dummy$i 192.168.$i.1 up
done
--
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