Commit 55788ea4 by raphael.deimel

throttle flash i/o more to avoid delays

parent 34661dc9
......@@ -17,7 +17,9 @@
# otherwise the system hangs for tens of milliseconds
#
# kernel 4.1 works with 9MBit, 3.14 is slower.
echo "179:0 5000000" > /sys/fs/cgroup/blkio/blkio.throttle.write_bps_device
echo "179:0 4000000" > /sys/fs/cgroup/blkio/blkio.throttle.write_bps_device
echo "179:0 4000000" > /sys/fs/cgroup/blkio/blkio.throttle.read_bps_device
echo "179:0 30" > /sys/fs/cgroup/blkio/blkio.throttle.read_iops_device
echo "179:0 30" > /sys/fs/cgroup/blkio/blkio.throttle.write_iops_device
exit 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment