From: Dario Faggioli <dario.faggioli@citrix.com>
To: Chong Li <lichong659@gmail.com>
Cc: Chong Li <chong.li@wustl.edu>,
wei.liu2@citrix.com, george.dunlap@eu.citrix.com,
ian.jackson@eu.citrix.com, xen-devel@lists.xen.org,
ian.campbell@eu.citrix.com, mengxu@cis.upenn.edu,
jbeulich@suse.com, dgolomb@seas.upenn.edu
Subject: Re: [PATCH v3 for Xen 4.6 0/4] Enable per-VCPU parameter settings for RTDS scheduler
Date: Tue, 7 Jul 2015 17:16:07 +0200 [thread overview]
Message-ID: <1436282167.22672.126.camel@citrix.com> (raw)
In-Reply-To: <1435545899-22751-1-git-send-email-chong.li@wustl.edu>
[-- Attachment #1.1: Type: text/plain, Size: 4559 bytes --]
On Sun, 2015-06-28 at 21:44 -0500, Chong Li wrote:
> [Usage]
> With this patchset in use, xl sched-rtds tool can:
>
> 1) show the budget and period of each VCPU of each domain, by using "xl sched-rtds -v all" command. An example would be like:
>
Ok. Thanks for this summary, and for including the actual output.
> # xl sched-rtds -v all
> Cpupool Pool-0: sched=RTDS
> Name ID VCPU Period Budget
> Domain-0 0 0 10000 4000
> vm1 1 0 300 150
> vm1 1 1 400 200
> vm1 1 2 10000 4000
> vm1 1 3 1000 500
> vm2 2 0 10000 4000
> vm2 2 1 10000 4000
>
Right. What happens with just `xl sched-rtds'?
>
> 2) show the budget and period of each VCPU of a specific domain, by using,
> e.g., "xl sched-rtds -d vm1 -v all" command. The output would be like:
>
> # xl sched-rtds -d vm1 -v all
> Name ID VCPU Period Budget
> vm1 1 0 300 150
> vm1 1 1 400 200
> vm1 1 2 10000 4000
> vm1 1 3 1000 500
>
Same as above: what happens with just `xl sched-rtds -d vm1'?
> To show a subset of the parameters of the VCPUs of a specific domain, please use, e.g.,"xl sched-rtds -d vm1 -v 0 -v 3" command. The output would be:
>
> # xl sched-rtds -d vm1 -v 0 -v 3
> Name ID VCPU Period Budget
> vm1 1 0 300 150
> vm1 1 3 1000 500
>
>
> 3) Users can set the budget and period of multiple VCPUs of a specific domain
> with only one command, e.g., "xl sched-rtds -d vm1 -v 0 -p 100 -b 50 -v 3 -p 300 -b 150".
>
> Users can set all VCPUs with the same parameters, by one command.
> e.g., "xl sched-rtds -d vm1 -v all -p 500 -b 250".
>
Forgive me for asking, as I really think it's rather obvious you've done
this, but I guess you've stress tested this by feeding the various
switches with arbitrary bad arguments, and checked that things do not
explode?
If you've done it, then fine. It's not necessary that you include (all)
the results of that too in here... I just wanted do double check because
this is certainly not the easiest piece of interface we have in xl.
Anyway, I'll give it a go too.
Regards,
Dario
>
> ---
> CC: <dario.faggioli@citrix.com>
> CC: <george.dunlap@eu.citrix.com>
> CC: <dgolomb@seas.upenn.edu>
> CC: <mengxu@cis.upenn.edu>
> CC: <jbeulich@suse.com>
> CC: <wei.liu2@citrix.com>
> CC: <lichong659@gmail.com>
> CC: <ian.jackson@eu.citrix.com>
> CC: <ian.campbell@eu.citrix.com>
>
>
> Chong Li (4):
> xen: enable per-VCPU parameter settings for RTDS scheduler
> libxc: enable per-VCPU parameter settings for RTDS scheduler
> libxl: enable per-VCPU parameter settings for RTDS scheduler
> xl: enable per-VCPU parameter settings for RTDS scheduler
>
> docs/man/xl.pod.1 | 4 +
> tools/libxc/include/xenctrl.h | 9 ++
> tools/libxc/xc_csched.c | 4 +-
> tools/libxc/xc_csched2.c | 4 +-
> tools/libxc/xc_rt.c | 64 +++++++++-
> tools/libxc/xc_sedf.c | 4 +-
> tools/libxl/libxl.c | 209 +++++++++++++++++++++++++++----
> tools/libxl/libxl.h | 17 +++
> tools/libxl/libxl_types.idl | 16 +++
> tools/libxl/xl_cmdimpl.c | 284 +++++++++++++++++++++++++++++++++++-------
> tools/libxl/xl_cmdtable.c | 10 +-
> xen/common/Makefile | 1 -
> xen/common/domctl.c | 3 +
> xen/common/sched_credit.c | 14 +--
> xen/common/sched_credit2.c | 6 +-
> xen/common/sched_rt.c | 80 +++++++++++-
> xen/common/schedule.c | 5 +-
> xen/include/public/domctl.h | 64 +++++++---
> 18 files changed, 680 insertions(+), 118 deletions(-)
>
--
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2015-07-07 15:16 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-29 2:44 [PATCH v3 for Xen 4.6 0/4] Enable per-VCPU parameter settings for RTDS scheduler Chong Li
2015-06-29 2:44 ` [PATCH v3 for Xen 4.6 1/4] xen: enable " Chong Li
2015-07-07 8:59 ` Jan Beulich
2015-07-07 14:39 ` Dario Faggioli
2015-07-08 6:06 ` Meng Xu
2015-07-08 8:33 ` Dario Faggioli
2015-07-09 1:16 ` Meng Xu
2015-07-10 9:51 ` Dario Faggioli
2015-07-07 14:55 ` Dario Faggioli
2015-07-07 16:09 ` Jan Beulich
2015-07-07 15:33 ` Chong Li
2015-07-07 15:41 ` Jan Beulich
2015-07-07 15:46 ` Dario Faggioli
2015-07-07 14:51 ` Dario Faggioli
2015-06-29 2:44 ` [PATCH v3 for Xen 4.6 2/4] libxc: " Chong Li
2015-06-30 12:22 ` Ian Campbell
2015-06-30 15:18 ` Chong Li
2015-06-30 15:32 ` Ian Campbell
2015-06-30 15:57 ` Chong Li
2015-06-30 16:04 ` Ian Campbell
2015-06-29 2:44 ` [PATCH v3 for Xen 4.6 3/4] libxl: " Chong Li
2015-06-30 12:26 ` Ian Campbell
2015-06-30 15:42 ` Chong Li
2015-06-30 15:57 ` Ian Campbell
2015-06-30 16:10 ` Chong Li
2015-06-30 16:19 ` Ian Campbell
2015-06-30 16:53 ` Chong Li
2015-07-01 0:54 ` Meng Xu
2015-07-01 8:48 ` Ian Campbell
2015-07-01 12:50 ` Dario Faggioli
2015-07-01 16:59 ` Chong Li
2015-07-07 16:23 ` Dario Faggioli
2015-07-08 14:35 ` Chong Li
2015-07-08 14:45 ` Dario Faggioli
2015-06-29 2:44 ` [PATCH v3 for Xen 4.6 4/4] xl: " Chong Li
2015-07-07 15:34 ` Dario Faggioli
2015-07-07 16:01 ` Chong Li
2015-07-07 15:16 ` Dario Faggioli [this message]
2015-07-07 16:11 ` [PATCH v3 for Xen 4.6 0/4] Enable " Chong Li
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=1436282167.22672.126.camel@citrix.com \
--to=dario.faggioli@citrix.com \
--cc=chong.li@wustl.edu \
--cc=dgolomb@seas.upenn.edu \
--cc=george.dunlap@eu.citrix.com \
--cc=ian.campbell@eu.citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=jbeulich@suse.com \
--cc=lichong659@gmail.com \
--cc=mengxu@cis.upenn.edu \
--cc=wei.liu2@citrix.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).