id = 2556 title = "memory balloon massively slows Windows shutdown (almost feels like it crashed for minutes)" state = "opened" created_at = "2024-09-04T09:03:38.657Z" closed_at = "n/a" labels = ["guest: Windows", "target: i386"] url = "https://gitlab.com/qemu-project/qemu/-/issues/2556" host-os = "Debian-12 GNU/Linux" host-arch = "amd64` (AMD Ryzen-5800X, 32 GB memory)" qemu-version = "9.0.2" guest-os = "Windows 11` ([Developer VM Image \"WinDev2407Eval.VirtualBox.zip\"](https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/), seems to need no TPM emulation :-))" guest-arch = "amd64" description = """When reducing the memory using ballooning, the shutdown takes very long. One may even assume it crashed, but it will eventually power off.""" reproduce = """1. wait until Windows has booted 2. reduce the balloon by multiple GB via monitor: `balloon 8192` _(8 GB balloon, memory size is 24 GB)_ 3. Shut down (or reboot) Windows The system shows the boot screen at shutdown for a long time. It's about 10 seconds extra time per reduced balloon size. So when resizing the balloon from 24 GB to 8 GB, that's 16 GB. So the shutdown needs: 16 * 10 = 160 seconds = **about 3 minutes**""" additional = "n/a"