From: Christoph Lameter <clameter@sgi.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-mm@kvack.org
Subject: Re: Support concurrent local and remote frees and allocs on a slab.
Date: Mon, 7 May 2007 11:58:34 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.64.0705071156570.6080@schroedinger.engr.sgi.com> (raw)
In-Reply-To: <20070507115438.a271580a.akpm@linux-foundation.org>
On Mon, 7 May 2007, Andrew Morton wrote:
> > I think the major performance improvement was to remove the overhead of
> > kfree. Half of the effort is gone thus performance goes through the roof.
> > Also this insures that SLUB always gets no partial slabs which increases
> > performance further.
>
> Well sure. But there should have been a performance *decrease* because
> every piece of memory we get from slab is now cache-cold. If slab was
> recycling objects, one would expect that to not happen.
No the memory that slub returns is designed to be in increasing memory
order. The prefetch logic on most modern chips will eliminate the cache
cold effect.
> So I'm assuming that you have producer and consumer running on separate
> CPUs and we don't get any decent cache reuse anyway.
This was on UP.
> > What is the problem with 21-mm1 btw? slab performance for both allocators
> > dropped from ~6M/sec to ~4.5M/sec
>
> That's news to me. You're the slab guy ;)
>
> Are you sure the slowdown is due to slab, or did networking break?
Both slab allocators are affected. I poked around but nothing sprang to
my mind. Seems its networking.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2007-05-07 18:58 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-05 3:28 Christoph Lameter
2007-05-06 4:59 ` Christoph Lameter
2007-05-06 5:45 ` Christoph Lameter
2007-05-06 19:24 ` Andrew Morton
2007-05-07 15:15 ` Christoph Lameter
2007-05-07 18:39 ` Christoph Lameter
2007-05-07 18:54 ` Andrew Morton
2007-05-07 18:58 ` Christoph Lameter [this message]
2007-05-07 20:32 ` Andrew Morton
2007-05-07 21:50 ` Andrew Morton
2007-05-07 21:55 ` Christoph Lameter
2007-05-08 0:56 ` Christoph Lameter
2007-05-08 22:05 ` 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=Pine.LNX.4.64.0705071156570.6080@schroedinger.engr.sgi.com \
--to=clameter@sgi.com \
--cc=akpm@linux-foundation.org \
--cc=linux-mm@kvack.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