Zun

Support pinning container to specific CPU cores

Registered by Sudipta Biswas

This blueprint shall build on the existing container fields and add a cpu_policy field during the container creation. cpu_policy could be shared or dedicated.

Blueprint information

Status:
Complete
Approver:
hongbin
Priority:
Medium
Drafter:
Sudipta Biswas
Direction:
Approved
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
hongbin
Completed by
hongbin

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/cpuset-container,n,z

Addressed by: https://review.openstack.org/417743
    add the cpuset to container object

Addressed by: https://review.openstack.org/417751
    add cpuset to the docker driver

UPDATE1: As discussed at IRC/team meeting, we proposed to expose a parameter 'cpu_policy' instead. 'cpu_policy' could be 'shared' or 'dedicated'. At the backend, the Docker driver could choose to implement 'dedicated' using --cpuset option. The team requires a spec for this feature. Take a look at Nova spec for reference: https://specs.openstack.org/openstack/nova-specs/specs/juno/approved/virt-driver-cpu-pinning.html
-- hongbin 2017-01-28

Addressed by: https://review.openstack.org/427007
    Introduce host capabilities and cpusets

Addressed by: https://review.openstack.org/430920
    Introduce os-capability parsing

Addressed by: https://review.openstack.org/433645
    Introduce numa related objects

Addressed by: https://review.openstack.org/436572
    [WIP] Add ComputeNode Tracker

Addressed by: https://review.openstack.org/449699
    host inventory as a periodic task

Addressed by: https://review.openstack.org/599317
    Support cpuset and scheduler for cpuset

Addressed by: https://review.openstack.org/617928
    Support cpuset and scheduler for cpuset

Addressed by: https://review.openstack.org/624561
    [WIP] Add 'enable_cpu_pinning' to compute_node

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.