Post #3057408
2026-05-21 23:01 UTC
@penguin42@mastodon.org.uk I see, might have to clarify that part in the article.
The Power-Z is great, but not helping with the VMs in particular. But the idea is to basically provide the consumption metric to the guest by the same means as the Power-Z does to the host. And not like RAPL in hard to emulate way, pinned down to x86, but with USB being flexible and universal over architectures.
Replies (1)
-
@penguin42@mastodon.org.uk 2026-05-21 23:07
@globalc@chaos.social Hmm, then you're somehow going to have to work out how to measure the power to put into your emulated device. I think the opposite might be easier; using 'perf kvm' or 'perf' on the host you should be able to get event information from the guest kernel about when the scheduler does stuff. Or even something simpler; like taking the output of a 'top' like thing in the guest to the host; then you're telling the host that a particular guest prog is using 23% of CPU.