Test: Shadow (page tables) on EPT -- Enable EPT in L0 and disable it in L1. Run Kernel compile with defconfig. Setup info: ----------- L0: - 4 pCPU, 8G pMEM. - Version: $ uname -r; rpm -q qemu-kvm libvirt-daemon-kvm libguestfs 3.12.0-0.rc3.git1.2.fc21.x86_64 qemu-kvm-1.4.2-7.fc19.x86_64 libvirt-daemon-kvm-1.0.5.5-1.fc19.x86_64 libguestfs-1.22.5-1.fc19.x86_64 - KVM parameters: $ cat /sys/module/kvm_intel/parameters/nested Y $ cat /sys/module/kvm_intel/parameters/enable_shadow_vmcs N $ cat /sys/module/kvm_intel/parameters/ept Y L1: - 4 vCPU, 10G vMEM. - Version: $ uname -r; rpm -q qemu-kvm libvirt-daemon-kvm libguestfs 3.12.0-0.rc3.git1.2.fc21.x86_64 qemu-kvm-1.4.2-7.fc19.x86_64 libvirt-daemon-kvm-1.0.5.5-1.fc19.x86_64 libguestfs-1.22.5-1.fc19.x86_64 - KVM parameters: $ cat /sys/module/kvm_intel/parameters/nested Y $ cat /sys/module/kvm_intel/parameters/enable_shadow_vmcs N $ cat /sys/module/kvm_intel/parameters/ept N L2: - 3 vCPU, 3G vMEM. - Version: $ uname -r 3.12.0-0.rc3.git1.2.fc21.x86_64 Build Kernel w/ defconfig on L2: -------------------------------- $ yum install git gcc -y $ yum-builddep kernel $ git clone \ git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git $ cd linux $ git describe v3.12-rc3-267-g6d15ee4 $ git log | head -1 commit 6d15ee492809d38bd62237b6d0f6a81d4dd12d15 For 20 iterations of Kernel compile in L2 $ for i in {1..20}; do make clean; sync; \ sudo sh -c "echo 3 > /proc/sys/vm/drop_caches" \ time make -j2; done 2>&1 \ | tee make-timings-20-iterations-l2-30-aug.txt NOTES: ----- - "make clean" only removes files in file system, but does not clear memory (page-cache). To clean it: Either reboot L2 or set /proc/sys/vm/drop_caches as below: $ sync; echo 3 > /proc/sys/vm/drop_caches - To compile kvm.git queue on a test branch $ git branch -d test_nept1 origin/queue $ make -j6 && make bzImage && make modules $ sudo make modules_install && make install