Hi,
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
Thanks,
michal
[1]
http://gerrit.ovirt.org/#/c/25927/