launchd
has option to run process with low priority I/O. How does it work exactly? (how low is low, does it affect all operations?)
Is there an API that enables low priority I/O in applications not launched via launchd
?
I need to scan watched (FSEvents) directories in background application, and I'd like this to be as gentle as possible.
Alternatively, how can I check if system/disk is busy doing I/O?