From: "Jürgen Groß" <jgross@suse.com>
To: "Furkan Çalışkan" <frn1furkan10@gmail.com>,
xen-devel@lists.xenproject.org
Cc: jbeulich@suse.com, andrew.cooper3@citrix.com,
roger@xenproject.org, dfaggioli@suse.com,
anthony.perard@vates.tech, julien@xen.org,
sstabellini@kernel.org, gwd@xenproject.org, enr0n@ubuntu.com,
michal.orzel@amd.com
Subject: Re: [PATCH 0/5] xen/sched: rtds: add per-cpupool admission control
Date: Fri, 11 Sep 2026 14:57:38 +0200 [thread overview]
Message-ID: <1a24d3e6-8ea5-4016-b795-ce1bc9a63fb7@suse.com> (raw)
In-Reply-To: <7fb66cfd-b1b0-4f58-b35c-229aa679f737@gmail.com>
[-- Attachment #1.1.1: Type: text/plain, Size: 2654 bytes --]
On 11.09.26 14:25, Furkan Çalışkan wrote:
>
> On 8/26/26 07:57, Furkan Caliskan wrote:
>> RTDS currently has no admission control: nothing stops the sum of
>> all admitted units' (budget/period) reservations in a cpupool from
>> exceeding what its pCPUs can actually provide. Once that happens,
>> the global-EDF deadline guarantees the scheduler is built around no
>> longer hold for any unit sharing that pool.
>>
>> This series adds admission control to prevent that, tracks and
>> report utilization, and makes the check toggleable per cpupool so
>> an operator can disable it if they intentionally want to overcommit.
>>
>> Patch 1 introduces the core mechanism: a running utilization total
>> per cpupool, a fixed-point representation of a unit's (budget/period),
>> and a capacity check enforced in rt_alloc_udata()/rt_free_udata() -
>> the lifecycle hooks that catch every new unit's default reservation.
>>
>> Patch 2 extends the same check to domctl, so growing an existing
>> reservation via xl sched-rtds is checked too.
>>
>> Patch 3 reports a cpupool's admitted utilization agains its capacity
>> via the 'r' debug key.
>>
>> Patch 4 makes admission control itself toggleable per cpupool
>> (enabled by default) via sysctl.
>>
>> Patch 5 wires that toggle through libxl and adds -s/-a to
>> xl sched-rtds, and documents it.
>>
>> Furkan Caliskan (5):
>> xen/sched: rtds: add global-EDF utilization admission control
>> xen/sched: rtds: enforce admission control in xl sched-rtds
>> xen/sched: rtds: report utilization and cap via debug key
>> xen/sched: rtds: make admission control cpupool-wide toggleable
>> tools: expose admission control toggle via xl sched-rtds
>>
>> docs/man/xl.1.pod.in | 20 +++
>> tools/golang/xenlight/helpers.gen.go | 23 +++
>> tools/golang/xenlight/types.gen.go | 4 +
>> tools/include/libxl.h | 4 +
>> tools/include/xenctrl.h | 6 +
>> tools/libs/ctrl/xc_rt.c | 40 ++++++
>> tools/libs/light/libxl_sched.c | 46 ++++++
>> tools/libs/light/libxl_types.idl | 5 +
>> tools/xl/xl_cmdtable.c | 8 +-
>> tools/xl/xl_sched.c | 103 +++++++++++++-
>> xen/common/sched/rt.c | 205 ++++++++++++++++++++++++++-
>> xen/include/public/sysctl.h | 5 +
>> 12 files changed, 463 insertions(+), 6 deletions(-)
>>
>
> Hi Juergen,
>
> Can I get a review on this series please?
I was quite busy preparing for Xen summit. I'm planning to do the review on
the train to Munich. :-)
Juergen
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3743 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]
next prev parent reply other threads:[~2026-09-11 12:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-26 4:57 [PATCH 0/5] xen/sched: rtds: add per-cpupool admission control Furkan Caliskan
2026-08-26 4:57 ` [PATCH 1/5] xen/sched: rtds: add global-EDF utilization " Furkan Caliskan
2026-08-26 4:57 ` [PATCH 2/5] xen/sched: rtds: enforce admission control in xl sched-rtds Furkan Caliskan
2026-08-26 4:57 ` [PATCH 3/5] xen/sched: rtds: report utilization and cap via debug key Furkan Caliskan
2026-08-26 4:57 ` [PATCH 4/5] xen/sched: rtds: make admission control cpupool-wide toggleable Furkan Caliskan
2026-08-26 6:14 ` Jan Beulich
2026-08-26 4:57 ` [PATCH 5/5] tools: expose admission control toggle via xl sched-rtds Furkan Caliskan
2026-09-11 12:25 ` [PATCH 0/5] xen/sched: rtds: add per-cpupool admission control Furkan Çalışkan
2026-09-11 12:57 ` Jürgen Groß [this message]
2026-09-11 13:05 ` Furkan Çalışkan
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=1a24d3e6-8ea5-4016-b795-ce1bc9a63fb7@suse.com \
--to=jgross@suse.com \
--cc=andrew.cooper3@citrix.com \
--cc=anthony.perard@vates.tech \
--cc=dfaggioli@suse.com \
--cc=enr0n@ubuntu.com \
--cc=frn1furkan10@gmail.com \
--cc=gwd@xenproject.org \
--cc=jbeulich@suse.com \
--cc=julien@xen.org \
--cc=michal.orzel@amd.com \
--cc=roger@xenproject.org \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xenproject.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.