Thank you again. Recompiling to latest ovirt agent solved issue.
-----Original Message-----
From: Vinzenz Feenstra
Sent: Thursday, August 11, 2016 4:24 PM
To: Tadas
Cc: users(a)ovirt.org
Subject: Re: [ovirt-users] ovirt-Guest-agent CPU usage
But also, i've compiled ovirt guest agent from sources from
github and had
the same result.
The github version starting from March 15th 2016 (master / ovirt-4.0 /
ovirt-3.6 branches) should actually not cause 100% CPU usage since there’s a
sleep in case of an error, which seems to be happening here.
So you installed and started it how then? Are you sure that it doesn’t
execute the other one?
-----Original Message----- From: Vinzenz Feenstra
Sent: Thursday, August 11, 2016 3:39 PM
To: tadas(a)ring.lt
Cc: users(a)ovirt.org
Subject: Re: [ovirt-users] ovirt-Guest-agent CPU usage
> On Aug 11, 2016, at 2:20 PM, Tadas <tadas(a)ring.lt> wrote:
>
> Sorry, managed to send corrupted message.
>
> I do not think there's problems with virtio console drivers. I've
> installed ovirt guest tools iso from
http://resources.ovirt.org/pub.
> Also I can read data from ovirt agent on hypervisor side by using
> socat:
> "socat pathtosocketfile -"
> This gives me all information about VM from ovirtagent. But as soon as
> i close reading socket, ovirt agent loops in itself and uses whole
> single core. If i socat again - load drops and I can see information
> from agent again. So problem is that you allways need to have socket
> open for read or write on hypervisor side. If not - ovirt agent will
> consume one cpu thread. And this happens only in Windows VM.
Can you please give me the exact version of the ISO you’re using?
I need to determine if you have the fixed one or if there’s another bug,
the latest version should have this fixed already.
> On Thu, 2016-08-11 at 15:13 +0300, Tadas wrote:
>> "socat pathtosocketfile -"
>> This gives me all information about VM from ovirtagent. But as soon
>> as
>> i close reading socket, ovirt agent loops in itself and uses whole
>> single core. If i socat again - load drops and I can see information
>> from agent again. So problem is that you allways need to have socket
>> open for read or write on hypervisor side. If not - ovirt agent will
>> consume one cpu thread. And this happens only in Windows VM.
>>
>>
>> On Thu, 2016-08-11 at 14:01 +0200, Vinzenz Feenstra wrote:
>>>
>>>>
>>>>
>>>> On Aug 11, 2016, at 12:21 PM, Tadas <tadas(a)ring.lt> wrote:
>>>>
>>>> It seems, that if socket is not opened at hypervisor side, ovirt
>>>> agent
>>>> starts to loop with loads of
"VirtIoCHannel::200::root::Written"
>>>> messages per second.
>>>
>>> You probably don’t have the virtio drivers for the channel
>>> communication installed
>>>
>>> please install the VirtIO Console drivers on that machine and
>>> restart the agent service
>>>
>>>>
>>>>
>>>> If hypervisor opens ovirt socket, then cpu usage drops to normal
>>>> state.
>>>> Is this intentional? This does not happen on Linux guest.
>>>> On Thu, 2016-08-11 at 13:05 +0300, Tadas wrote:
>>>>>
>>>>>
>>>>> Hello groups,
>>>>>
>>>>> we are having problem with ovirt-guest agent on Windows os.
>>>>> When
>>>>> started, agent fully utilizes one core (if machine has single
>>>>> core,
>>>>> then you will see 100% CPU usage, if there are two cores, then
>>>>> you
>>>>> will
>>>>> get 50% usage etc). Usage does not drop and persists for a
>>>>> whole
>>>>> time
>>>>> ovirt agent is running. This happens on windows 7 32 and 64
>>>>> versions
>>>>> and also on windows 10. Have anybody had the same issue?
>>>>> Thank you.
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> Users(a)ovirt.org
>>>>>
http://lists.ovirt.org/mailman/listinfo/users
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users(a)ovirt.org
>>>>
http://lists.ovirt.org/mailman/listinfo/users
>>>
>> _______________________________________________
>> Users mailing list
>> Users(a)ovirt.org
>>
http://lists.ovirt.org/mailman/listinfo/users
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users