lkml.org 
[lkml]   [2010]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH/RFC] MM slub: add a sysfs entry to show the calculated number of fallback slabs
On Fri, 12 Nov 2010, Richard Kennedy wrote:

> On my desktop workloads (kernel compile etc) I'm seeing surprisingly
> little slab fragmentation. Do you have any suggestions for test cases
> that will fragment the memory?

Do a massive scan through huge amounts of files that triggers inode and
dentry reclaim?

> + * Note that this can give the wrong answer if the user has changed the
> + * order of this slab via sysfs.

Not good. Maybe have an additional counter in kmem_cache_node instead?


\
 
 \ /
  Last update: 2010-11-12 16:17    [W:0.034 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site