diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-06-18 23:36:50 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-06-18 23:36:50 +0000 |
commit | e8596803e3380f640c7e4f514e97fd1d6866a7ff (patch) | |
tree | 4d82737c062c407704dcce653edd4b56bfdb7c2f /target/linux/x86/kvm_guest | |
parent | 7f0ce50d3c312d2f7c498e5ba16882cecaf3214d (diff) | |
download | upstream-e8596803e3380f640c7e4f514e97fd1d6866a7ff.tar.gz upstream-e8596803e3380f640c7e4f514e97fd1d6866a7ff.tar.bz2 upstream-e8596803e3380f640c7e4f514e97fd1d6866a7ff.zip |
optimize kernel config for kvm_guest
This patch enables few extra kernel options for the kvm_guest subtarget:
- Tickless kernel to avoid timer ticks in idle guests, reduces CPU usage
- Enable paravirtualization steal time support
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32436 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/x86/kvm_guest')
-rw-r--r-- | target/linux/x86/kvm_guest/config-3.3 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/x86/kvm_guest/config-3.3 b/target/linux/x86/kvm_guest/config-3.3 index 4e4ae73529..ad4025bd19 100644 --- a/target/linux/x86/kvm_guest/config-3.3 +++ b/target/linux/x86/kvm_guest/config-3.3 @@ -22,6 +22,7 @@ CONFIG_ACPI_PROCESSOR=y # CONFIG_ACPI_WMI is not set # CONFIG_ASUS_LAPTOP is not set CONFIG_CONSOLE_TRANSLATIONS=y +CONFIG_CPU_IDLE_GOV_MENU=y CONFIG_DUMMY_CONSOLE=y # CONFIG_EFI is not set # CONFIG_HPET is not set @@ -38,11 +39,12 @@ CONFIG_KVM_GUEST=y # CONFIG_LGUEST is not set # CONFIG_LGUEST_GUEST is not set CONFIG_NLS=y +CONFIG_NO_HZ=y CONFIG_PARAVIRT=y CONFIG_PARAVIRT_CLOCK=y # CONFIG_PARAVIRT_DEBUG is not set CONFIG_PARAVIRT_GUEST=y -# CONFIG_PARAVIRT_TIME_ACCOUNTING is not set +CONFIG_PARAVIRT_TIME_ACCOUNTING=y CONFIG_PCI_IOAPIC=y CONFIG_PCI_LABEL=y CONFIG_PCI_MMCONFIG=y |