Re: [BENCHMARKS] Namesys VM patches improve kbuild

Nick Piggin
2004-01-22T23:32:03Z

William Lee Irwin III wrote:

>On Thu, Jan 22, 2004 at 06:19:01PM +1100, Nick Piggin wrote:
>
>>Hmm, I actually did misread it a bit. The ratio is:
>>nr_pages * zone->nr_active / (zone->nr_inactive * 2)
>>Which is nr_pages if the active list is size we want.
>>So its not so bad as I thought. Scaling by nr_pages would
>>seem to couple it strongly with free pages though. My
>>patch makes it more independent. No I don't know if thats
>>good or not, it would obviously need a lot of testing.
>>
>
>Could something symbolic be banged out to represent this "desired
>(in)active_list size" to reduce confusion? You're not the only one
>needing to review various calculations twice over or more at every
>turn.
>

That probably would help. I still don't like the ratio that much
but I guess it works. I'll see if I can get any improvements out
of my version.