A Linux kernel compile is a process heavy operation (lots of short-lived processes). Process creation/destruction involves setting up and tearing down MMU state. MMU virtualization is expensive (especially in software). There is a VMware whitepaper that shows the improvement in compile-time benchmarks when hardware MMU virtualization is used. I don't think the hardware used in the referenced slide provides hardware MMU virtualization. I don't know if either KVM or Xen support it (but I suspect so).
发布评论
评论(1)
Linux 内核编译是一个进程繁重的操作(许多短暂的进程)。进程创建/销毁涉及设置和拆除 MMU 状态。 MMU 虚拟化非常昂贵(尤其是在软件方面)。有一个 VMware 白皮书,显示了编译时基准测试的改进使用硬件MMU虚拟化。我认为引用的幻灯片中使用的硬件不提供硬件 MMU 虚拟化。我不知道 KVM 或 Xen 是否支持它(但我怀疑是这样)。
A Linux kernel compile is a process heavy operation (lots of short-lived processes). Process creation/destruction involves setting up and tearing down MMU state. MMU virtualization is expensive (especially in software). There is a VMware whitepaper that shows the improvement in compile-time benchmarks when hardware MMU virtualization is used. I don't think the hardware used in the referenced slide provides hardware MMU virtualization. I don't know if either KVM or Xen support it (but I suspect so).