How to configure cgroup cpu quota for garden container running on ubuntu xenial

153 Views Asked by At

I am trying to configure cpu quota for a garden container running on Ubuntu Xenial like below.

echo 1000 > /sys/fs/cgroup/cpu/garden/cpu.cfs_quota_us

Earlier while using Ubuntu Trusty, we were able to configure the cpu quota for a garden container by editing below file.

echo 1000 > /sys/fs/cgroup/cpu/garden/<container_guid>/cpu.cfs_quota_us

Could someone help me in configuring cpu quota for a garden container on Ubuntu Xenial OS.

0

There are 0 best solutions below