-
Notifications
You must be signed in to change notification settings - Fork 139
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
feat(vmm): MPS support when ACPI is not supported/available #1840
Comments
Just to be clear, atm I don't care much about Firecracker support, at least not for production and/or long running services. Have yet to test, but I suspect that also qemu microvm requires this. While I understand that this may not be the target for nanos, I still think it has a valid use case. I.e: we could use this in dev environments onprem or in clouds that support nested virtualization (do,gcp,...) where booting the whole dev infrastructure in milliseconds is a nice dev experience. |
MP tables are a legacy, x86-only mechanism for reporting CPU information, and you are right, Nanos does not implement MP table detection. We could add MP table support, but even Firecracker is likely going to drop MP table support and transition to ACPI: there is a feature request for this, and a PR has already been opened. |
edit: this is the correct pr firecracker-microvm/firecracker#4428 and nanos works as expected "machine-config": {
"vcpu_count": 4,
}
|
It seems to me that the PRs you mentioned are unrelated to ACPI. Anyway, I just saw another PR (firecracker-microvm/firecracker#4428) which finally adds ACPI support to Firecracker, and has been merged into the main branch last month. |
thanks, somehow I mixed the links (was investigating some other unrelated stuff around pvh), but yeah firecracker-microvm/firecracker#4428 is the one |
for reference firecracker-microvm/firecracker#4428 was merged and released at https://github.com/firecracker-microvm/firecracker/releases/tag/v1.8.0 |
Well probably on Firecracker it works (
kind of
) because afaik Firecracker does not implement/support ACPI, which is used by nanos for power handling and CPU(s) discovery.Hence nanos, from what I understand, being unable to process MP detection without ACPI support, (couldn't find anything related to MP Floating Pointer Structure/MP Configuration Table parsing), falls back to single CPU by default (no matter the VM config you provide to it)
Firecracker
nanoswe pass
4 vcpus
, but still nanos starts just1
nanos output:
Originally posted by @rinor in #1838 (comment)
The text was updated successfully, but these errors were encountered: