[DGD] alternate swapout pressure system

Shentino shentino at gmail.com
Sun Jul 22 23:37:29 CEST 2012


What if instead of basing swapout rate on the number of resident
objects, I instead based it on dynamic memory load?

like say, a soft limit below which nothing is swapped out at all, and
then each task results in one object being swapped out per X amount of
memory used over the soft limit?

And also, perhaps a hard limit of "swapout until memory usage goes
back down below this mark"

I've done a bit of a prototype of this and it seems to work well so
far, any thoughts on this?



More information about the DGD mailing list