Re: Applying nice/ionice to nilfs-cleanerd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Filesystem Development]     [Linux BTRFS]     [Linux CIFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux