6 ms·
What OS was this? Processes like these (Folding, Seti, etc) should be "niced" on *nix-like OSes to have the lowest possible priority. Not sure what this looks l
by yock 14y ago
What OS was this? Processes like these (Folding, Seti, etc) should be "niced" on *nix-like OSes to have the lowest possible priority. Not sure what this looks like on Windows, but I imagine it's possible.
- sp332 14y agoIn windows, each process has one of 6 priority levels, and each thread has one of 7 priority levels. The combination is looked up in a table and yields one of 22 values between 1 and 31. http://msdn.microsoft.com/en-us/library/windows/desktop/ms685100%28v=vs.85%29.aspx http://msdn.microsoft.com/en-us/library/windows/desktop/ms68... You can manually change priority levels by right-clicking a process in the Task Manager. Not sure how to do it automatically or on a command line. Edit: note the OS will "boost" priorities on certain processes or threads sometimes. http://msdn.microsoft.com/en-us/library/windows/desktop/ms684828%28v=vs.85%29.aspx http://msdn.microsoft.com/en-us/library/windows/desktop/ms68...
- acdha 14y agonice 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)