IOLimits latency

Navigation:  Kernel Settings >

IOLimits latency

Previous pageReturn to chapter overviewNext page

[lve1.2.29+]

 

When customer reaches IO Limit, the processes that are waiting for IO will be placed to sleep to make sure they don't go over the limit. That could make some processes sleep for a very long time.

By defining IO latency, you can make sure that no process sleeps due to IO limit for more then X milliseconds. By doing so, you will also let customers to burst through the limits, and use up more than they were limited too in some instances.

 

This option is OFF by default.

 

For CloudLinux 6, CloudLinux 7 and CloudLinux 5 (since Hybrid kernel lve1.4.x.el5h):

 

To enable IOLimits latency and set it to 10 seconds:

 

# echo 10000 > /sys/module/kmodlve/parameters/latency

 

To disable latency:

 

# echo 2000000000 > /sys/module/kmodlve/parameters/latency

 

For CloudLinux 5:

 

To enable IOLimits latency and set it to 10 seconds:

 

# echo 10000 > /sys/module/iolimits/**parameters/latency

 

To disable latency:

 

# echo 2000000000 > /sys/module/iolimits/**parameters/latency