From: Andi Kleen <ak@suse.de>
To: Christoph Lameter <clameter@engr.sgi.com>
Cc: Paul Jackson <pj@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: Thu, 2 Mar 2006 02:57:28 +0100 [thread overview]
Message-ID: <200603020257.29234.ak@suse.de> (raw)
In-Reply-To: <Pine.LNX.4.64.0603011411190.31997@schroedinger.engr.sgi.com>
On Wednesday 01 March 2006 23:20, Christoph Lameter wrote:
> Interleave is only beneficial for special applications that use a common
> pool of data and that implement no other means of locality control. At
> that point we sacrifice the performance benefit that comes with node locality
> in order not to overload a single node.
My rationale is the locality is only important for cache lines that
are very frequently accessed. By far the most frequently accessed
items is user space data, system calls are still relatively rare
compare to that and system calls that touch files even less
so
(often in my measurements 40% and more of all syscalls are gettimeofday
actually)
Also we don't have very good balancing control on dcaches.
The problem is when one node runs updatedb or similar it will
end up allocating a lot of these objects, and then later when
a process ends up on that node it can have trouble allocating
node local memory (and a user process missing local memory is
typically much worse than a kernel object)
I guess your remote claim changes will help, but I'm not
convinced they are the best solution.
[hmm, actually didn't we discuss this once at length anyways.
Apparently I failed to convince you back then @:]
>
> Kernels before 2.6.16 suffer from special overload situations that are due
> to not having the ability to reclaim the pagecache and the slab cache.
Reclaiming is slow. Better not dig into this hole in the first place.
> > I would be in favour of it
>
> Please run performance tests with single threaded processes if you
> do not believe me before doing any of this.
Sure. But the motivation is less the single thread performance
anyways, but more the degradation under extreme loads.
-Andi
next prev parent reply other threads:[~2006-03-02 1:57 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
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 [this message]
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=200603020257.29234.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox