public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Hollis Blanchard <hollisb-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	kvm-ppc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Christian Ehrhardt
	<ehrhardt-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
Subject: Re: [PATCH 0 of 6] PowerPC KVM patches for 2.6.29
Date: Wed, 03 Dec 2008 19:06:24 +0200	[thread overview]
Message-ID: <4936BC90.9060401@redhat.com> (raw)
In-Reply-To: <1228320269.10084.7.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>

Hollis Blanchard wrote:
>
>> I'm not thrilled about the private exit timing statistics gathering, 
>> hopefully it can be morphed into the more general framework.
>>     
>
> Is there anything in particular you have in mind? I think it could be
> generally useful, but since x86 has hardware support for performance
> monitoring, oprofile will already give you more accurate information. Of
> course, I don't think you could extract standard deviation from an
> oprofile report, and that has been very useful for us because it can
> tell us e.g. 99% of instruction emulation is handled in the minimum
> amount of time, but 1% takes hundreds of ms.
>   

kvmtrace is basically a bunch of trace_marker()s sprinkled around the 
code.  the marker infrastructure allow you to attach a callback to the 
markers, where you can do the accounting.  The nice thing it can be 
switched off at runtime, being replaced by a nop so 
compiled-in-but-disabled overhead is very low.

-- 
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2008-12-03 17:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-02 21:51 [PATCH 0 of 6] PowerPC KVM patches for 2.6.29 Hollis Blanchard
2008-12-02 21:51 ` [PATCH 1 of 6] kvm: ppc: support large host pages Hollis Blanchard
2008-12-02 21:51 ` [PATCH 2 of 6] powerpc/44x: declare tlb_44x_index for use in C code Hollis Blanchard
2008-12-02 21:51 ` [PATCH 3 of 6] kvm: ppc: directly insert shadow mappings into the hardware TLB Hollis Blanchard
2008-12-02 21:51 ` [PATCH 4 of 6] kvm: ppc: save and restore guest mappings on context switch Hollis Blanchard
2008-12-02 21:51 ` [PATCH 5 of 6] kvm: ppc: Implement in-kernel exit timing statistics Hollis Blanchard
2008-12-02 21:51 ` [PATCH 6 of 6] kvm: ppc: mostly cosmetic updates to the exit timing accounting code Hollis Blanchard
2008-12-03 11:32 ` [PATCH 0 of 6] PowerPC KVM patches for 2.6.29 Avi Kivity
     [not found]   ` <49366E68.4080904-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2008-12-03 16:04     ` Hollis Blanchard
     [not found]       ` <1228320269.10084.7.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2008-12-03 17:06         ` Avi Kivity [this message]
2008-12-03 19:22           ` Hollis Blanchard
2008-12-03 19:31             ` Hollis Blanchard

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=4936BC90.9060401@redhat.com \
    --to=avi-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=ehrhardt-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org \
    --cc=hollisb-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org \
    --cc=kvm-ppc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /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