Opened 5 months ago
Last modified 5 months ago
#18936 new bug
[kernel] high cpu usage with multiple cores in vbox
Reported by: | diver | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | System/Kernel | Version: | R1/beta4 |
Keywords: | Cc: | ||
Blocked By: | #14979 | Blocking: | |
Platform: | All |
Change History (3)
comment:1 by , 5 months ago
comment:2 by , 5 months ago
Summary: | [kernel] high cpu usage with multiple cores in vbox (regression) → [kernel] high cpu usage with multiple cores in vbox |
---|
So I compared VM settings with VBoxManage list vms --long
Turns out VMs created with Other/Unknown (64-bit)
profile have x2APIC
disabled which causes massive slowdown in Haiku and high cpu usage.
You can't enable it from the GUI so you need to run VBoxManage modifyvm "name" --x2apic on
.
When creating a VM with Ubuntu (64-bit)
profile x2APIC
is enabled by default. So I think we need to mention it here https://github.com/haiku/website/blob/master/content/guides/virtualizing/virtualbox.md
I wonder if Haiku can do better without x2apic being enabled?
comment:3 by , 5 months ago
Blocked By: | 14979 added |
---|
This is probably the same as #14979 then. The patch I posted to Gerrit was supposed to potentially help with this, but I guess it didn't.
Connected hrev57801 iso to the same VM I was bisecting it with made the issue disappear completely. Next step is to somehow compare vm settings.