Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Sep 1997 07:49:54 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        gibbs@plutotech.com (Justin T. Gibbs)
Cc:        finnag@guardian.no, gibbs@plutotech.com, archie@whistle.com, current@FreeBSD.ORG
Subject:   Re: timeout management (was: Re: cvs commit: ...)
Message-ID:  <199709250749.AAA10623@usr03.primenet.com>
In-Reply-To: <199709250554.XAA20672@pluto.plutotech.com> from "Justin T. Gibbs" at Sep 24, 97 11:54:02 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> >There was a lot of discussion on the kernel list about cascace_timers
> >enabling timers now and then, in practice cascade_timers never move many
> >timers so it's not really a problem, even less of a problem when it just
> >grabs the timer lock.
> >
> >- Finn Arne
> 
> If the granularity of the timer interval is large when compared to
> the speed with which a given application generates timers for the same
> interval, you could have a problem. 
> 
> If you want to do RT, I think you have to enable timers periodically,
> or you may miss a deadline.

It's worse than that.  If the timer fires, and the timer was scheduled
by a process with a higher RT priority than the current process, you
have to involuntary context switch the current process.

Running a floppy tape drive is probably at the highest RT priority you
can manage, actually, in order to ensure coorect operation with a
kernel based driver.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709250749.AAA10623>