From: Christoph Lameter <cl@linux-foundation.org>
To: Richard Kennedy <richard@rsk.demon.co.uk>
Cc: penberg@cs.helsinki.fi, linux-mm <linux-mm@kvack.org>
Subject: Re: [PATCH][RFC] slub: increasing order reduces memory usage of some key caches
Date: Fri, 18 Jul 2008 09:21:36 -0500 [thread overview]
Message-ID: <4880A6F0.6020501@linux-foundation.org> (raw)
In-Reply-To: <1216376259.3082.22.camel@castor.localdomain>
Richard Kennedy wrote:
>> We could rethink the automatic slab size configuration. Maybe add a
>> memory size based component? If we have more than 512M then double
>> slub_min_objects?
>
> That should help :)
>
> I just wonder if it's too simple though? There's such a wide range of
> hardware configurations & workloads it could be difficult to pick a
> one-size-fits-all solution.
>
> I wonder if something more dynamic is needed ?
If you have the time to work on it then go ahead.
> Slub is already smart enough to handle variable order slabs, so could it
> pick the order based on the rate of growth of a cache & the free memory
> available?
> But tuning such an algorithm might be fun! ;)
Sure it could do that. We just need a smart person that has fun tuning such an algorithm until its mature for upstream inclusion.
--
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>
prev parent reply other threads:[~2008-07-18 14:21 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-16 12:29 Richard Kennedy
2008-07-16 13:21 ` Christoph Lameter
2008-07-16 13:58 ` Richard Kennedy
2008-07-16 14:03 ` Christoph Lameter
2008-07-16 14:30 ` Richard Kennedy
2008-07-16 14:33 ` Vegard Nossum
2008-07-16 14:46 ` Christoph Lameter
2008-07-18 9:57 ` Richard Kennedy
2008-07-18 14:17 ` Christoph Lameter
2008-07-18 14:20 ` Christoph Lameter
2008-07-18 14:42 ` Richard Kennedy
2008-07-18 14:55 ` Christoph Lameter
2008-07-18 15:22 ` Richard Kennedy
2008-07-18 17:13 ` Christoph Lameter
2008-07-16 19:52 ` Mel Gorman
2008-07-17 9:48 ` Richard Kennedy
2008-07-16 15:52 ` Christoph Lameter
2008-07-16 15:59 ` Christoph Lameter
2008-07-17 10:09 ` Richard Kennedy
2008-07-17 16:56 ` Christoph Lameter
2008-07-18 10:17 ` Richard Kennedy
2008-07-18 14:21 ` Christoph Lameter [this message]
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=4880A6F0.6020501@linux-foundation.org \
--to=cl@linux-foundation.org \
--cc=linux-mm@kvack.org \
--cc=penberg@cs.helsinki.fi \
--cc=richard@rsk.demon.co.uk \
/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