> On Jan 17, 2017, at 7:27 PM, Yaniv Kaul <[email protected]> wrote: > > > > On Tue, Jan 17, 2017 at 11:05 AM, Vinzenz Feenstra <[email protected] > <mailto:[email protected]>> wrote: > >> On Jan 17, 2017, at 9:43 AM, Roy Golan <[email protected] >> <mailto:[email protected]>> wrote: >> >> >> >> On 16 January 2017 at 12:35, Vinzenz Feenstra <[email protected] >> <mailto:[email protected]>> wrote: >> >>> On Jan 16, 2017, at 11:22 AM, Roy Golan <[email protected] >>> <mailto:[email protected]>> wrote: >>> >>> >>> >>> On 16 January 2017 at 11:39, Guy Chen <[email protected] >>> <mailto:[email protected]>> wrote: >>> O.k, Thanks ! >>> >>> Regards, >>> >>> ----------------------------- >>> Guy Chen, RHEV-M >>> Performance >>> O: +972.9.7692152 <tel:%2B972.9.7692152> M: +972.52.8545202 >>> <tel:%2B972.52.8545202> >>> [email protected] <mailto:[email protected]> >>> >>> ----- Original Message ----- >>> > From: "Vinzenz Feenstra" <[email protected] >>> > <mailto:[email protected]>> >>> > To: "Guy Chen" <[email protected] <mailto:[email protected]>> >>> > Cc: [email protected] <mailto:[email protected]>, "Eyal Berman" >>> > <[email protected] <mailto:[email protected]>>, "Unname" >>> > <[email protected] <mailto:[email protected]>> >>> > Sent: Monday, January 16, 2017 11:23:19 AM >>> > Subject: Re: ovirt-guest-agent-common question >>> > >>> > >>> > > On Jan 16, 2017, at 10:18 AM, Guy Chen <[email protected] >>> > > <mailto:[email protected]>> wrote: >>> > > >>> > > >>> > > Hi >>> > > >>> > > After i am installing ovirt-guest-agent-common shutdown of a VM takes >>> > > about >>> > > 90 seconds instead of 30 seconds without the agent. >>> > > I am running on rhvm 4.1 build 4, host, engine and VM all are rhel 7.3, >>> > > agent version is ovirt-guest-agent-common-1.0.13-2.el7ev.noarch. >>> > > Has anyone encounter this issue ? >>> > >>> > This is pretty normal as there’s a timeout letting the users logged in >>> > save >>> > their work etc. So the reboot is scheduled. >>> > This is not an issue, this is simply by design. >>> > >>> >>> @Vinzenz If there is no logged in user this should be as quick as without >>> the tool and I guess there isn't a user logged in @Guy? >> >> Well, the definition of ‘Someone is logged in’ is quite difficult to answer >> on linux machine. >> >> Correct but if the system is doing nothing why would adding guest agent is >> adding > 1 min to the shutdown? > > The agent adds that, what it gets told to, it’s not hardcoded if that is your > point. “If the system is doing nothing” is again very subjective and not easy > to answer. > Anyway you’re welcome to change that delay if you insist. It’s sent by the > engine via the VM.shutdown verb on vdsm as the delay parameter in seconds. > > Just I don’t support this change and I do see too many potential pitfalls in > trying to determine if we should skip the delay or not - As I said, it’s a > matter which is too subjective. > > I agree it's subjective, but the resulting user experience isn't pleasant > either - it is perceived as if oVirt is making the VM slow, for no good > reason. I do think we could do a better job. For example, not to slow down > server OS VMs (we do not expect users logged in, and to save their work, > etc.), or only do it in Windows and when X is running, etc.
Sure, that’s not a big deal the engine easily can set the value to 0 if the type is a server. If we really have users getting annoyed by this. I have never heard of it however. So this seems not to be a very big problem for most users, rather a developer or tester issue because they need to work on that faster. > Y. > > >> >>> >>> > > >>> > > Regards, >>> > > >>> > > ----------------------------- >>> > > Guy Chen, RHEV-M >>> > > Performance >>> > > O: +972.9.7692152 <tel:+972%209-769-2152> M: +972.52.8545202 >>> > > <tel:+972%2052-854-5202> >>> > > [email protected] <mailto:[email protected]> >>> > > >>> > >>> > > > > _______________________________________________ > Devel mailing list > [email protected] <mailto:[email protected]> > http://lists.ovirt.org/mailman/listinfo/devel > <http://lists.ovirt.org/mailman/listinfo/devel>
_______________________________________________ Devel mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/devel
