The devices
subsystem in Cgroups provides a fine grained control for the system devices. An
admin can define Cgroups that can restrict access to particular devices and
define what users or groups can access those devices thus providing security
and data protection.
In this article we
will see how we can whitelist a device using Cgroups.
Add the Configurations
The first thing we
need to do is to add the configuration...
Pages
Thursday, March 24, 2016
CGroup Case 1 - I/O throttling
In the first use
case we will see how we can manage the I/O Operations on the Disk devices. This
is done by the blkio sub system available in the CGroups. The blkio sub system
moderates I/O operations to the specified block devices. In this example we will see how we can
restrict the read operations performed on a drive
For this we use the
“blkio.throttle.read_bps_device”
parameter which specifies a upper limit on...
CGroups
Resource exhaustion
is one of the common issues while running production machines. There are cases
where running servers crash due to other process using high memory or any other
process running a high CPU intensive code. It is always good if we have a way
to control resource usage. On larger systems kernel resource controllers (also
called as Control groups (CGroups)) can be usefull to help priority
applications to get the...
Subscribe to:
Posts
(
Atom
)