[ovirt-devel] Reporting vm disk stats "truesize" and "apparentsize"?

Nir Soffer nsoffer at redhat.com
Thu Sep 15 16:18:05 UTC 2016


Hi all,

Vdsm reports apparentsize and truesize disk stats [1] when getting
vms stats (every 15 seconds?). These values are update every
60 seconds in vdsm.

To collect the values, we run risky storage apis in vdsm virt thread
pool, and we want to avoid this [2] since one slow or broken domain
can cause the entire virt thread pool to get stuck and cause vms
using other (healthy) storage domain to become non responsive.

These can also break block storage thin provisioned disks, since they
depend also on the virt thread pool. So one bad NFS storage domain
can cause vms using only block storage to be paused.

If both of these values are not used by anyone, we would like to
stop reporting them.

If the values are used, we need to find a safer way to report them,
probably in storage thread pool, or maybe we can get these values
from libvirt using bulk sampling.

Please update if these values are used in engine/dwh.

[1] https://github.com/oVirt/vdsm/blob/master/lib/vdsm/virt/vmstats.py#L364
[2] https://gerrit.ovirt.org/59801

Nir



More information about the Devel mailing list