Assuming it hasn't changed with the Andrea VM then the behaviour which we
switched was how the machine handles getting close to running out of swap.
The old 2.4 behaviour was that on swapping a page in from disk we always
left it in swap as well. This is a win since if the page is not dirtied
before we have to swap it out again we avoid a disk write. However it can
mean that an entire copy of RAM is sitting in swap. So a box with 1Gb of
RAM and 2Gb of swap might use 1Gb of swap and gain nothing in total
available virtual memory
The newer behaviour Rik added to the Riel VM was that when we got to about
90% of swap full we began freeing up swap pages also in RAM. That meant that
as things got tight we would migrate to a situation where data was either
in swap or ram but not both, so you went from 2Gb total usable VM to 3Gb
total usable VM on a 1Gb box with 2Gb of swap.
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/