From: George Dunlap <george.dunlap@eu.citrix.com>
To: Dario Faggioli <dario.faggioli@citrix.com>,
Xen-devel <xen-devel@lists.xen.org>
Cc: Keir Fraser <keir@xen.org>, Jan Beulich <JBeulich@suse.com>
Subject: Re: [PATCH v2 4/4] xen: credit2: add a few performance counters
Date: Mon, 16 Mar 2015 17:30:13 +0000 [thread overview]
Message-ID: <55071325.9090601@eu.citrix.com> (raw)
In-Reply-To: <20150227165138.32500.9623.stgit@Solace.station>
On 02/27/2015 04:51 PM, Dario Faggioli wrote:
> for events that are specific to Credit2 (as it happens
> for Credit1 already).
>
> Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
> Cc: George Dunlap <george.dunlap@eu.citrix.com>
> Cc: Jan Beulich <JBeulich@suse.com>
> Cc: Keir Fraser <keir@xen.org>
> Acked-by: Jan Beulich <jbeulich@suse.com>
> ---
> Changes from v1:
> * fixed the repeated typo in perfc_defn.h, as requested
> during review.
> ---
> xen/common/sched_credit2.c | 23 +++++++++++++++++++++++
> xen/include/xen/perfc_defn.h | 15 ++++++++++++++-
> 2 files changed, 37 insertions(+), 1 deletion(-)
>
> diff --git a/xen/common/sched_credit2.c b/xen/common/sched_credit2.c
> index c0f7452..bf0d651 100644
> --- a/xen/common/sched_credit2.c
> +++ b/xen/common/sched_credit2.c
> @@ -654,6 +654,8 @@ static void reset_credit(const struct scheduler *ops, int cpu, s_time_t now,
> }
> }
>
> + SCHED_STAT_CRANK(credit_reset);
> +
Is this one actually useful? Anyway, it's the only one I could find
that I had that question for, so not a big deal to leave it in. :-)
One more minor thing:
> diff --git a/xen/include/xen/perfc_defn.h b/xen/include/xen/perfc_defn.h
> index f754331..526002d 100644
> --- a/xen/include/xen/perfc_defn.h
> +++ b/xen/include/xen/perfc_defn.h
> @@ -28,10 +28,10 @@ PERFCOUNTER(vcpu_wake_runnable, "sched: vcpu_wake_runnable")
> PERFCOUNTER(vcpu_wake_not_runnable, "sched: vcpu_wake_not_runnable")
> PERFCOUNTER(tickle_idlers_none, "sched: tickle_idlers_none")
> PERFCOUNTER(tickle_idlers_some, "sched: tickle_idlers_some")
> +PERFCOUNTER(vcpu_check, "sched: vcpu_check")
>
> /* credit specific counters */
> PERFCOUNTER(delay_ms, "csched: delay")
> -PERFCOUNTER(vcpu_check, "csched: vcpu_check")
You forgot to mention making this one generic in your patch description.
But that's probably not worth a re-spin either. :-)
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
-George
next prev parent reply other threads:[~2015-03-16 17:30 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-27 16:50 [PATCH v2 0/4] xen: sched: rework and add performance counters Dario Faggioli
2015-02-27 16:50 ` [PATCH v2 1/4] xen: sched: honour generic perf conuters in the RTDS scheduler Dario Faggioli
2015-03-16 17:01 ` George Dunlap
2015-02-27 16:51 ` [PATCH v2 2/4] xen: sched: make counters for vCPU sleep and wakeup generic Dario Faggioli
2015-03-16 17:18 ` George Dunlap
2015-03-17 10:48 ` Dario Faggioli
2015-03-17 11:12 ` George Dunlap
2015-02-27 16:51 ` [PATCH v2 3/4] xen: sched: make counters for vCPU tickling generic Dario Faggioli
2015-03-16 17:19 ` George Dunlap
2015-02-27 16:51 ` [PATCH v2 4/4] xen: credit2: add a few performance counters Dario Faggioli
2015-03-16 17:30 ` George Dunlap [this message]
2015-03-12 12:51 ` [PATCH v2 0/4] xen: sched: rework and add " Dario Faggioli
2015-03-12 14:53 ` George Dunlap
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=55071325.9090601@eu.citrix.com \
--to=george.dunlap@eu.citrix.com \
--cc=JBeulich@suse.com \
--cc=dario.faggioli@citrix.com \
--cc=keir@xen.org \
--cc=xen-devel@lists.xen.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 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.