Re: Linux 6.5 speed regression, boot VERY slow with anything systemd related

From: Tony Lindgren
Date: Fri Sep 08 2023 - 00:42:07 EST


* Tony Lindgren <tony@xxxxxxxxxxx> [230907 13:51]:
> So I tried something similar with just kernel and ramdisk:
>
> qemu-system-x86_64 \
> -m 768 \
> -machine pc-i440fx-2.1,accel=kvm,usb=off,dump-guest-core=off \
> -nodefaults \
> -kernel ~/bzImage \
> -initrd ~/ramdisk.img \
> -serial stdio \
> -append "console=ttyS0 debug"
>
> It boots just fine for me. Console seems to come up a bit faster if I
> leave out the machine option. I tried this with qemu 8.0.3 on a m1 laptop
> running linux in case the machine running the qemu host might make some
> difference..

Sorry I noticed that the above example I tried on my x86_64 box, no on m1.
On m1 accel=kvm needs to be left out. Both cases work fine for me though.

Regards,

Tony