Qemu command:
qemu-system-aarch64 -name guest=12345,debug-threads=on -machine virt,accel=kvm,usb=off,dump-guest-core=off,gic-version=3 \
-cpu host -m 122880 -object iothread,id=iothread1 \
-object memory-backend-ram,id=ram-node0,size=64424509440,host-nodes=0,policy=preferred -numa node,nodeid=0,cpus=0-29,memdev=ram-node0 \
-object memory-backend-ram,id=ram-node1,size=64424509440,host-nodes=1,policy=preferred -numa node,nodeid=1,cpus=30-59,memdev=ram-node1 \
-smp 60,sockets=2,cores=30,threads=1 -bios /usr/share/AAVMF/AAVMF_CODE.fd \
-device pcie-root-port,port=0x8,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x1 \
-device pcie-root-port,port=0x9,chassis=2,id=pci.2,bus=pcie.0,addr=0x1.0x1 \
-drive file=/data/euler/euler.qcow2,format=qcow2,if=none,id=drive-virtio-disk0,cache=none \
-device virtio-blk-pci,scsi=off,bus=pci.1,addr=0x0,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 \
-net none -serial telnet::9001,server,nowait -monitor stdio
Guest startup logs:
[ 3.769390] smp: Brought up 2 nodes, 60 CPUs
[ 4.125100] SMP: Total of 60 processors activated.
[ 4.126246] CPU features: detected: Privileged Access Never
[ 4.127625] CPU features: detected: LSE atomic instructions
[ 4.128969] CPU features: detected: User Access Override
[ 4.130261] CPU features: detected: Data cache clean to Point of Persistence
[ 4.131949] CPU features: detected: RAS Extension Support
[ 4.133253] CPU features: detected: ARM64 MPAM Extension Support
[ 4.134704] CPU features: detected: CRC32 instructions
[ 4.184286] CPU: All CPU(s) started at EL1
[ 4.185891] alternatives: patching kernel code
[ 64.308834] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[ 64.310827] rcu:
(detected by 0, t=15002 jiffies, g=-719, q=0)
[ 64.312260] rcu: All QSes seen, last rcu_sched kthread activity 15002 (4294908290-4294893288), jiffies_till_next_fqs=1, root ->qsmask 0x0
[ 64.315251] swapper/0 R running task 0 1 0 0x0000002a
[ 64.316930] Call trace:
[ 64.317533] dump_backtrace+0x0/0x198
[ 64.318432] show_stack+0x24/0x30
[ 64.319248] sched_show_task+0x12c/0x160
[ 64.320206] rcu_check_callbacks+0x780/0x7a8
[ 64.321253] update_process_times+0x34/0x60
[ 64.322296] tick_periodic+0x48/0x100
[ 64.323193] tick_handle_periodic+0x38/0xd8
[ 64.324224] arch_timer_handler_virt+0x38/0x58
[ 64.325320] handle_percpu_devid_irq+0x90/0x248
[ 64.326419] generic_handle_irq+0x34/0x50
[ 64.327383] __handle_domain_irq+0x68/0xc0
[ 64.328367] gic_handle_irq+0x6c/0x170
[ 64.329275] el1_irq+0xb8/0x140
[ 64.330040] __bitmap_weight+0x48/0xa0
[ 64.330942] build_sched_domains+0xd58/0xf50
[ 64.331962] sched_init_domains+0xd4/0x108
[ 64.332950] sched_init_smp+0x3c/0x8c
[ 64.333842] kernel_init_freeable+0x17c/0x34c
[ 64.334891] kernel_init+0x18/0x118
[ 64.335735] ret_from_fork+0x10/0x18