Welcome to the Linux Foundation Forum!

cgroups : cgconfig.conf cgrules.conf not working as expected

Options
simhavcs
simhavcs Posts: 1

Hi,

Below are the cgroup config and rules

/etc/cgrules.conf
@dev cpu dev/%u

/etc/cgconfig.conf
group dev {
cpu {
cpu.cfs_quota_us=10000;
}
}

In dev group added two users - "sudo tail /etc/group"

dev:x:1003:guest,guest1

sudo /usr/sbin/cgconfigparser -l /etc/cgconfig.conf
sudo /usr/sbin/cgrulesengd -vvv

But the 10% allocation of cpu is not working for the username : guest or guest1.

Please suggest.

regards,
vinaysimha

Categories

Upcoming Training