[ovirt-users] ovirt-Guest-agent CPU usage

Vinzenz Feenstra vfeenstr at redhat.com
Thu Aug 11 12:39:24 UTC 2016


> On Aug 11, 2016, at 2:20 PM, Tadas <tadas at 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 at 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 at ovirt.org
>>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/users
>>> 
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users




More information about the Users mailing list