Messages in this thread | | | Date | Sun, 1 Mar 2009 19:37:38 +0900 (JST) | From | KOSAKI Motohiro <> | Subject | Re: [PATCH 20/20] Get rid of the concept of hot/cold page freeing |
| |
> On Thu, Feb 26, 2009 at 05:15:49PM +0000, Mel Gorman wrote: > > On Thu, Feb 26, 2009 at 12:00:22PM -0500, Christoph Lameter wrote: > > > I tried the general use of a pool of zeroed pages back in 2005. Zeroing > > > made sense only if the code allocating the page did not immediately touch > > > the cachelines of the page. > > > > Any feeling as to how often this was the case? > > IMO background zeroing or anything like that is only going to > become less attractive. Heat and energy considerations are > relatively increasing, so doing speculative work in the kernel > is going to become relatively more costly.
IMHO..
In general, the value of any speculative approach depend on forecast hitting rate.
e.g. readahead is very effective to sequential read workload, but no effective to random access workload.
zerod pages is always used from page_alloc(GFP_ZERO), it's valuable although nowadays. but it's impossible.
Then, (IMHO) rest problem is - What stastics is better mesurement for the forecast of future zero page demanding? - How implement it?
I have no idea yet..
> Especially in this > case where you use nontemporal stores or otherwise reduce the > efficiency of the CPU caches (and increase activity on bus and > memory).
| |