Basham, Richard R wrote:
> I have a couple of machines that have been running for around 1700 hours straight 
>(approx 71 days).
> However, I have not changed HZ.  What is the normal setting for this value? 

Normal on intel machines is 100 - this allows 100 timeslices per second.

> Can you explain why your user process exited when the jiffies ran out.  

Nope, I can't. It's not that important to my project to find out.

My applications rely on having the user process
> available to the user at any given moment.  Is this something I need to worry about? 
> What do you recommend to be done for long running applications?

No, don't worry about timeslicing. I need more granular timeslicing 
because I'm trying to do soft real time:  When an alarm happens, I want
my alarm handler to be invoked fast. If it's invoked in, say, 2
timeslices, that takes 2 msec. If HZ were set to 100, that would be 20
msec -  way too long for my application. (note that soft real time is
NOT guaranteed)

Leave your Hz variable set to the default, and your jiffies wont expire
for 1.3 years.

-- 
Steve Rosenbluth
Jim Henson's Creature Shop
2821 Burton St, Burbank CA

--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to