[ovirt-devel] scale & hooks

Michal Skrivanek michal.skrivanek at redhat.com
Mon Jun 30 11:04:09 UTC 2014

just thinking about the recent stats hook[1] by Dima and scale, 
It is a very nice hook and quite useful for the scale testing - ( though when focus is on engine I'd suggest to use FakeVDSM instead to eliminate all the bottlenecks on VDSM side.)

One issue I see -  since this is a very high-profile call, every 15s time number of VMs - is with the hook invocation. Currently the hook mechanism always go through the hooks dit and does stat() call to see script is there or not…
it certainly doesn't matter on small scale but when the system is on the edge every IO on local FS cost something….
Would be nice if the hook mechanism is enhanced in general, figure out which hooks are relevant only at the startup and don't waste time passing domainXML every single time when the hook is not there


[1] http://gerrit.ovirt.org/#/c/25927/

More information about the Devel mailing list