LWN.net Logo

High- (but not too high-) resolution timeouts

High- (but not too high-) resolution timeouts

Posted Sep 5, 2008 5:24 UTC (Fri) by arjan (subscriber, #36785)
In reply to: High- (but not too high-) resolution timeouts by njs
Parent article: High- (but not too high-) resolution timeouts

the realtime thing is there already in my current codebase

right now what I do is (in summary)

if realtime => slack is 0

if nice, slack is 0.5% with a max of 100 msec
if not nice, slack is 0.1% with a max of 100 msec
if not rt and slack is less than the per thread setting, use the per thread setting


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds