lkml.org 
[lkml]   [2011]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/4] memcg: simplify LRU handling.
On Wed, Dec 14, 2011 at 04:47:34PM +0900, KAMEZAWA Hiroyuki wrote:
>
> This series is onto linux-next +
> memcg-add-mem_cgroup_replace_page_cache-to-fix-lru-issue.patch
>
> The 1st purpose of this patch is reduce overheads of mem_cgroup_add/del_lru.
> They uses some atomic ops.

Which is noticable.

With a simple sparse file cat, mem_cgroup_lru_add_list() went from

1.12% cat [kernel.kallsyms] [k] mem_cgroup_lru_add_list

to

0.31% cat [kernel.kallsyms] [k] mem_cgroup_lru_add_list

and real time went down, too:

5 runs min median max in seconds
vanilla: 7.762 7.782 7.816
patched: 7.622 7.631 7.660


\
 
 \ /
  Last update: 2011-12-19 16:59    [W:0.112 / U:0.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site