[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fast booting q35 VM?
From: |
Paul Menzel |
Subject: |
Fast booting q35 VM? |
Date: |
Sat, 30 Mar 2024 10:00:03 +0100 |
User-agent: |
Mozilla Thunderbird |
Dear Linux folks,
Starting a QEMU q35 with Linux built with `make defconfig`
qemu7-system-x86_64 -M q35 -m 32G -enable-kvm -cpu host -smp
cpus=32 -device virtio-rng-pci -net nic,model=virtio-net-pci -net
user,hostfwd=tcp::22230-:22 -drive
if=virtio,file=/scratch/local2/debian-linux-test.img -vga none -nographic
on a Supermicro AS -2023US-TR4/H11DSU-iN, BIOS 1.3 01/30/2020 the
timings are (no initrd):
[ 0.000000] Command line:
BOOT_IMAGE=/boot/vmlinuz-6.9.0-rc1-00274-g486291a0e624 root=/dev/vda1 ro
quiet console=ttyS0 initcall_debug log_buf_len=4M
[…]
[ 0.000000] DMI: QEMU Standard PC (Q35 + ICH9, 2009), BIOS
rel-1.16.1-0-g3208b098f51a-prebuilt.qemu.org 04/01/2014
[…]
[ 0.007979] Initmem setup node 0 [mem
0x0000000000001000-0x000000087fffffff]
[ 0.008235] On node 0, zone DMA: 1 pages in unavailable ranges
[ 0.008249] On node 0, zone DMA: 97 pages in unavailable ranges
[ 0.101045] On node 0, zone Normal: 36 pages in unavailable ranges
[ 0.101327] ACPI: PM-Timer IO Port: 0x608
[…]
[ 0.117844] mem auto-init: stack:all(zero), heap alloc:off, heap
free:off
[ 0.117849] software IO TLB: area num 32.
[ 0.183645] Memory: 32848344K/33553896K available (18432K kernel
code, 2792K rwdata, 6708K rodata, 2696K init, 1304K bss, 705292K
reserved, 0K cma-reserved)
[ 0.183728] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=32,
Nodes=1
[…]
[ 0.190074] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.190075] x86/fpu: Enabled xstate features 0x7, context size
is 832 bytes, using 'compacted' format.
[ 0.211097] Freeing SMP alternatives memory: 48K
[ 0.211109] pid_max: default: 32768 minimum: 301
[…]
[ 0.218021] smp: Bringing up secondary CPUs ...
[ 0.218123] smpboot: x86: Booting SMP configuration:
[ 0.218125] .... node #0, CPUs: #1 #2 #3 #4 #5 #6
#7 #8 #9 #10 #11 #12 #13 #14 #15 #16 #17 #18 #19 #20 #21 #22 #23 #24
#25 #26 #27 #28 #29 #30 #31
[ 0.255165] smp: Brought up 1 node, 32 CPUs
[ 0.255175] smpboot: Total of 32 processors activated (140799.87
BogoMIPS)
[ 0.270016] calling acpi_init+0x0/0x530 @ 1
[…]
[ 0.372097] initcall acpi_init+0x0/0x530 returned 0 after 103000
usecs
[ 1.385567] systemd[1]: systemd 255.4-1+b1 running in system
mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT
-GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC
+KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2
+BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT
default-hierarchy=unified)
Please find the Linux messages attached.
I know, that there are ways to configure the VM differently – without
PCI for example –, but in the end I also want to boot physical machines
faster, so hopefully using a “standard VM” is a good start.
Kind regards,
Paul
linux-image-6.9-rc1+.txt
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Fast booting q35 VM?,
Paul Menzel <=