lkml.org 
[lkml]   [2009]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC] respect the referenced bit of KVM guest pages?
Date
> Andrea Arcangeli wrote:
>
> > Likely we need a cut-off point, if we detect it takes more than X
> > seconds to scan the whole active list, we start ignoring young bits,
>
> We could just make this depend on the calculated inactive_ratio,
> which depends on the size of the list.
>
> For small systems, it may make sense to make every accessed bit
> count, because the working set will often approach the size of
> memory.
>
> On very large systems, the working set may also approach the
> size of memory, but the inactive list only contains a small
> percentage of the pages, so there is enough space for everything.
>
> Say, if the inactive_ratio is 3 or less, make the accessed bit
> on the active lists count.

Sound reasonable. How do we confirm the idea correctness?
Wu, your X focus switching benchmark is sufficient test?





\
 
 \ /
  Last update: 2009-08-07 05:19    [W:0.199 / U:0.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site