given:
- A machine with 8 cores
- a cgroup with 1-CPU quota
- the cgroup has only 1 process
- the process is single-threaded
How will the CPUs be made available to the process?
- the process be able to run full-throttle on a single core all of the time?
- the cgroup being given all 8 cpus at the same time for 1/8 of the time, resulting in 7 CPUs being unused by the cgroup and 1 cpu maxed out (at 1/8 capacity)
- something like round-robin, where the process will be shuffled from core to core so that overall it has 1/8 of total cpu of the machine, taking turns using 1/64 of each CPUs time (fairly certain this is not going to be the case, would be horrible for caching etc)