[PATCH 0/6] Add deadline scheduler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The policy SCHED_DEADLINE is available since kernel 3.14 (and most likely
backported to older RT_PREEMPT kernels). It is safer to use than fifo or round
robin policies due to only limiting part of cpu time for the RT process,
leading to lack of lockups of the host.

The series adds new vcpusched/iothreadsched called 'deadline' that activates
SCHED_DEADLINE for given process. As the scheduler is linux specific, extra
implementation was required - it is not possible to use sched_setscheduler,
sched_setattr syscall must be used.

Martin Polednik (6):
  conf: add entries for deadline scheduler
  util: allow virProcessSetScheduler to set SCHED_DEADLINE
  virDomainFormatSchedDef: factor out subset code
  conf: add deadline scheduler
  schema: add deadline scheduler
  docs: mention deadline scheduler in vcpusched

 docs/formatdomain.html.in     |  15 ++--
 docs/schemas/domaincommon.rng |  16 +++++
 src/conf/domain_conf.c        | 154 +++++++++++++++++++++++++++++++++++-------
 src/conf/domain_conf.h        |   3 +
 src/qemu/qemu_process.c       |   3 +-
 src/util/virprocess.c         |  82 +++++++++++++++++++++-
 src/util/virprocess.h         |  29 +++++++-
 7 files changed, 268 insertions(+), 34 deletions(-)

-- 
2.8.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux