tools: expose admission control toggle via xl sched-rtds

Wire the per-cpupool admission-control switch through libxl
to xl sched-rtds, and document it.

Add -s/--schedparam to list or set pool-wide RTDS scheduler
parameters, and -a/--admission to enable or disable admission
control for a cpupool ("-c pool -s -a 0/1").

Signed-off-by: Furkan Caliskan <frn1furkan10@gmail.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Acked-by: Anthony PERARD <anthony.perard@vates.tech>
This commit is contained in:
Furkan Caliskan authored and Anthony PERARD committed 2026-10-12 17:20:27 +02:00
1 parent 2c40f10b9c
commit 31405d5bee
10 files changed
+259 -5

No files matched your search

+20
View File
@@ -1230,6 +1230,16 @@ the unreserved system resource.
Restrict output to domains in the specified cpupool.
=item B<-s>, B<--schedparam>
Specify to list or set pool-wide scheduler parameters.
=item B<-a ADMISSION_CONTROL>, B<--admission=ADMISSION_CONTROL>
Binary flag to enable or disable admission control for the cpupool.
When enabled (the default), a reservation is rejected if admitting
it would exceed the cpupool's utilization capacity.
=back
B<EXAMPLE>
@@ -1293,6 +1303,16 @@ e.g., "xl sched-rtds -d vm1 -v 0 -p 100 -b 50 -e 1 -v 3 -p 300 -b 150 -e 0".
To change the parameters of all the VCPUs of a domain, use B<-v all>,
e.g., "xl sched-rtds -d vm1 -v all -p 500 -b 250 -e 1".
4) Use B<-c CPUPOOL -s> to see whether admission control is enabled
for a cpupool, and B<-c CPUPOOL -s -a> to change it:
xl sched-rtds -c pool-rt -s
Cpupool pool-rt: sched=RTDS admission-control=enabled
xl sched-rtds -c pool-rt -s -a 0
xl sched-rtds -c pool-rt -s
Cpupool pool-rt: sched=RTDS admission-control=disabled
=back
=back
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.