public inbox for linuxppc-dev@ozlabs.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 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: 12+ 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 ` [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 ` [PATCH V4 3/5] kvm/ppc/book3s_hv: Implement halt polling in the kvm_hv kernel module Suraj Jitindar Singh
2016-07-19  8:38   ` Christian Borntraeger
2016-07-19 18:58   ` David Matlack
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:52   ` Christian Borntraeger
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:41   ` Christian Borntraeger [this message]
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$(echo .)ibm.com \
    --cc=agraf@suse$(echo .)com \
    --cc=benh@kernel$(echo .)crashing.org \
    --cc=dmatlack@google$(echo .)com \
    --cc=kvm-ppc@vger$(echo .)kernel.org \
    --cc=kvm@vger$(echo .)kernel.org \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=mpe@ellerman$(echo .)id.au \
    --cc=paulus@samba$(echo .)org \
    --cc=pbonzini@redhat$(echo .)com \
    --cc=rkrcmar@redhat$(echo .)com \
    --cc=sjitindarsingh@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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