All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Borntraeger <borntraeger@de.ibm.com>
To: Suraj Jitindar Singh <sjitindarsingh@gmail.com>,
	linuxppc-dev@lists.ozlabs.org, pbonzini@redhat.com
Cc: kvm-ppc@vger.kernel.org, kvm@vger.kernel.org, mpe@ellerman.id.au,
	paulus@samba.org, benh@kernel.crashing.org, agraf@suse.com,
	rkrcmar@redhat.com, dmatlack@google.com
Subject: Re: [PATCH V4 5/5] powerpc/kvm/stats: Implement existing and add new halt polling vcpu stats
Date: Tue, 19 Jul 2016 08:41:21 +0000	[thread overview]
Message-ID: <578DE7B1.4000506@de.ibm.com> (raw)
In-Reply-To: <1468915977-26929-5-git-send-email-sjitindarsingh@gmail.com>

On 07/19/2016 10:12 AM, Suraj Jitindar Singh wrote:

> Also add new vcpu stats: halt_poll_success_ns, halt_poll_fail_ns and
> halt_wait_ns to be used to accumulate the total time spend polling
> successfully, polling unsuccessfully and waiting respectively, and
> halt_successful_wait to accumulate the number of times the vcpu waits.
> Given that halt_poll_success_ns, halt_poll_fail_ns and halt_wait_ns are
> expressed in nanoseconds it is necessary to represent these as 64-bit
> quantities, otherwise they would overflow after only about 4 seconds.


Paolo, would these new kvm_stats also be useful for the base implementation?


WARNING: multiple messages have this Message-ID (diff)
From: Christian Borntraeger <borntraeger@de.ibm.com>
To: Suraj Jitindar Singh <sjitindarsingh@gmail.com>,
	linuxppc-dev@lists.ozlabs.org, pbonzini@redhat.com
Cc: kvm-ppc@vger.kernel.org, kvm@vger.kernel.org, mpe@ellerman.id.au,
	paulus@samba.org, benh@kernel.crashing.org, agraf@suse.com,
	rkrcmar@redhat.com, dmatlack@google.com
Subject: Re: [PATCH V4 5/5] powerpc/kvm/stats: Implement existing and add new halt polling vcpu stats
Date: Tue, 19 Jul 2016 10:41:21 +0200	[thread overview]
Message-ID: <578DE7B1.4000506@de.ibm.com> (raw)
In-Reply-To: <1468915977-26929-5-git-send-email-sjitindarsingh@gmail.com>

On 07/19/2016 10:12 AM, Suraj Jitindar Singh wrote:

> Also add new vcpu stats: halt_poll_success_ns, halt_poll_fail_ns and
> halt_wait_ns to be used to accumulate the total time spend polling
> successfully, polling unsuccessfully and waiting respectively, and
> halt_successful_wait to accumulate the number of times the vcpu waits.
> Given that halt_poll_success_ns, halt_poll_fail_ns and halt_wait_ns are
> expressed in nanoseconds it is necessary to represent these as 64-bit
> quantities, otherwise they would overflow after only about 4 seconds.


Paolo, would these new kvm_stats also be useful for the base implementation?

  reply	other threads:[~2016-07-19  8:41 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-19  8:12 [PATCH V4 1/5] kvm/ppc/book3s: Move struct kvmppc_vcore from kvm_host.h to kvm_book3s.h Suraj Jitindar Singh
2016-07-19  8:12 ` Suraj Jitindar Singh
2016-07-19  8:12 ` [PATCH V4 2/5] kvm/ppc/book3s_hv: Change vcore element runnable_threads from linked-list to array Suraj Jitindar Singh
2016-07-19  8:12   ` Suraj Jitindar Singh
2016-07-19  8:12 ` [PATCH V4 3/5] kvm/ppc/book3s_hv: Implement halt polling in the kvm_hv kernel module Suraj Jitindar Singh
2016-07-19  8:12   ` Suraj Jitindar Singh
2016-07-19  8:38   ` Christian Borntraeger
2016-07-19  8:38     ` Christian Borntraeger
2016-07-19 18:58   ` David Matlack
2016-07-19 18:58     ` David Matlack
2016-07-21  9:24     ` Suraj Jitindar Singh
2016-07-21  9:24       ` Suraj Jitindar Singh
2016-07-19  8:12 ` [PATCH V4 4/5] kvm/stats: Add provisioning for ulong vm stats and u64 vcpu stats Suraj Jitindar Singh
2016-07-19  8:12   ` Suraj Jitindar Singh
2016-07-19  8:52   ` Christian Borntraeger
2016-07-19  8:52     ` Christian Borntraeger
2016-07-19 19:17   ` David Matlack
2016-07-19 19:17     ` David Matlack
2016-07-19  8:12 ` [PATCH V4 5/5] powerpc/kvm/stats: Implement existing and add new halt polling " Suraj Jitindar Singh
2016-07-19  8:12   ` Suraj Jitindar Singh
2016-07-19  8:41   ` Christian Borntraeger [this message]
2016-07-19  8:41     ` Christian Borntraeger
2016-07-19 19:20   ` David Matlack
2016-07-19 19:20     ` David Matlack

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=578DE7B1.4000506@de.ibm.com \
    --to=borntraeger@de.ibm.com \
    --cc=agraf@suse.com \
    --cc=benh@kernel.crashing.org \
    --cc=dmatlack@google.com \
    --cc=kvm-ppc@vger.kernel.org \
    --cc=kvm@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=paulus@samba.org \
    --cc=pbonzini@redhat.com \
    --cc=rkrcmar@redhat.com \
    --cc=sjitindarsingh@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.