From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH v4 for Xen 4.6 0/4] Enable per-VCPU parameter settings for RTDS scheduler Date: Mon, 27 Jul 2015 17:14:19 +0200 Message-ID: <1438010059.5036.186.camel@citrix.com> References: <1436590356-3706-1-git-send-email-chong.li@wustl.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5463561560594517751==" Return-path: In-Reply-To: <1436590356-3706-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 --===============5463561560594517751== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-3g+Yx/cmJN2Ap0hPBc/N" --=-3g+Yx/cmJN2Ap0hPBc/N Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2015-07-10 at 23:52 -0500, Chong Li wrote: > Using "xl sched-rtds" will output the default scheduling parameters > for each domain. An example would be like: >=20 > # xl sched-rtds > Cpupool Pool-0: sched=3DRTDS > Name ID Period Budget > Domain-0 0 10000 4000 > vm1 1 10000 4000 > vm2 2 10000 4000 > Using command, e.g., "xl sched-rtds -d vm1" will output the default > scheduling parameters of vm1. An example would be like: >=20 > # xl sched-rtds -d vm1 > Name ID Period Budget > vm1 1 10000 4000 >=20 Thanks for making these two works. I think it would be great if we could, in this case, output somehow and somewhere that we are actually showing some defaults, instead than anything that is really in use. I don't know whether with something like this: # xl sched-rtds Cpupool Pool-0: sched=3DRTDS Name ID Period Budget Domain-0 (defaults) 0 10000 4000 vm1 (defaults) 1 10000 4000 vm2 (defaults) 2 10000 4000 # xl sched-rtds -d vm1 Name ID Period Budget vm1 (defaults) 1 10000 4000 Or by "just" adding a note before the actual output: # xl sched-rtds -d vm1 Showing per-vm(s) default scheduling parameters, use `-v' for seeing the actual parameters of each vcpu Name ID Period Budget vm1 1 10000 4000 The latter is more verbose, but I think is what I see as more useful (and, probably, the easier to implement). Regards, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-3g+Yx/cmJN2Ap0hPBc/N Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEABECAAYFAlW2SssACgkQk4XaBE3IOsSbzQCghXwRnTYFUwayW8vE4/g6X+d7 9HMAn2UjCrqbqwgdi0xZotD5jaWTrWN1 =8Du9 -----END PGP SIGNATURE----- --=-3g+Yx/cmJN2Ap0hPBc/N-- --===============5463561560594517751== 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 --===============5463561560594517751==--