Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] using rusage
- Date: Fri, 20 Jun 2008 09:44:56 +0900
- From: Edward Middleton <emiddleton@example.com>
- Subject: Re: [tlug] using rusage
- References: <78d7dd350806181930i6acda17co682c322d3a7872af@mail.gmail.com> <20080619035005.GB11561@lucky.cynic.net> <78d7dd350806190155k328d24bcjcf61cb707c42045c@mail.gmail.com> <20080619114706.GA15943@lucky.cynic.net> <d8fcc0800806191638u4afa8ac9v62409fe0305ad233@mail.gmail.com> <20080620001947.GD19792@lucky.cynic.net>
- User-agent: Thunderbird 2.0.0.14 (X11/20080529)
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
- Follow-Ups:
- Re: [tlug] using rusage [Josh, put the coke down, Scott tell the cat 'scat!]'
- From: Stephen J. Turnbull
- References:
- [tlug] using rusage
- From: Hung Nguyen Vu
- Re: [tlug] using rusage
- From: Curt Sampson
- Re: [tlug] using rusage
- From: Hung Nguyen Vu
- Re: [tlug] using rusage
- From: Curt Sampson
- Re: [tlug] using rusage
- From: Josh Glover
- Re: [tlug] using rusage
- From: Curt Sampson
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Re: [Was: iptables] Forward multicats
- Next by Date: Re: [tlug] Re: [Was: iptables] Forward multicats
- Previous by thread: Re: [tlug] using rusage
- Next by thread: Re: [tlug] using rusage [Josh, put the coke down, Scott tell the cat 'scat!]'
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links