Skip to content

Commit

Permalink
numa_prealloc_threads: sets smp to 1, avoiding boot up timeouts
Browse files Browse the repository at this point in the history
Sets smp to 1 and vcpu_max to 2 (not needed to change the vcpu_sockets)
this way the VM can boot up in a feasible time, four times faster than
before facing the timeout issues.

Signed-off-by: mcasquer <[email protected]>
  • Loading branch information
mcasquer committed Oct 22, 2024
1 parent d5093fb commit f8ea957
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qemu/tests/cfg/numa_prealloc_threads.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
login_timeout = 1000
qemu_command_prefix = "taskset -c 0 "
vm_thread_contexts = "tc1"
smp_fixed = 8
vcpu_maxcpus = ${smp_fixed}
smp_fixed = 1
vcpu_maxcpus = 2
not_preprocess = yes
first_cpu-affinity = "1-7"
variants:
Expand Down

0 comments on commit f8ea957

Please sign in to comment.