Does vbox support APICv

Discussions related to using VirtualBox on Linux hosts.
Post Reply
vanever
Posts: 2
Joined: 4. Aug 2016, 06:01

Does vbox support APICv

Post by vanever »

Intel CPU has this feature in their production?

I've saw KVM/Xen already add support for leveraging hardware virtualized APIC, I wonder does vbox 5.1 already suport APICv?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Does vbox support APICv

Post by socratis »

I don't know if VirtualBox supports APICv or not. I don't recall seeing anything about it in the release logs, although I could be wrong. What is the test case that you would need APICv enabled? Can you provide an example?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
vanever
Posts: 2
Joined: 4. Aug 2016, 06:01

Re: Does vbox support APICv

Post by vanever »

I've a Cpu intensive program (2 busy threads acquiring the same lock, only the one with lock is busy) which takes 50 seconds with 2 cores, however 10 seconds with single core.

I suspect the APIC implementation make the differences. And found intel have already implement hardware assistant APIC. So if vbox have supported APICv. I'd like to take a try.
socratis wrote:I don't know if VirtualBox supports APICv or not. I don't recall seeing anything about it in the release logs, although I could be wrong. What is the test case that you would need APICv enabled? Can you provide an example?
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Any and all
Contact:

Re: Does vbox support APICv

Post by michaln »

vanever wrote:Intel CPU has this feature in their production?
Sort of... see below.
I wonder does vbox 5.1 already suport APICv?
No. I am not quite sure where the "APICv" name comes from (not Intel) but I assume you're talking to the additional APIC virtualization features added in the Haswell architecture (APIC register virtualization, posted interrupts). The catch is that only Xeon CPUs have this. So the it's of absolutely no use to the vast majority of VirtualBox users.

Do you have a CPU with these features?
Post Reply