Windows has an API for reducing the priority of I/O and memory usage,
namely SetPriorityClass():
https://msdn.microsoft.com/en-us/library/windows/desktop/ms686219(v=vs.85).aspx
with the PROCESS_MODE_BACKGROUND_BEGIN**arg.

However - inexplicably - this arg can be used only by a process on itself, not another process.
So we could call this from boinc_init() on Win, but it wouldn't work with 
existing apps.
*
*
On 9/26/2015 2:13 AM, Christian Beer wrote:

The main question here is: Is there a way to prioritize Memory and I/O access? If yes is it available on all platforms (Windows, Mac, Linux)? If not, is there a general way to get the load information from and schedule accordingly?

You would still have to distinguish between BOINC generated Memory and I/O operations and from other apps. This seems very tricky.
Reply to this email directly or view it on GitHub <https://github.com/BOINC/boinc/issues/1392#issuecomment-143414260>.


_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to