Re: [BUG] /proc/<pid>/stat access stalls badly for swapping process, 2.4.0-test10

From: Mike Galbraith (mikeg@wen-online.de)
Date: Fri Nov 10 2000 - 05:47:21 EST


> I understood the above well enough to be very interested in seeing what
> happens with flush IO restricted.
>
> -Mike
>
> [try_to_free_pages()->swap_out()/shm_swap().. can fight over who gets
> to shrink the best candidate's footprint?]
>
> Thanks!

The results:

pre2+semaphore
real 14m19.987s
user 6m24.480s
sys 1m12.970s

pre2+semaphore+throttle_IO
real 10m13.953s
user 6m19.980s
sys 0m28.960s

pre2+semaphore+throttle_IO extended to refill_inactive()
real 9m46.395s
user 6m23.510s
sys 0m29.420s

pre2+semaphore+throttle_IO + above + tiny little tweak to page_launder()
real 8m56.808s
user 6m23.420s
sys 0m29.430s

Unfortunately, when I try to get past this point I burn trees :-)

        -Mike

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Nov 15 2000 - 21:00:16 EST