From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli 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 Message-ID: <1436282167.22672.126.camel@citrix.com> References: <1435545899-22751-1-git-send-email-chong.li@wustl.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8032570569411716742==" Return-path: In-Reply-To: <1435545899-22751-1-git-send-email-chong.li@wustl.edu> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Chong Li Cc: Chong Li , 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 List-Id: xen-devel@lists.xenproject.org --===============8032570569411716742== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-HVXN5CYQdEB5rehjnxd/" --=-HVXN5CYQdEB5rehjnxd/ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, 2015-06-28 at 21:44 -0500, Chong Li wrote: > [Usage] > With this patchset in use, xl sched-rtds tool can: >=20 > 1) show the budget and period of each VCPU of each domain, by using "xl s= ched-rtds -v all" command. An example would be like: >=20 Ok. Thanks for this summary, and for including the actual output. > # xl sched-rtds -v all > Cpupool Pool-0: sched=3DRTDS > 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 >=20 Right. What happens with just `xl sched-rtds'? >=20 > 2) show the budget and period of each VCPU of a specific domain, by using= , =20 > e.g., "xl sched-rtds -d vm1 -v all" command. The output would be like: >=20 > # 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 >=20 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, ple= ase use, e.g.,"xl sched-rtds -d vm1 -v 0 -v 3" command. The output would be= : >=20 > # xl sched-rtds -d vm1 -v 0 -v 3 > Name ID VCPU Period Budget > vm1 1 0 300 150 > vm1 1 3 1000 500 >=20 >=20 > 3) Users can set the budget and period of multiple VCPUs of a specific do= main=20 > with only one command, e.g., "xl sched-rtds -d vm1 -v 0 -p 100 -b 50 -v 3= -p 300 -b 150". >=20 > 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 >=20 > --- > CC: > CC: > CC: > CC: > CC: > CC: > CC: > CC: > CC: >=20 >=20 > 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 >=20 > 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(-) >=20 --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-HVXN5CYQdEB5rehjnxd/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEABECAAYFAlWb7TcACgkQk4XaBE3IOsQTZACfU4AVQJ5LCP9SZ8huDBQ36fmp ZvQAn3S0SEJR9bZQQejZAqLJ4KEd2pB+ =3JGW -----END PGP SIGNATURE----- --=-HVXN5CYQdEB5rehjnxd/-- --===============8032570569411716742== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============8032570569411716742==--