Bug 1848579 - [RFE] Show total huge pages
Summary: [RFE] Show total huge pages
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 4.4.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.5.0
: 4.5.0
Assignee: Michal Skrivanek
QA Contact: Qin Yuan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-18 14:44 UTC by Arik
Modified: 2022-04-20 06:33 UTC (History)
2 users (show)

Fixed In Version: ovirt-engine-4.5.0
Clone Of:
Environment:
Last Closed: 2022-04-20 06:33:59 UTC
oVirt Team: Virt
Embargoed:
pm-rhel: ovirt-4.5?
pm-rhel: planning_ack?
ahadas: devel_ack+
pm-rhel: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-37578 0 None None None 2021-11-16 21:38:32 UTC
oVirt gerrit 117965 0 master MERGED core: Read huge pages total field 2021-12-14 08:53:00 UTC
oVirt gerrit 117966 0 master MERGED restapi: Add huge pages total amount to host statistics 2021-12-23 14:23:21 UTC
oVirt gerrit 117967 0 master MERGED webadmin: Show huge pages total amount in host general tab 2021-12-27 08:24:29 UTC
oVirt gerrit 118011 0 master MERGED engine: Refactor huge page amount field to free 2021-12-13 22:01:42 UTC
oVirt gerrit 118032 0 master MERGED core: Add upgrade script to reset vds statistics 2021-12-16 17:23:17 UTC

Description Arik 2020-06-18 14:44:43 UTC
This bug is about the second part of bz 1806339 - showing the total number of huge pages on the host.

Comment 2 Qin Yuan 2022-04-19 13:11:00 UTC
Verified with ovirt-engine-4.5.0.2-0.7.el8ev.noarch

Before VMs starting on host:
Huge Pages (size: free/total):  2048: 1024/1024, 1048576: 4/4

Start VM1(system memory 1024) with HugePages 2048, VM2(system memory 1024) with Hugepages 1048576,  VM3(system memory 3072) with HugePages 1048576:
Huge Pages (size: free/total):  2048: 512/1024, 1048576: 0/4


Check free/total huge pages in host statistics via API:
    <statistic id="6c5d91a5-6077-3f4e-8390-4023c6178729">
        <name>hugepages.2048.free</name>
        <description>Amount of free huge pages of the given size</description>
        <kind>gauge</kind>
        <type>integer</type>
        <unit>none</unit>
        <values>
            <value>
                <datum>512</datum>
            </value>
        </values>
    </statistic>
    <statistic id="0cd932f5-ca10-33ec-9ee4-afa34ab786a6">
        <name>hugepages.1048576.free</name>
        <description>Amount of free huge pages of the given size</description>
        <kind>gauge</kind>
        <type>integer</type>
        <unit>none</unit>
        <values>
            <value>
                <datum>0</datum>
            </value>
        </values>
    </statistic>
    <statistic id="3dc5d3c1-831a-395b-9ee6-efc87bd379de">
        <name>hugepages.2048.total</name>
        <description>Amount of total huge pages of the given size</description>
        <kind>gauge</kind>
        <type>integer</type>
        <unit>none</unit>
        <values>
            <value>
                <datum>1024</datum>
            </value>
        </values>
    </statistic>
    <statistic id="bf05b935-41a1-3ab3-a9e4-3917a0bc5146">
        <name>hugepages.1048576.total</name>
        <description>Amount of total huge pages of the given size</description>
        <kind>gauge</kind>
        <type>integer</type>
        <unit>none</unit>
        <values>
            <value>
                <datum>4</datum>
            </value>
        </values>
    </statistic>

Comment 3 Sandro Bonazzola 2022-04-20 06:33:59 UTC
This bugzilla is included in oVirt 4.5.0 release, published on April 20th 2022.

Since the problem described in this bug report should be resolved in oVirt 4.5.0 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.