summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm
diff options
context:
space:
mode:
authorSuraj Jitindar Singh2016-10-14 02:53:22 +0200
committerPaul Mackerras2016-11-28 01:48:47 +0100
commitf4944613ad1ab6760589d5791488be1236c07fcc (patch)
tree24b650324edfb6925ce490a547bf2c3843cee8df /arch/powerpc/kvm
parentKVM: PPC: Book3S HV: Add check for module parameter halt_poll_ns (diff)
downloadkernel-qcow2-linux-f4944613ad1ab6760589d5791488be1236c07fcc.tar.gz
kernel-qcow2-linux-f4944613ad1ab6760589d5791488be1236c07fcc.tar.xz
kernel-qcow2-linux-f4944613ad1ab6760589d5791488be1236c07fcc.zip
KVM: PPC: Decrease the powerpc default halt poll max value
KVM_HALT_POLL_NS_DEFAULT is an arch specific constant which sets the default value of the halt_poll_ns kvm module parameter which determines the global maximum halt polling interval. The current value for powerpc is 500000 (500us) which means that any repetitive workload with a period of less than that can drive the cpu usage to 100% where it may have been mostly idle without halt polling. This presents the possibility of a large increase in power usage with a comparatively small performance benefit. Reduce the default to 10000 (10us) and a user can tune this themselves to set their affinity for halt polling based on the trade off between power and performance which they are willing to make. Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'arch/powerpc/kvm')
0 files changed, 0 insertions, 0 deletions