From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH v1 0/4] Enabling XL to set per-VCPU parameters of a domain for RTDS scheduler Date: Mon, 11 May 2015 11:56:29 +0200 Message-ID: <1431338189.8979.5.camel@citrix.com> References: <1431018326-3239-1-git-send-email-chong.li@wustl.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2281006622843652339==" Return-path: In-Reply-To: <1431018326-3239-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, xen-devel@lists.xen.org, mengxu@cis.upenn.edu, jbeulich@suse.com, dgolomb@seas.upenn.edu List-Id: xen-devel@lists.xenproject.org --===============2281006622843652339== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ECW21o0jkcFA66X5+UY6" --=-ECW21o0jkcFA66X5+UY6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2015-05-07 at 12:05 -0500, Chong Li wrote: > [Goal] > The current xl sched-rtds tool can only set the VCPUs of a domain to the = same parameter > although the scheduler supports VCPUs with different parameters. This pat= chset is to > enable xl sched-rtds tool to configure the VCPUs of a domain with differe= nt parameters. >=20 > This per-VCPU settings can be used in many scenarios. For example, based = on Dario's statement in our pervious discussion(http://lists.xen.org/archiv= es/html/xen-devel/2014-09/msg00423.html), if there are two real-time applic= ations, which have different timing requirements, running in a multi-VCPU g= uest domain, it is beneficial to pin these two applications to two seperate= VCPUs with different scheduling parameters. >=20 Right. And in fact, I'm glad to see this is happening, thanks for doing this work! :-) > 1) show the budget and period of each VCPU of each domain, by using "xl s= ched-rtds" command. An example would be like: > > [..] > > 2) show the budget and period of each VCPU of a specific domain, by using= , =20 > e.g., "xl sched-rtds -d vm1" command. The output would be like: > > [..] > > 3) set the budget and period of each VCPU of a specific domain, by using, > e.g., "xl sched-rtds -d vm1 -v 0 -p 100 -b 50" command (where "-v 0" spec= ifies > the VCPU with ID=3D0). The parameters would be like: > > [..] > > 4) Users can still set the per-domain parameters (previous xl rtds tool a= lready supported this). > e.g., "xl sched-rtds -d vm1 -p 500 -b 250". The parameters would be like: > The CLI looks nice to me. I'm wondering, what happens if the user tries to only alter the budget or the period of a vcpu (or of a domain)? I think that is not possible right now, is it? Would it make sense to allow that? I think it would, but this can well happen later, once we will have this in. Regards, Dario --=-ECW21o0jkcFA66X5+UY6 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 iEYEABECAAYFAlVQfM0ACgkQk4XaBE3IOsTRUgCdH8zAG1HFqxx8iwXoPyx5OGUU NMwAoKcnSq+kYXYgD8Rq+zDOsHEyVwf8 =6oSK -----END PGP SIGNATURE----- --=-ECW21o0jkcFA66X5+UY6-- --===============2281006622843652339== 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 --===============2281006622843652339==--