On Tue, Jan 17, 2017 at 11:05 AM, Vinzenz Feenstra <vfeenstr@redhat.com> wrote:

On Jan 17, 2017, at 9:43 AM, Roy Golan <rgolan@redhat.com> wrote:



On 16 January 2017 at 12:35, Vinzenz Feenstra <vfeenstr@redhat.com> wrote:

On Jan 16, 2017, at 11:22 AM, Roy Golan <rgolan@redhat.com> wrote:



On 16 January 2017 at 11:39, Guy Chen <guchen@redhat.com> wrote:
O.k, Thanks !

Regards,

-----------------------------
Guy Chen, RHEV-M
Performance
O: +972.9.7692152        M: +972.52.8545202
guchen@redhat.com

----- Original Message -----
> From: "Vinzenz Feenstra" <vfeenstr@redhat.com>
> To: "Guy Chen" <guchen@redhat.com>
> Cc: devel@ovirt.org, "Eyal Berman" <eberman@redhat.com>, "Unname" <rgolan@redhat.com>
> 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 <guchen@redhat.com> 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.
Y.



 
> >
> > Regards,
> >
> > -----------------------------
> > Guy Chen, RHEV-M
> > Performance
> > O: +972.9.7692152        M: +972.52.8545202
> > guchen@redhat.com
> >
>
>


_______________________________________________
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel