Mailing List Archive


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

Re: [tlug] using rusage



Curt Sampson wrote:
On 2008-06-20 08:38 +0900 (Fri), Josh Glover wrote:
Therefore, nanosleep() pauses always for at least the specified time,
however it can take up to 10 ms longer than specified until the
process becomes runnable again.

does not actually mean that, once you're runnable, you'll actually run.
On a very busy system, it could easily be hundreds of ms., or even even
thousands, if you're swapped out, after that time that you actually run
again.

Well from a piratical point of view, setting up a low latency kernel and running the process in realtime priority on decent hardware should give you pretty good results but obviously you should use a realtime OS if timing is critical.


Edward


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links