netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: ebiederm@xmission.com (Eric W. Biederman)
To: hadi@cyberus.ca
Cc: David Miller <davem@davemloft.net>,
	netdev@vger.kernel.org, Daniel Lezcano <dlezcano@fr.ibm.com>,
	Alexey Dobriyan <adobriyan@gmail.com>,
	Patrick McHardy <kaber@trash.net>
Subject: Re: [PATCH 0/20] Batch network namespace cleanup
Date: Mon, 30 Nov 2009 11:22:38 -0800	[thread overview]
Message-ID: <m1y6ln4y2p.fsf@fess.ebiederm.org> (raw)
In-Reply-To: <1259585043.873.21.camel@bigi> (jamal's message of "Mon\, 30 Nov 2009 07\:44\:03 -0500")

jamal <hadi@cyberus.ca> writes:

> On Sun, 2009-11-29 at 17:46 -0800, Eric W. Biederman wrote:
>> 
>> Recently Jamal and Daniel perform some experiments and found that
>> large numbers of network namespace exiting simultaneously is very
>> inefficient.  24+ minutes in some configurations.  The cpu overhead
>> was negligible but it results in long hold times of net_mutex, and
>> memory being consumed a long time after the last user has gone away.
>> 
>> I looked into it and discovered that by batching network namespace
>> cleanups I can reduce the time for 4k network namespaces exiting from
>> 5-7 minutes in my configuration to 44 seconds.
>
> Excellent work Eric. I have time today so i can test these patches
> status quo vs.
> This is against net-next?

Yes.

Eric

  reply	other threads:[~2009-11-30 19:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-30  1:46 [PATCH 0/20] Batch network namespace cleanup Eric W. Biederman
2009-11-30  8:07 ` Eric Dumazet
2009-11-30  8:09   ` David Miller
2009-11-30  8:17     ` Eric W. Biederman
2009-11-30  8:48       ` Eric W. Biederman
2009-11-30  8:25 ` [PATCH 02/20] net: Implement for_each_netdev_reverse Eric W. Biederman
2009-11-30  8:25 ` [PATCH 03/20] net: Batch network namespace destruction Eric W. Biederman
2009-11-30  8:25 ` [PATCH 04/20] net: Automatically allocate per namespace data Eric W. Biederman
2009-11-30  8:25 ` [PATCH 05/20] net: Simplify loopback and improve batching Eric W. Biederman
2009-11-30  8:25 ` [PATCH 06/20] net: Simplfy default_device_exit " Eric W. Biederman
2009-11-30 12:44 ` [PATCH 0/20] Batch network namespace cleanup jamal
2009-11-30 19:22   ` Eric W. Biederman [this message]
2009-12-01  0:34 ` David Miller
2009-12-01  0:55   ` Eric W. Biederman

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=m1y6ln4y2p.fsf@fess.ebiederm.org \
    --to=ebiederm@xmission.com \
    --cc=adobriyan@gmail.com \
    --cc=davem@davemloft.net \
    --cc=dlezcano@fr.ibm.com \
    --cc=hadi@cyberus.ca \
    --cc=kaber@trash.net \
    --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).