lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 30 Dec 2008 08:42:05 +0100 From: Peter Zijlstra <peterz@...radead.org> To: Jussi Laako <jussi@...arnerd.net> Cc: linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...e.hu> Subject: Re: [RFC][PATCH] Multimedia scheduling class On Mon, 2008-12-29 at 20:40 +0200, Jussi Laako wrote: > Hi, > > I have created an experimental multimedia scheduling class (SCHED_MM) > for use with multithreaded non-hardcore-realtime multimedia > applications, such as ones based on gstreamer. These typically don't > follow the determinism rules of well behaved SCHED_FIFO applications. > However, these usually handle tasks like VoIP call audio processing, > where somewhat lower scheduling latency is needed to obtain good user > experience. Usually these are not very CPU-heavy and are mostly IO-bound > processes. Thus, something between normal SCHED_OTHER and SCHED_FIFO is > needed in a way where different threads of execution can set different > kinds of scheduling parameters. > > I have attached an initial version of my experimental patch for comments... Sorry, I don't think this is a viable solution for anything. This is typically the domain of soft-realtime, and as such would need a realtime scheduling class -- using a proportional class like you did just doesn't make sense for these tasks. Eventually we'd hope to provide an sporadic task EDF based scheduler with hard and soft realtime capabilities, but until that time, FIFO and RR are the classes to use for anything realtime. I'm not sure why you think SCHED_FIFO isn't good enough for your applications, could you elaborate on that? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists