Maybe there is some subtlety here that I am missing?

Taking one of my hosts as an example (running 4.2 - not sure if the code has changed in 4.3?)

$ head -5 /proc/meminfo
MemTotal:       263695240 kB
MemFree:        80087284 kB
MemAvailable:   137272368 kB
Buffers:           79620 kB
Cached:          7758272 kB

While in the oVIrt GUI it reports

257514 MB total
172534 MB used
84980 MB free

And from the Host page it reports memory utilisation as 67%, which roughly equates to used / total.

(total - available) / total would give a value more like 50%.


---- On Mon, 16 Mar 2020 14:39:16 +0000 Michal Skrivanek <michal.skrivanek@redhat.com> wrote ----



On 13 Mar 2020, at 18:55, Alan G <alan+ovirt@griff.me.uk> wrote:

I've observed that oVirt considers cache/buffer memory as "used”.

Where do you see that?

So a host can report, for example, 10% memory utilisation when hosting 0 VMs. A reboot of the host will of course free all that memory and the host will again report something close to 0%.

This caused me a shock a few weeks ago when I thought my cluster was running out of memory.

Given that the kernel will give back the buffer memory as required, is it not perhaps a bit misleading to count it as "used"?

 


---- On Fri, 13 Mar 2020 17:47:34 +0000 Michal Skrivanek <michal.skrivanek@redhat.com> wrote ----

> On 10 Mar 2020, at 15:46, Noua TOUKOUROU <noua.toukourou@uni.lu> wrote:
>
> 
> Hi,
>
> My ovirt engine is showing wrong host's memory usage. Even when this one has no VM.
> How to fix it ?

What’s wrong with it?

>
> Thanks
> _______________________________________________
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-leave@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/XBHQUIDKZDNIKPNWGWIL67EVJA2QYXKG/
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/FNYIXMSBRHV2A3U55UG2P2WAQ5P5CFXO/



_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/PMVQLLRAWYBOC3DOFVFZGNQJROQPAS54/