tha*_*smo 5 hardware virtualization virtual-machines central-processing-unit
我正在配置一些 VMware 和 Virtualbox VM,包括 32 位和 64 位,并且我所有的引导命令都以/install/vmlinuz noapic.
在网络上搜索有关 APIC 等的信息并没有给我一个明确的答案何时使用 APIC。
Does it depend on the amount of CPU cores the machine has installed?
Should APIC be disabled when used on virtual machines?
Does it depend on special features supported by the CPU?
Does it matter if it's a 32 or 64 bit OS/machine?
Is APIC generally a bad thing, because still unstable?
Does it matter setting noapic in the boot command or will the virtualizer override this anyway?
I've read that some issues related to hibernation/booting etc. can occur when APIC is on, but on the other hand I've also read that nowadays modern machines/OS support APIC well.
Thanks a lot for your feedback on this!
现在是 2013 年,几乎没有充分的理由禁用 APIC,但却有很多充分的理由启用它。
15 年前情况可能并非如此,当时 APIC 还很新,各个硬件供应商还没有很好地实现,但很长一段时间以来情况并非如此。
Microsoft 的解释(从 2003 年开始!)可能是我能给您的最好的解释,我很惊讶您没有找到它,因为它是从 APIC 上的维基百科页面链接的。
从本质上讲,APIC 是对 20 世纪 80 年代旧 PC 中断系统的巨大改进,允许更多中断和更少中断共享。这意味着更好的性能和使用更多外围设备的能力,无论机器是物理的还是虚拟的,这两者都是如此。
经验法则是:APIC 应始终启用,除非有特定原因禁用它,例如使用古老的硬件,或使用非 APIC HAL 虚拟化旧的 NT/2000 系统。