Reputation: 1
I am trying to delay the fsync operations of a specific PID with c_groupsv2. After reading the documentation of cgroups it seems there are two possible ways:
Use io.max and set wops and rops to 0 during an interval, according to the limits documentation this should be possible. However, the kernel does not accept 0 as a value and outputs the ean error. command: echo "259:0 wiops=0" > io.max error_message: -bash: echo: write error: Numerical result out of range
Or use io.latency which is a cleaner solution, but this controller does not appear when I create a cgroup.
My question is two folded, first are there other options in terms of controllers, or other kernel based solutions for this? Secondly, in terms of the problems I have with both io.max and io.latency is it something I am doing wrong? Is there something I have to enable?
Thanks in advance!
Upvotes: 0
Views: 66