Messages in this thread | | | From | KOSAKI Motohiro <> | Subject | Re: [RFC] respect the referenced bit of KVM guest pages? | Date | Fri, 7 Aug 2009 12:17:22 +0900 (JST) |
| |
> 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?
| |