-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qemu fails to start when more than 8 CPUs are set #2190
Comments
It looks like this is a limitation of qemu when using the There is a lot of background information at utmapp/UTM#3180 TL;DR:
Tasks:
|
Good to know what the root cause is - although it actually means that running on e.g. a Mac Studio with 20 cores and e.g. assigning 14 Cores for containerized workloads does not work. Is there any other solution for this? |
Unfortunately I don't see one right now. I'm not following the qemu mailing list, but it looks like the discussions about these things are somewhat contentious. 😞 I hope that one day we can take a look at using the Apple virtual machine framework as a configurable alternative to qemu, but I have no idea how much work this will be. |
I just started to download UTM and spawn an x86_64 emulated VM on Linux basis with 32 GB memory and 12 Cores - so far so good |
@rak-phillip we should have a separate ticket to have a UI hard limit with a tool tip for this. "We know you have 24 CPUs but based on the VM limitations, it'll be set to 8." or something. |
The QEMU issue to track GICv3 support which would enable -smp > 8 is this: https://gitlab.com/qemu-project/qemu/-/issues/743. I would appreciate Tested-by / Reviewed-by tags on the mailing list to push it forward :). |
Actual Behavior
If I request 9 cores on the Kubernetes settings menu Rancher Desktop fails to start the cluster.
The culprit seems to be found when looking at ha.stderr.log:
Hoping we can get the cpu slider dealio to restrict the number of cpus to be the lesser of either the available core count or whatever the max supported by qemu is.
Steps to Reproduce
Result
The culprit seems to be found when looking at ha.stderr.log:
Full ha.stderr.log:
Hoping we can get the cpu slider dealio to restrict the number of cpus to be the lesser of either the available core count or whatever the max supported by qemu is.
Expected Behavior
For the cluster to restart with the settings I specified.
For the GUI to only allow me to set a valid configuration.
Additional Information
M1 Pro (10 cores)
Rancher Desktop Version
1.3.0
Rancher Desktop K8s Version
1.23.6
Which container runtime are you using?
containerd (nerdctl)
What operating system are you using?
macOS
Operating System / Build Version
ProductName: macOS ProductVersion: 12.3.1 BuildVersion: 21E258
What CPU architecture are you using?
arm64 (Apple Silicon)
Linux only: what package format did you use to install Rancher Desktop?
No response
Windows User Only
No response
The text was updated successfully, but these errors were encountered: