lkml.org 
[lkml]   [2012]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mm: Enable MAP_UNINITIALIZED for archs with mmu
On 1/23/12 7:07 PM, KAMEZAWA Hiroyuki wrote:

> You can see reduction of clear_page() cost by removing GFP_ZERO but
> what's your application's total performance ? Is it good enough considering
> many risks ?

I see 90k calls/sec to clear_page_c when running our application. I
don't have data on the impact of GFP_ZERO alone, but an earlier
experiment when we tuned malloc to not call madvise(MADV_DONTNEED)
aggressively saved us 3% CPU. So I'm expecting this to be a 1-2% win.

But not calling madvise() increases our RSS and increases the risk of OOM.

Agree with your analysis that removing the cache misses at clear_page()
is not always a win, since it moves the misses to the code where the app
first touches the data.

-Arun




\
 
 \ /
  Last update: 2012-01-25 02:49    [W:0.065 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site