From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH v2 for Xen 4.6 3/4] libxl: enabling XL to set per-VCPU parameters of a domain for RTDS scheduler Date: Wed, 17 Jun 2015 14:26:57 +0200 Message-ID: <1434544017.25170.6.camel@citrix.com> References: <1432598984-20914-1-git-send-email-chong.li@wustl.edu> <1433504253.7108.231.camel@citrix.com> <1433778984.2403.27.camel@citrix.com> <1433866738.2403.181.camel@citrix.com> <1434363154.2375.50.camel@citrix.com> <1434543274.13744.353.camel@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6916689103399470062==" Return-path: In-Reply-To: <1434543274.13744.353.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Chong Li , Wei Liu , Sisu Xi , George Dunlap , Ian Jackson , xen-devel , Meng Xu , Chong Li , Dagaen Golomb List-Id: xen-devel@lists.xenproject.org --===============6916689103399470062== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-JF4C/KUhyc1epq+v4Bh8" --=-JF4C/KUhyc1epq+v4Bh8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2015-06-17 at 13:14 +0100, Ian Campbell wrote: > On Mon, 2015-06-15 at 12:12 +0200, Dario Faggioli wrote: > > A parameter is either per-domain or per-vcpu, no matter how the user tr= y > > to set or get it. In RTDS, all parameters are per-domain now and, with > > your work, all of them are becoming per-vcpu, and that's ok. But then, > > per-dom parameters should just no longer exist. >=20 > Are you saying there is going to be no domain wide default for a given > per-vcpu parameter?=20 >=20 No, no, there sure is a default, and I certainly would make it domain wide. > if that is the case then what happens if I hotplug a new VCPU without > settings its per-vcpu properties? >=20 Exactly. > I expected something like. >=20 > domain_params_set (weight=3D10) > add vcpu0 (weight will be 10) > add vcpu1 (weight will be 10) > vcpu_params_set(0, weight=3D20) > add vcpu2 (weight will be 10, from domain wide default) >=20 > If not that then what weight should vcpu2 have at this point? >=20 Absolutely. What I'm aiming at here is the per-domain API to have a well defined and valuable behavior, and the one you suggest in your other email (i.e., let's return the default) is exactly that! :-) Thanks and Regards, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-JF4C/KUhyc1epq+v4Bh8 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 iEYEABECAAYFAlWBZ5IACgkQk4XaBE3IOsSH6gCfUnlfS3+1jvkpEBNNyPejKN4F MNkAn1DCf47fCUGn4WmFFaZf/hfZBII0 =efRA -----END PGP SIGNATURE----- --=-JF4C/KUhyc1epq+v4Bh8-- --===============6916689103399470062== 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 --===============6916689103399470062==--