mmap-age patch, comments wanted
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 9 lines · Noel Maddy
That was definitely the case with your older vhand patches -- with them, I could get about 20M more into virtual memory before performance started degrading. What I'm seeing now is a change in performance at the same load level. I'm not sure whether the overall performance is hurt, because the vanilla kernel thrashes a lot in the same situation, but the system remains responsive. It could be that the load takes longer in the vanilla kernel (I'll try to check that today), but the lack of responsiveness with the mmap-age patch makes it *seem* slower.
With vhand, the kernel didn't properly age user-pages, so swap usage was overly high compared to vanilla or mmap-age, so comparing swap usage is no good indication of system load.
Also, between vanilla and mmap-age, the mmap-age patched kernel uses swap more than the vanilla one. But the difference should be very small, so swap usage should still be usable as an indication for VM load.
I think that what's really making things slower, is that kswapd now has to scan more pages before it can swap one out. This makes the swapout slower (as MAX_SWAP_FAIL still is set at 3) so there are less free pages left to swap things in again. I'm going to try to resolve this issue right now...
Rik.
+-----------------------------+------------------------------+ | For Linux mm-patches, go to | "I'm busy managing memory.." | | my homepage (via LinuxHQ). | [email protected] | | ...submissions welcome... | http://www.fys.ruu.nl/~riel/ | +-----------------------------+------------------------------+