From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH v1 0/3] Towards work-conserving RTDS Date: Wed, 9 Aug 2017 00:54:38 +0200 Message-ID: <1502232878.5719.5.camel@citrix.com> References: <1502036563-4275-1-git-send-email-mengxu@cis.upenn.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5687228844047533166==" Return-path: In-Reply-To: <1502036563-4275-1-git-send-email-mengxu@cis.upenn.edu> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Meng Xu , xen-devel@lists.xen.org Cc: george.dunlap@eu.citrix.com, xumengpanda@gmail.com, ian.jackson@eu.citrix.com, wei.liu@citrix.com List-Id: xen-devel@lists.xenproject.org --===============5687228844047533166== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="=-76E3S9EDWtwkYptaUMFw" --=-76E3S9EDWtwkYptaUMFw Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, 2017-08-06 at 12:22 -0400, Meng Xu wrote: > This series of patches make RTDS scheduler work-conserving > without breaking real-time guarantees. > VCPUs with extratime flag set can get extra time > from the unreserved system resource. > System administrators can decide which VCPUs have extratime flag set. >=20 > Example: > Set the extratime bit of all VCPUs of domain 1: > # xl sched-rtds -d 1 -v all -p 10000 -b 2000 -e 1 > Each VCPU of domain 1 will be guaranteed to have 2000ms every 10000ms > (if the system is schedulable). > If there is a CPU having no work to do, > domain 1's VCPUs will be scheduled onto the CPU, > even though the VCPUs have got 2000ms in 10000ms. >=20 > Clear the extra bit of all VCPUs of domain 1: > # xl sched-rtds -d 1 -v all -p 10000 -b 2000 -e 0 >=20 > Set/Clear the extratime bit of one specific VCPU of domain 1: > # xl sched-rtds -d 1 -v 1 -p 10000 -b 2000 -e 1 > # xl sched-rtds -d 1 -v 1 -p 10000 -b 2000 -e 0 >=20 Oh, BTW, can you please update 'docs/features/sched_rtds.pandoc' too? Regards, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-76E3S9EDWtwkYptaUMFw 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 iQIcBAABCAAGBQJZikEuAAoJEBZCeImluHPu5TUQAOXltDhIJcouKMp4mgjZJXcb dhkGKyYAxFEx0U6ZQ+qyd5ktm2BpwIuqsvJ23T5Eak5XTHjapUUwgJS5BZO5OGdY 5ZlFQzUiYiY+A5BINJfFlJO58lSc7DDBJm3RKJKIZMQ0lhXeRKQnAzd3/AMEGKsB nvOK1J+LR3TW7lvUgws48zsliWSoPGysB584hejz759y5XFZQE+C3JhlzsO1Q06s BQDCpuJhSCkTy+htS6QR9Z/ub03VcMqUyTqcLfrf05Sj079UmLZkfo+i7Tuo9BxT G7ut6DPvb5OSyYo/JLkRPeG/wnVZAkhCSD49XQTyBQxtX8KJT/qoApzI419nKFLt 8OrOX7dIvUQ7PtBibUPlah6NUyvOnTM7YC+FrL5ilj3w6QDXh1jgHmsG0gvxPehZ hRhAKNHZmJrRYXqgyrTmgJ40mzqaiZaJBwI+P68t2vrb+g3x9WSFKBzYJXcOzhMC v6jeYryol8oH1J+iyA80+lZcriBZOvXJ4wnrruOYtwpXi9X2bd+QwB2NCDfRVMfo jqHoMw7p+ZjomrN2uioIt59XNhuuMAIJu+mmUrSj0hK+SJKmu4B8AOlVDhlnkzkO T4zQ04Eh7jRuj+7hAHXg6MissuIDokjGS1Xrll+lCCQtlWfh1I9PoBCwt5DGNMiC eETolHqkZa2B9bb11YMz =YEuq -----END PGP SIGNATURE----- --=-76E3S9EDWtwkYptaUMFw-- --===============5687228844047533166== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============5687228844047533166==--