Give memory unused for an hour back to the host
damon_reclaim pages out memory that hasn't been touched for an hour, whatever memory is free, so virtio-balloon free page reporting can return it to the host. The test VM in the README gets a balloon device. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2 files changed
+9
-2
No files matched your search
@@ -33,6 +33,6 @@ mkosi build
|
||||
```sh
|
||||
qemu-img convert -O qcow2 mkosi.output/git-runner_<version>.raw test.qcow2 && qemu-img resize test.qcow2 40G
|
||||
cp /usr/share/edk2/ovmf/OVMF_VARS.fd vars.fd
|
||||
qemu-kvm -m 8G -smp 4 -cpu host -nic user,model=virtio-net-pci -drive file=test.qcow2,if=virtio \
|
||||
qemu-kvm -m 8G -smp 4 -cpu host -nic user,model=virtio-net-pci -drive file=test.qcow2,if=virtio -device virtio-balloon-pci,free-page-reporting=on \
|
||||
-drive if=pflash,format=raw,readonly=on,file=/usr/share/edk2/ovmf/OVMF_CODE.fd -drive if=pflash,format=raw,file=vars.fd
|
||||
```
|
||||
Reference in new issue
Block a user