From: Janosch Frank <frankja@linux.ibm.com>
To: David Hildenbrand <david@redhat.com>,
Christian Borntraeger <borntraeger@de.ibm.com>,
Janosch Frank <frankja@linux.vnet.ibm.com>
Cc: KVM <kvm@vger.kernel.org>, "Cornelia Huck" <cohuck@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Radim Krčmář" <rkrcmar@redhat.com>,
"Collin Walling" <walling@linux.ibm.com>,
"Jason J . Herne" <jjherne@linux.ibm.com>
Subject: Re: [PATCH] KVM: s390: change default halt poll to 50000
Date: Wed, 15 May 2019 12:55:37 +0200 [thread overview]
Message-ID: <a742cf8b-d480-e469-6bda-2f34131781fb@linux.ibm.com> (raw)
In-Reply-To: <d4227b89-4161-084a-91dc-6178afe5aad0@redhat.com>
On 5/15/19 12:22 PM, David Hildenbrand wrote:
> "KVM: s390: change default halt poll time to 50us
>
> Recent measurements indicate that using 50us results in a reduced CPU
> consumption, while still providing the benefit of halt polling. Let's
> use 50us instead."
>
> Acked-by: David Hildenbrand <david@redhat.com>
With that change:
Acked-by: Janosch Frank <frankja@linux.vnet.ibm.com>
>
>
>
> On 15.05.19 10:23, Christian Borntraeger wrote:
>> 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)
>>
>
>
next prev parent reply other threads:[~2019-05-15 10:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2019-05-15 11:34 ` Cornelia Huck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a742cf8b-d480-e469-6bda-2f34131781fb@linux.ibm.com \
--to=frankja@linux.ibm.com \
--cc=borntraeger@de.ibm.com \
--cc=cohuck@redhat.com \
--cc=david@redhat.com \
--cc=frankja@linux.vnet.ibm.com \
--cc=jjherne@linux.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=rkrcmar@redhat.com \
--cc=walling@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox