3 ms·
nice doesn't help with I/O pressure or memory contention, particularly if it used enough memory to contribute to swap activity. Even something like pressure on
by acdha 14y ago
nice doesn't help with I/O pressure or memory contention, particularly if it used enough memory to contribute to swap activity. Even something like pressure on the system L2/L3 caches can be a big deal, particularly on older systems where those were less generous.
- eeperson 14y agoThats where ionice or, even better, cgroups[1] come in :) [1] http://en.wikipedia.org/wiki/Cgroup http://en.wikipedia.org/wiki/Cgroup
- acdha 14y agoAgreed, although I would note that at least on Linux and FreeBSD those haven't been a realistic option for a terribly long period of time – if the user didn't go to school recently, it's likely that they weren't an option. (also, not sure about cgroups but ionice did absolutely nothing useful with swap churn when I tested it awhile back)