public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] KVM: s390: change default halt poll to 50000
@ 2019-05-15  8:23 Christian Borntraeger
  2019-05-15 10:22 ` David Hildenbrand
  2019-05-15 11:34 ` Cornelia Huck
  0 siblings, 2 replies; 5+ messages in thread
From: Christian Borntraeger @ 2019-05-15  8:23 UTC (permalink / raw)
  To: Janosch Frank
  Cc: KVM, Cornelia Huck, Christian Borntraeger, David Hildenbrand,
	Paolo Bonzini, Radim Krčmář, Collin Walling,
	Jason J . Herne

older performance measurements indicated that 50000 vs 80000 reduces cpu
consumption while still providing the benefit of halt polling. We had
this change in the IBM KVM product, but it got lost so it never went
upstream. Recent re-measurement indicate that 50k is still better than
80k.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
---
 arch/s390/include/asm/kvm_host.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/s390/include/asm/kvm_host.h b/arch/s390/include/asm/kvm_host.h
index dbe254847e0d..cb63cc7bbf06 100644
--- a/arch/s390/include/asm/kvm_host.h
+++ b/arch/s390/include/asm/kvm_host.h
@@ -36,7 +36,7 @@
  */
 #define KVM_NR_IRQCHIPS 1
 #define KVM_IRQCHIP_NUM_PINS 4096
-#define KVM_HALT_POLL_NS_DEFAULT 80000
+#define KVM_HALT_POLL_NS_DEFAULT 50000
 
 /* s390-specific vcpu->requests bit members */
 #define KVM_REQ_ENABLE_IBS	KVM_ARCH_REQ(0)
-- 
2.19.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-05-15 11:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-15  8:23 [PATCH] KVM: s390: change default halt poll to 50000 Christian Borntraeger
2019-05-15 10:22 ` David Hildenbrand
2019-05-15 10:26   ` Christian Borntraeger
2019-05-15 10:55   ` Janosch Frank
2019-05-15 11:34 ` Cornelia Huck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox