From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH v1 4/4] xl: introduce rt scheduler Date: Fri, 5 Sep 2014 11:40:59 +0200 Message-ID: <1409910059.2673.260.camel@Solace.lan> References: <1408921125-21470-1-git-send-email-mengxu@cis.upenn.edu> <1408921125-21470-5-git-send-email-mengxu@cis.upenn.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8156598086751791235==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Meng Xu Cc: Ian Campbell , Sisu Xi , Stefano Stabellini , George Dunlap , Chenyang Lu , Ian Jackson , "xen-devel@lists.xen.org" , Linh Thi Xuan Phan , Meng Xu , Jan Beulich , Chao Wang , Chong Li , Dagaen Golomb List-Id: xen-devel@lists.xenproject.org --===============8156598086751791235== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-cGvF8oXfdK2Zqrd6QWqQ" --=-cGvF8oXfdK2Zqrd6QWqQ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On mer, 2014-09-03 at 18:28 -0400, Meng Xu wrote: > 2014-09-03 11:52 GMT-04:00 George Dunlap > : > The main thing about this is that you probably want to have an > interface where you can set the parameters for multiple vcpus > at once; > and that's probably the case regardless of whether we end up > making > the hypercall able to batch vcpus or do them one-at-a-time. >=20 >=20 > =E2=80=8BI'm totally fine with allowing users to set the parameters for > multiple vcpus at once.=20 >=20 >=20 > My question is: > When users set multiple vcpus at once, how the command looks like?=20 > For example, if they want to set two vcpus' parameters for dom 1's at > once (to be specific, set vcpu 0's period to 20 and budget to 10, and > set vcpu 1's period to 30 and budget to 20.), they should use the > command like "xl sched-rt -d 1 -v 0 -p 20 -b 10 -v 1 -p 30 -b 20"?=20 > So, since we agreed about only allowing, *for* *now*, per-domain parameter setting, this is not a requirement anymore, is it? I think we can just stick to a pretty basic implementation of `xl sched-rt', acting similarly to its credit, credit2 (and sedf) counterparts. How to allow an user to set the parameters for multiple vcpus at the same time from xl has become a Xen 4.6 issue. :-) Regards, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-cGvF8oXfdK2Zqrd6QWqQ 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 iEYEABECAAYFAlQJhSsACgkQk4XaBE3IOsT7UQCeJlnEaGRIQHIYiBsy8i5dhT// lyoAoIXbDJRV2d9HoLedjTLuswMVlDcW =Bv0w -----END PGP SIGNATURE----- --=-cGvF8oXfdK2Zqrd6QWqQ-- --===============8156598086751791235== 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 --===============8156598086751791235==--