Re: [2.1.130-3] Page cache DEFINATELY too persistant... feature?

Eric W. Biederman
1998-12-01T00:29:11Z

I just performed one more test on
pre-linux-2.1.130 + Stephan Tweedies vm patch.

I went into proc
and changed pagecache from:
5 30 75 to 0 100 100
Then I ran my test program.
Until it was done running the system was locked up.

The same results happend with
0 75 75

With 0 30 75 however I can finish composing this email.

I now know definentily that this is an autobalancing problem.

My suggestion would be to drop a call to shrink_mmap immediately
after swap_out with the same size. And to ignore it's return code.

But however we do it, in cases of heavy swapping we need to call shrink_mmap
more often.

Perhaps this evening I can try some more.

Eric