← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1456185] [NEW] 'Virt driver CPU pinning' feature missing thread support

 

Public bug reported:

The Virt drive CPU pinning feature' is described here:

    http://specs.openstack.org/openstack/nova-specs/specs/kilo/implemented/virt-driver-cpu-pinning.html
    https://github.com/openstack/nova-specs/blob/master/specs/kilo/implemented/virt-driver-cpu-pinning.rst

Per this specification, support should exist for two additional flavor
extra spec parameters:

    * ``hw:cpu_policy=shared|dedicated``
    * ``hw:cpu_threads_policy=avoid|separate|isolate|prefer``

Upon investigation, however, it appears that only the first of these was
implemented. No code exists to implement the latter and the parameters
have no effect. We have written tests to verify this.

I do not find any documentation about this fact. As a result, I don't
see how this feature could have been marked as implemented without
changing the spec or adding these features. Since neither was done, this
feature should be added to truly complete the specification.

This information was accurate as of the latest HEAD of 'stable/kilo'
(36fb002) and 'master' ('e77541c').

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: libvirt

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1456185

Title:
  'Virt driver CPU pinning' feature missing thread support

Status in OpenStack Compute (Nova):
  New

Bug description:
  The Virt drive CPU pinning feature' is described here:

      http://specs.openstack.org/openstack/nova-specs/specs/kilo/implemented/virt-driver-cpu-pinning.html
      https://github.com/openstack/nova-specs/blob/master/specs/kilo/implemented/virt-driver-cpu-pinning.rst

  Per this specification, support should exist for two additional flavor
  extra spec parameters:

      * ``hw:cpu_policy=shared|dedicated``
      * ``hw:cpu_threads_policy=avoid|separate|isolate|prefer``

  Upon investigation, however, it appears that only the first of these
  was implemented. No code exists to implement the latter and the
  parameters have no effect. We have written tests to verify this.

  I do not find any documentation about this fact. As a result, I don't
  see how this feature could have been marked as implemented without
  changing the spec or adding these features. Since neither was done,
  this feature should be added to truly complete the specification.

  This information was accurate as of the latest HEAD of 'stable/kilo'
  (36fb002) and 'master' ('e77541c').

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1456185/+subscriptions


Follow ups

References