[Bug 292570] [virtio] virtio-balloon does not balloon correctly

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 12 Apr 2026 18:40:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292570

--- Comment #3 from lysfjord.daniel@smokepit.net ---
(In reply to Xiangzhe from comment #2)

It *seems* to be a step in the right direction.. The allocation shrinks by 1MiB
every apx. 5 seconds now, and it seems to be going until the target set.

I guess dev.vtballoon.0.current and dev.vtballoon.0.desired are in some other
unit than KiB.. it's moving in steps of 256 per time virt-manager say it has
adjusted the current allocation with 1MiB, pointing me to it being in 4k pages?

Since your code has
#define VTBALLOON_PAGES_PER_REQUEST     256
I guess the reasoning is sound..

No idea why it only request changes once every 5 seconds, or thereabouts, but
at least it tries to work now:)

-- 
You are receiving this mail because:
You are the assignee for the bug.