Re: [patch] vmfixes-2.4.0-test9-B2 - fixing deadlocks

Juan J. Quintela
2000-09-25T22:30:28Z

>>>>> "andrea" == Andrea Arcangeli <andrea@suse.de> writes:

Hi

andrea> I'm talking about the fact that if you have a file mmapped in 1.5G of RAM
andrea> test9 will waste time rolling between LRUs 384000 pages, while classzone
andrea> won't ever see 1 of those pages until you run low on fs cache.

Which is completely wrong if the program uses _any not completely_
unusual locality of reference. Think twice about that, it is more
probable that you need more that 300MB of filesystem cache that you
have an aplication that references _randomly_ 1.5GB of data. You need
to balance that _always_ :((((((

I think that there is no silver bullet here :(

Later, Juan.

--
In theory, practice and theory are the same, but in practice they
are different -- Larry McVoy