From: Dario Faggioli <raistlin@linux.it>
To: Meng Xu <mengxu@cis.upenn.edu>, xen-devel@lists.xenproject.org
Cc: george.dunlap@eu.citrix.com, ian.jackson@eu.citrix.com,
xumengpanda@gmail.com, wei.liu2@citrix.com
Subject: Re: [PATCH v3 1/5] xen:rtds: towards work conserving RTDS
Date: Wed, 11 Oct 2017 12:49:03 +0200 [thread overview]
Message-ID: <1507718943.19120.14.camel@linux.it> (raw)
In-Reply-To: <1507677465-3840-2-git-send-email-mengxu@cis.upenn.edu>
[-- Attachment #1.1: Type: text/plain, Size: 1460 bytes --]
On Tue, 2017-10-10 at 19:17 -0400, Meng Xu wrote:
> Make RTDS scheduler work conserving without breaking the real-time
> guarantees.
>
> VCPU model:
> Each real-time VCPU is extended to have an extratime flag
> and a priority_level field.
> When a VCPU's budget is depleted in the current period,
> if it has extratime flag set,
> its priority_level will increase by 1 and its budget will be
> refilled;
> othewrise, the VCPU will be moved to the depletedq.
>
> Scheduling policy is modified global EDF:
> A VCPU v1 has higher priority than another VCPU v2 if
> (i) v1 has smaller priority_leve; or
> (ii) v1 has the same priority_level but has a smaller deadline
>
> Queue management:
> Run queue holds VCPUs with extratime flag set and VCPUs with
> remaining budget. Run queue is sorted in increasing order of VCPUs
> priorities.
> Depleted queue holds VCPUs which have extratime flag cleared and
> depleted budget.
> Replenished queue is not modified.
>
> Distribution of spare bandwidth
> Spare bandwidth is distributed among all VCPUs with extratime flag
> set,
> proportional to these VCPUs utilizations
>
> Signed-off-by: Meng Xu <mengxu@cis.upenn.edu>
>
Reviewed-by: Dario Faggioli <raistlin@linux.it>
Regards,
Dario
--
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
[-- Attachment #2: Type: text/plain, Size: 127 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2017-10-11 10:49 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-10 23:17 [PATCH v3 0/5] Towards work-conserving RTDS Meng Xu
2017-10-10 23:17 ` [PATCH v3 1/5] xen:rtds: towards work conserving RTDS Meng Xu
2017-10-11 10:49 ` Dario Faggioli [this message]
2017-10-10 23:17 ` [PATCH v3 2/5] libxl: enable per-VCPU extratime flag for RTDS Meng Xu
2017-10-11 10:20 ` Wei Liu
2017-10-11 10:48 ` Dario Faggioli
2017-10-10 23:17 ` [PATCH v3 3/5] xl: " Meng Xu
2017-10-11 10:20 ` Wei Liu
2017-10-11 10:45 ` Dario Faggioli
2017-10-10 23:17 ` [PATCH v3 4/5] xentrace: " Meng Xu
2017-10-11 10:57 ` Dario Faggioli
2017-10-11 17:13 ` Meng Xu
2017-10-10 23:17 ` [PATCH v3 5/5] docs: " Meng Xu
2017-10-11 10:20 ` Wei Liu
2017-10-11 10:45 ` Dario Faggioli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1507718943.19120.14.camel@linux.it \
--to=raistlin@linux.it \
--cc=george.dunlap@eu.citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=mengxu@cis.upenn.edu \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xenproject.org \
--cc=xumengpanda@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).