Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1396906

[RFC] sched: low latency feedback to userspace

From Maximilian Krüger <maximilian.krueger@fau.de>
Newsgroups linux.kernel
Subject [RFC] sched: low latency feedback to userspace
Date 2016-05-09 12:20 +0200
Message-ID <rwQsa-3re-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


I am planning to extend the CFS as part of my master thesis. I want 
user-threads to allow to decide whether to enter a critical section or 
call sched_yield()
For tight synchronized workloads it might be useful, to only start 
certain short tasks, when they still can be completed in the current 
time slice without being interrupted by the scheduler.
Since low latency is key, my current plan is to use a shared-mapped page 
for signaling and only use a syscall for the setup. I'd be curious, if 
you might find this useful in general and if there is a chance for 
getting this accepted upstream, given my benchmarks can prove gives the 
intended benefits.

While these are very general questions, I have one detail question 
concerning how good the chances for getting this upstream are. Would you 
prefer, if I implemented the setup with an additional syscall, or as an 
extensions of existing syscalls (probably sched_setattr, sched_getattr).
greetings,
Maximilian Krüger

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[RFC] sched: low latency feedback to userspace Maximilian Krüger <maximilian.krueger@fau.de> - 2016-05-09 12:20 +0200
  Re: [RFC] sched: low latency feedback to userspace Peter Zijlstra <peterz@infradead.org> - 2016-05-09 13:20 +0200
    Re: [RFC] sched: low latency feedback to userspace Maximilian Krüger <maximilian.krueger@fau.de> - 2016-05-09 15:10 +0200
      Re: [RFC] sched: low latency feedback to userspace Peter Zijlstra <peterz@infradead.org> - 2016-05-09 15:50 +0200

csiph-web