tags 175740 - patch moreinfo thanks On Tue, 07 Jan 2003, Casper Gielen wrote: > This patch allows the start-stop-daemon to start processes from the realtime > scheduler. It uses the "--realtime" and "-l" options. This is usefull > for processes that never should be unable to run (eg high resolution > monitoring, > high quality audio jobs, system essentials) > > Example: > start-stop-daemon --start --quiet --realtime 1 --pidfile /var/run/sshd.pid > - --exec /usr/sbin/sshd
What does it gain us compared to chrt 1 <command line> ? > - -It is not (yet) possible to select a scheduling policy, it defaults to > SCHED_RR (Round Robin). Until this is fixed, this patch should not be considered for inclusion. Furthermore as already mentioned, please protect the relevant calls by #ifdef _POSIX_PRIORITY_SCHEDULING as documented by the manual page. And don't forget to update the start-stop-daemon manual page too! If you rework your patch following those remarks, I'm willing to apply it. Cheers, -- Raphaël Hertzog Le best-seller français mis à jour pour Debian Etch : http://www.ouaza.com/livre/admin-debian/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]