When running latency-sensitive applications inside a virtual machine, you can use virtual CPU pinning to eliminate the extra latency that is imposed by virtualization.

Important:

This feature is offered in VMware Integrated OpenStack Carrier Edition only. For more information, see VMware Integrated OpenStack Licensing.

Virtual CPU pinning enables high latency sensitivity and ensures that all memory and an entire physical core are reserved for the virtual CPU of an OpenStack instance. You configure virtual CPU pinning on a flavor and then create instances with that flavor.

Procedure

  1. Log in to the VMware Integrated OpenStack dashboard as a cloud administrator.
  2. Select the admin project from the drop-down menu in the title bar.
  3. Select Admin > Compute > Flavors
  4. Create a new flavor or choose an existing flavor to use for virtual CPU pinning.
  5. Select Update Metadata next to the flavor that you want to use.
  6. In the Available Metadata pane, expand CPU Pinning and click the Add (plus sign) icon next to CPU Pinning policy.
  7. Set the value of hw:cpu_policy to dedicated click Save.

What to do next

You can now enable virtual CPU pinning on an instance by configuring it with the flavor that you modified in this procedure.