Libvirt hugepage backed memory support

Registered by James Chapman

The memory page size of your system influences the overhead of virtual to physical memory translations, increasing your memory page size would reduce this overhead. HugePages is a feature that makes it possible for the operating system support memory pages larger than the default 4KB, assuming HW support. Hugepage support can deliver a significant improvement in memory access throughput, especially in memory intensive and database workloads.

This feature enables libvirt configure virtual machines to use hugepage backed memory.

This feature can be used Intel DPDK vSwitch and NFV workloads.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
James Chapman
Direction:
Needs approval
Assignee:
James Chapman
Definition:
Superseded
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
James Chapman

Related branches

Sprints

Whiteboard

This seems to duplicate this proposal that was discussed in the Libvirt driver roadmap session?:

https://blueprints.launchpad.net/nova/+spec/virt-driver-large-pages
https://review.openstack.org/#/c/93653/1/specs/juno/virt-driver-large-pages.rst

--sgordon

This blueprint is proposed as one of four independent patches to enable nfv workloads via the IntelĀ® DPDK accelerated Open vSwitch.
Differing from the referenced blueprint tenants are not required to request hugepage support explicitly via a flavour. The intention of this blueprint is that it enables huge page support transparently.
Hugepage support must be enabled at the node level both in the hypervisor and os, as such the availability zone mechanism could be used to distinguish between nodes, based on hugepage support.
--sean-k-mooney

No spec submition linked here, please submit a spec, or link to the spec review, and consider this for juno-2, un-targeting blueprint from juno-1 --johnthetubaguy (28th May 2014)
You should not set a milestone target unless the blueprint has been properly prioritized by the project drivers.

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

Addressed by: https://review.openstack.org/96821
    Title: libvirt-hugepage

Addressed by: https://review.openstack.org/98186
    Implements: blueprint libvirt-hugepage

Gerrit topic: https://review.openstack.org/#q,topic:bp/allows,n,z

Gerrit topic: https://review.openstack.org/#q,topic:localDev,n,z

Addressed by: https://review.openstack.org/134694
    Support libvirt hugepage memory in nova.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.