Description of problem: In Compute -> Hosts-> host.example.com -> General, the item "Huge Pages (size: amount)" is the amount of free huge-pages on the host. But the text is not clear, the customer may mistake it to the total number of HPs configured on the host, free or used. Would be nice to make it clearer in the UI. Or even better: show both total and free HPs. Version-Release number of selected component (if applicable): ovirt-engine-4.3.8.2-0.4.el7.noarch How reproducible: 100% Steps to Reproduce: 1. Configure Host with 2 static Huge Pages 2. Reboot 3. Check UI: "Huge Pages (size: amount): 1048576: 2" 4. Run VM with 2GB of HPs 5. Check UI "Huge Pages (size: amount): 1048576: 0"
Created attachment 1696874 [details] Huge Pages Displayed in the Host We currently display the size and amount as per the screen shot. Please clarify what you would like changed. Thank you.
(In reply to Steven Rosenberg from comment #1) > Created attachment 1696874 [details] > Huge Pages Displayed in the Host > > We currently display the size and amount as per the screen shot. Please > clarify what you would like changed. Thank you.
(In reply to Steven Rosenberg from comment #2) > (In reply to Steven Rosenberg from comment #1) > > Created attachment 1696874 [details] > > Huge Pages Displayed in the Host > > > > We currently display the size and amount as per the screen shot. Please > > clarify what you would like changed. Thank you. Hi, from the naming of the item I was expecting it to be total hugepages on the host, not just the free ones. What I would really like for it to say something like: "Huge Pages (size: total amount / free): 1048576: 2 / 2" or something like that. Greetings Klaas
(In reply to Steven Rosenberg from comment #1) > Created attachment 1696874 [details] > Huge Pages Displayed in the Host > > We currently display the size and amount as per the screen shot. Please > clarify what you would like changed. Thank you. As mentioned in comment #0, it is not clear if those numbers are free, used or totals. And I think it should be also improved, displaying total and free, or total and used. (In reply to Germano Veit Michel from comment #0) > But the text is not clear, the customer may mistake it to the total number > of HPs configured on the host, free or used. > > Would be nice to make it clearer in the UI. Or even better: show both total > and free HPs.
(In reply to Germano Veit Michel from comment #4) > (In reply to Steven Rosenberg from comment #1) > > Created attachment 1696874 [details] > > Huge Pages Displayed in the Host > > > > We currently display the size and amount as per the screen shot. Please > > clarify what you would like changed. Thank you. > > As mentioned in comment #0, it is not clear if those numbers are free, used > or totals. > And I think it should be also improved, displaying total and free, or total > and used. > > (In reply to Germano Veit Michel from comment #0) > > But the text is not clear, the customer may mistake it to the total number > > of HPs configured on the host, free or used. > > > > Would be nice to make it clearer in the UI. Or even better: show both total > > and free HPs. I think the code explains it clearly [1], the 2048 is the size in kB and the amount is 0 for that page. The 2048 is the amount of free huge pages of the given size. So the label does show that for a given page the format is the "size: amount". What format would you like specifically that would be clearer to you? There are two values per page, size and amount. [1] https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/HostStatisticalQuery.java#L72-L73
I think we can avoid the confusion about what is currently presented by simply replacing "Huge Pages" with "Free Huge Pages". As for adding the total huge pages, this should probably be a separate RFE.
(In reply to Arik from comment #6) > As for adding the total huge pages, this should probably be a separate RFE. Filed bz 1848579 for that
@Michal Skrivanek - I am guessing you mean fixed in rhv-4.4.1-11 ?
Verified on ovirt-engine-4.4.1.7-0.3.el8ev.noarch Before VMs starting on host: Free Huge Pages (size: amount): 2048: 1024, 1048576: 4 Start VM1(system memory 1024) with HugePages 2048, VM2(system memory 1024) with Hugepages 1048576, VM3(system memory 3072) with HugePages 1048576 -> Free Huge Pages (size: amount): 2048: 512, 1048576: 0
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Red Hat Virtualization security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:3807