New Question

Windows Image slow boot time with large ram

asked 2024-02-03 12:53:13 +0300

ronynov gravatar image

Hi, we are running Openstack ussuri with ceph and kvm (juju maas), we have some instances running windows based on images made by cloudbaseit imaging tools. We are facing an issue when booting a windows image, it can take up to 40 min to boot if the instance have a large ram quantity. The instances have the latest virtio drivrers. Rebooting the same instance from within windows server it takes 45 seconds. The images have osdistro and ostype keys. Is anyone facing this issue and did you manage to find a solution for it ? Thx for your help. RZ

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2024-02-12 13:49:24 +0300

ronynov gravatar image

updated 2024-02-12 14:54:12 +0300

Hi @avladu Thx for your reply. Actually the vm's get slower and slower to boot by increasing ram quantity. For exemple a VM with 128GB of ram will take 45 min to cold boot (the reboot is normal). Below are the versions:

/usr/bin/qemu-system-x86_64 --version

QEMU emulator version 4.2.1 (Debian 1:4.2-3ubuntu6.23~cloud0) Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers

libvirtd --version

libvirtd (libvirt) 6.0.0 root@os-compute3:~# virsh version Compiled against library: libvirt 6.0.0 Using library: libvirt 6.0.0 Using API: QEMU 6.0.0 Running hypervisor: QEMU 4.2.1

cat /proc/version

Linux version 4.15.0-88-generic (buildd@lgw01-amd64-036) (gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)) #88-Ubuntu SMP Tue Feb 11 20:11:34 UTC 2020

This issue was mentionned in this presentation but no clear fix is proposed

Any help will be greatly appreciated Rony

edit flag offensive delete link more


Hello, this would be quite hard to reproduce and possibly fix, given that Ubuntu Bionic is EOL from 2023. Do you happen to have a production OpenStack on a newer Ubuntu where this issue reproduces?

avladu gravatar imageavladu ( 2024-03-13 21:54:50 +0300 )edit

answered 2024-02-09 12:09:32 +0300

avladu gravatar image


I have not seen this issue so far. can you please provide details on the size of the RAM / libvirt version / kvm (kernel) version to try to reproduce the issue?

Thank you.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2024-02-03 12:53:13 +0300

Seen: 149 times

Last updated: Feb 12