All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: Paul Jackson <pj@sgi.com>
Cc: clameter@engr.sgi.com, dgc@sgi.com, steiner@sgi.com,
	Simon.Derr@bull.net, linux-kernel@vger.kernel.org,
	clameter@sgi.com
Subject: Re: [PATCH 01/02] cpuset memory spread slab cache filesys
Date: Wed, 1 Mar 2006 21:59:41 +0100	[thread overview]
Message-ID: <200603012159.42273.ak@suse.de> (raw)
In-Reply-To: <20060301125358.29261ad9.pj@sgi.com>

On Wednesday 01 March 2006 21:53, Paul Jackson wrote:
> > > I spent much time minimizing that overhead over the last few months, as
> > > a direct result of your recommendation to do so.
> > 
> > IIRC my recommendation only optimized the case of nobody using
> > cpuset if I remember correctly. 
> 
> As a result of your general concern with the performance impact
> of cpusets on the page allocation code path, I optimized each
> element of it, not just the one case covered by your specific
> recommendation.

Thanks for doing that work then.
 

> 
> > Using a single cpuset would already drop into the slow path, right?
> 
> No - having a single cpuset is the fastest path.  All tasks
> are in that root cpuset in that case, and all nodes allowed.

Faster than no cpuset?

> 
> > I'm not sure I want to get into the business
> > of explaining all the distributions how to set up cpusets ..
> 
> Good grief - I already quoted the 3 lines of boottime init script it
> would take - this can't require that much explaining, and your new
> sysctl can't get by with much less:

It would just be on by default - no user space configuration needed.

> And even from the perspective of maintaining Linux, this should be on
> autopilot.  Every file systems inode cache is marked, and if we do
> nothing, as more file system types are invented for Linux, they will
> predictably cut+paste the inode slab cache setup from an existing file
> system, and "just get it right."

If something is a good default it shouldn't need user space
configuration at all imho. Only the "weird" cases should.

> I just don't see that it serves any purpose, and I suspect that
> misunderstandings of the performance impact of cpusets are the
> primary source of motivation for such a sysctl.

No that was just one. The other was having good defaults
even on lightweight kernels.

-Andi

  reply	other threads:[~2006-03-01 20:59 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-27  7:02 [PATCH 01/02] cpuset memory spread slab cache filesys Paul Jackson
2006-02-27  7:02 ` [PATCH 02/02] cpuset memory spread slab cache format Paul Jackson
2006-02-27 19:34 ` [PATCH 01/02] cpuset memory spread slab cache filesys Andi Kleen
2006-02-27 20:16   ` Paul Jackson
2006-02-27 20:36     ` Christoph Lameter
2006-02-27 20:49       ` Andi Kleen
2006-02-27 20:56         ` Christoph Lameter
2006-02-27 21:02           ` Andi Kleen
2006-02-27 22:14             ` Christoph Lameter
2006-02-27 22:39               ` Andi Kleen
2006-02-27 23:13                 ` Christoph Lameter
2006-02-28  1:56                   ` Paul Jackson
2006-02-28 17:13                     ` Andi Kleen
2006-03-01 18:27                       ` Paul Jackson
2006-03-01 18:34                         ` Andi Kleen
2006-03-01 18:38                           ` Christoph Lameter
2006-03-01 18:58                           ` Paul Jackson
2006-03-01 19:21                             ` Andi Kleen
2006-03-01 20:53                               ` Paul Jackson
2006-03-01 20:59                                 ` Andi Kleen [this message]
2006-03-01 21:19                                   ` Paul Jackson
2006-03-01 21:21                                     ` Andi Kleen
2006-03-01 22:20                                       ` Christoph Lameter
2006-03-01 22:52                                         ` Paul Jackson
2006-03-02  1:57                                         ` Andi Kleen
2006-03-02 14:38                                           ` Christoph Lameter

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=200603012159.42273.ak@suse.de \
    --to=ak@suse.de \
    --cc=Simon.Derr@bull.net \
    --cc=clameter@engr.sgi.com \
    --cc=clameter@sgi.com \
    --cc=dgc@sgi.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pj@sgi.com \
    --cc=steiner@sgi.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.