linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Lameter <clameter@sgi.com>
To: Matthew Wilcox <matthew@wil.cx>
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: SLUB: Increasing partial pages
Date: Wed, 16 Jan 2008 12:39:31 -0800 (PST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0801161219050.9694@schroedinger.engr.sgi.com> (raw)
In-Reply-To: <20080116195949.GO18741@parisc-linux.org>

On Wed, 16 Jan 2008, Matthew Wilcox wrote:

> We tested 2.6.24-rc5 + 76be895001f2b0bee42a7685e942d3e08d5dd46c
> 
> For 2.6.24-rc5 before that patch, slub had a performance penalty of
> 6.19%.  With the patch, slub's performance penalty was reduced to 4.38%.
> This is great progress.  Can you think of anything else worth trying?

Ahhh.. Good to hear that the issue on x86_64 gets better. I am still 
waiting for a test with the patchset that I did specifically to address 
your regression: http://lkml.org/lkml/2007/10/27/245 (where I tried to 
come up with an in kernel benchmark that exposes the issue even more)? It 
is much more likely now that this patchset in mm addresses your regression 
since the hackbench performance improvement fix already reduce it 
partially.

2.6.25 will add the performance enhancements for the free patch that I 
hope will address your issues. In addition the fastpath was reworked. See 
the patch mentioned above.

2.6.26 (hopefully) will remove the per cpu array lookups that are 
currently necessary on x86 and other platforms through improvements to 
the way that percpu data is handled. That leads to further fastpath 
improvements.

There are also ways to optimize the partial block handling further by f.e.
switching the percpu slab on free in order to have a higher fastpath rate.

--
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>

  reply	other threads:[~2008-01-16 20:39 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-16 19:59 SLUB: Increasing partial pages Matthew Wilcox
2008-01-16 20:39 ` Christoph Lameter [this message]
2008-01-16 21:41   ` Matthew Wilcox
2008-01-16 22:01     ` Christoph Lameter
2008-01-16 22:16       ` Matthew Wilcox
2008-01-16 22:28         ` Christoph Lameter
2008-01-18 19:14           ` Matthew Wilcox
2008-01-22 20:00             ` Christoph Lameter
2008-01-22 22:35               ` Matthew Wilcox
2008-01-22 23:00                 ` Christoph Lameter
2008-02-16 19:07               ` Matthew Wilcox
2008-02-16 19:34                 ` Christoph Lameter
2008-05-05 18:04                   ` Pekka Enberg
2008-01-18 19:54       ` Matthew Wilcox
2008-01-22 19:42         ` 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.0801161219050.9694@schroedinger.engr.sgi.com \
    --to=clameter@sgi.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=matthew@wil.cx \
    /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).