Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[DNM] PoC for huge pages in libvirt domain definition#698

Open
jellonek wants to merge 1 commit into
master from
jell/hp
Open

[DNM] PoC for huge pages in libvirt domain definition #698
jellonek wants to merge 1 commit into
master from
jell/hp

Conversation

@jellonek

@jellonek jellonek commented Jun 19, 2018
edited by pigmej
Loading

Copy link
Copy Markdown
Contributor

There is no verification if host supports huge pages.
There is no verification of any kind of additional libvirt/qemu configuration if it's needed for huge pages.
There is no validation of nodeset value at the moment.

Simply if there is VirtletHugePages annotation its value is used to
construct data in memoryBacking section of libvirt domain xml
(according to https://libvirt.org/formatdomain.html#elementsMemoryBacking).

Whole value is split to sub entries using ";" as separator.
Each entry should have 3 values:

  • size - as a uint
  • unit - single character denoting unit size (K, M, or G)
  • nodeset - node ranges (e.g. 0-3), or/and particular node numbers of
    numa nodes, combined with comma sign (please refer to libvirt docs for
    details - this part is passed "as is" to domain definition).

This change is Reviewable

There is no verification if host supports huge pages.
There is no verification of any kind of libvirt/qemu configuration if
it's needed for huge pages.
There is no validation of nodeset value at the moment.
Simply if there is VirtletHugePages annotation its value is used to
construct data in memoryBacking section of libvirt domain xml
(according to
https://libvirt.org/formatdomain.html#elementsMemoryBacking)
Whole value is split to sub entries using ";" as separator.
Each entry should have 3 values,
 * size - as a uint
 * unit - single character denoting unit size (K, M, or G)
 * nodeset - node ranges (e.g. 0-3), or/and particular node numbers of
 numa nodes, combined with comma sign (please refer to libvirt docs for
 details - this part is passed "as is" to domain definition).

stale Bot commented Aug 28, 2018

Copy link
Copy Markdown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

@stale stale Bot added the wontfix label Aug 28, 2018
@stale stale Bot removed the wontfix label Aug 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /