L
Libor Laubacher
Guest
Gareth, are you trying to solve an existing problem with this, or is this a general curiousity? I guess that answer would depends what's on the machine and it that machine is constrained by lack of memory. For database machine it would indeed make sense to set it lower than 60 as you don't want your database 'pages' to be swapped out of physical memory, or at least with lowest possible frequency. If you have a memory constrains and loads of batch clients or generally jobs, which for example run for a bit and then sit and way, you might want to bump out the swappiness so the memory would get swapped out more aggressively and made space for something else. I haven't played with this myself, but aware of one isssue where it's been set to 0, and the OOM (out of memory) killer on Linux went on a killing spree when the machine cames under load, so probably best not to set it to 0.
Continue reading...
Continue reading...