On 08/08/2011 12:23 AM, Ryusuke Konishi wrote:
Is there a way to set default nice/ionice levels for nilfs-cleanerd?
At present, you have to manually invoke the cleanerd through the
nice/ionice commands or to run renice/ionice later specifying the
process ID of the cleanerd.
One way to make this convenient is introducing new directives in
/etc/nilfs_cleanerd.conf as follows:
# Scheduling priority.
nice 19 # niceness -20~19
# IO scheduling class.
# Supported classes are default, idle, best-effort, and realtime.
ionice_class idle
# IO scheduling priority.
# 0-7 is valid for best-effort and realtime classes.
ionice_data 5
Do you think these extensions make sense ?
Yes, I think those would be really handy. It would also mean that the
cleanerd could be scheduled to run more aggressively but at lower
priority, so the clean-up would be potentially more up to date while
having less impact on the system performance.
Gordan
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html