[BENCHMARKS] 2.6 kbuild results (with add_to_swap patch)

Nick Piggin
2004-01-30T02:53:29Z

Andrew Morton wrote:

>Nikita Danilov <Nikita@Namesys.COM> wrote:
>
>>Hello,
>>
>>shrink_list() checks PageSwapCache() before calling add_to_swap(), this
>>means that anonymous page that is going to be added to the swap right
>>now these checks return false and:
>>
>> (*) it will be unaccounted for in nr_mapped, and
>>
>> (*) it won't be written to the swap if gfp_flags include __GFP_IO but
>> not __GFP_FS.
>>
>>(Both will happen only on the next round of scanning.)
>>
>
>OK. Does it make a measurable change in any benchmarks?
>
>

Small big significantly better on kbuild when tested on top of the other
two patches (dont-rotate-active-list and my mapped-fair).

With this patch as well, we are now as good or better than 2.4 on
medium and heavy swapping kbuilds and much better than stock 2.6
with light swapping loads (not as good as 2.4 but close).