xenserver / xe-guest-utilities

XenServer guest utilities for unix-like operating systems
BSD 2-Clause "Simplified" License
63 stars 57 forks source link

Changes in network addresses and such should be handled on event #146

Open ydirson opened 1 year ago

ydirson commented 1 year ago

The tool does active polling every minute, instead of getting notified when a change occurs. This wastes CPU in the guest, and causes the toolstack to have information with delays, which slows down investigations and impairs the ability to understand the system.

E.g. on Linux systems, netlink should be used to get notified of changes in interfaces and IP addresses.

LunfanZhang commented 8 months ago

aha,The fact is that it won`t cause the toolstack to delays if you have ever read the xenstore logs on.

ydirson commented 8 months ago

Note we implemented Netlink support for Linux and FreeBSD guests in https://gitlab.com/xen-project/xen-guest-agent, we would value your feedback on this project.