Support CPU quotas
Bug #1339053 reported by
Erica Windisch
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova-docker |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
We should support the following quotas:
* cpu_shares
* cpu_quota
* cpu_period
These are unusual in that they overlap with how we handle 'vcpus', by interpreting it as a number of cpu_shares. Arguably, vcpus might be better handled through setting process affinity, restricting the container's process(es) to a limited number of CPUs, although that would be a hack if not implemented in Docker itself... also see the taskset and sched_setaffinity system call.
Changed in nova-docker: | |
status: | New → Confirmed |
To post a comment you must log in.