[ovirt-users] Re: High frequency of getVolumeSize()

2018-10-31 Thread Nir Soffer
On Fri, Oct 26, 2018 at 10:07 PM Markus Stockhausen 
wrote:

> we observed high count of getVolumeSize() calls in vdsm.log Looking
> at the logs it seems as if this is done every minute for all disk that
> are currently running on a node.
>
> Is this frequency normal and if yes why?
>

Yes, this is expected.

Vdsm is monitoring volume size every 60 seconds, based on this
configuration:
https://github.com/oVirt/vdsm/blob/cbdbee979f0bfc7a7dd447af0d69c5aa9e0f8b8c/lib/vdsm/common/config.py.in#L369

The monitoring is needed to update engine about disk actual size when
using thin provisioning.

- With block storage, when vdsm detect that a disk is too full, it will
extend the disk with help
  of the SPM host.
- With sparse disks on file storage, the disk actual size will grow as the
VM writes more
  data to the disk.

Engine show the actual disk size based on the size reported by vdsm, using
data collected by
these getVolumeSize calls.

This check can probably optimized to run only on file based thin
provisioned disks instead of
any disk. Please file a bug to optimize this is you think it is an issue.

Nir
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/T3RHQHUHKFXRNMOKPPEO66QZRUW4LNIA/


[ovirt-users] Re: High frequency of getVolumeSize()

2018-10-31 Thread Shani Leviim
Hi,
Can you please attach the vdsm.log?
Also, can you please supply the output of rpm -qa | grep vdsm ?

+Nir Soffer 


*Regards,*

*Shani Leviim*


On Fri, Oct 26, 2018 at 10:07 PM Markus Stockhausen 
wrote:

> Hi,
>
> we observed high count of getVolumeSize() calls in vdsm.log Looking
> at the logs it seems as if this is done every minute for all disk that
> are currently running on a node.
>
> Is this frequency normal and if yes why?
>
> Best regards.
>
> Markus
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Mit freundlichen Grüßen,
>
>
>
> Markus Stockhausen
>
> Head of Software Technology
>
>
> Ubierring 11 · 50678 Köln
>
>
>
> Telefon: +49 221 33 608 611
>
> Mobil: +49 151 12040606
>
>
>
> Mail: markus.stockhau...@collogia.de
>
> Web: www.collogia-it-services.de
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/WYPXJYJ6YHNNEUI2SWPXCKDU46Z3XLFN/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/EBLICYPG5UWGLDBSBRGKRUAUZSDZA5FU/