
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.

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. 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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

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

"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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

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. 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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

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

I've used http://resources.ovirt.org/pub/ovirt-3.6/iso/oVirt-toolsSetup/3.6-3/oVirt-to... But also, i've compiled ovirt guest agent from sources from github and had the same result. -----Original Message----- From: Vinzenz Feenstra Sent: Thursday, August 11, 2016 3:39 PM To: tadas@ring.lt Cc: users@ovirt.org Subject: Re: [ovirt-users] ovirt-Guest-agent CPU usage
On Aug 11, 2016, at 2:20 PM, Tadas <tadas@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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Aug 11, 2016, at 3:08 PM, Tadas <tadas@ring.lt> wrote:
I've used http://resources.ovirt.org/pub/ovirt-3.6/iso/oVirt-toolsSetup/3.6-3/oVirt-to...
Well this one has not the fixed issue
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@ring.lt Cc: users@ovirt.org Subject: Re: [ovirt-users] ovirt-Guest-agent CPU usage
On Aug 11, 2016, at 2:20 PM, Tadas <tadas@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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

I will try to compile it again. I've installed via ovirt commandline "OVirtGuestService.exe -install". Maybe i've managed to put wrong daemon. Will try this again. Thank you. -----Original Message----- From: Vinzenz Feenstra Sent: Thursday, August 11, 2016 4:24 PM To: Tadas Cc: users@ovirt.org Subject: Re: [ovirt-users] ovirt-Guest-agent CPU usage
On Aug 11, 2016, at 3:08 PM, Tadas <tadas@ring.lt> wrote:
I've used http://resources.ovirt.org/pub/ovirt-3.6/iso/oVirt-toolsSetup/3.6-3/oVirt-to...
Well this one has not the fixed issue
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@ring.lt Cc: users@ovirt.org Subject: Re: [ovirt-users] ovirt-Guest-agent CPU usage
On Aug 11, 2016, at 2:20 PM, Tadas <tadas@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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

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@ovirt.org Subject: Re: [ovirt-users] ovirt-Guest-agent CPU usage
On Aug 11, 2016, at 3:08 PM, Tadas <tadas@ring.lt> wrote:
I've used http://resources.ovirt.org/pub/ovirt-3.6/iso/oVirt-toolsSetup/3.6-3/oVirt-to...
Well this one has not the fixed issue
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@ring.lt Cc: users@ovirt.org Subject: Re: [ovirt-users] ovirt-Guest-agent CPU usage
On Aug 11, 2016, at 2:20 PM, Tadas <tadas@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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (2)
-
Tadas
-
Vinzenz Feenstra