home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!paladin.american.edu!darwin.sura.net!wupost!emory!ncratl!mwilson
- From: mwilson@ncratl.AtlantaGA.NCR.COM (Mark Wilson)
- Newsgroups: comp.unix.sys5.r4
- Subject: Re: Realtime scheduler options
- Message-ID: <10626@ncratl.AtlantaGA.NCR.COM>
- Date: 19 Nov 92 20:45:57 GMT
- References: <1e6ovcINNdm4@ariel.ucs.unimelb.EDU.AU>
- Organization: NCR Engineering and Manufacturing Atlanta -- Atlanta, GA
- Lines: 43
-
- In <1e6ovcINNdm4@ariel.ucs.unimelb.EDU.AU> cm@ariel.ucs.unimelb.EDU.AU
- (Charles Meo) writes:
-
- >Does anyone have any direct experience with the so-called realtime scheduler
- >in SVR4? I've never met anyone who's been able to do anything useful with
- >it. Just curious...
-
- >Chuck
- >--
- >Chuck Meo
- >Solbourne Computer Australia
- >cm@ariel.ucs.unimelb.edu.au
- >'SYS5R4: One Size Fits Nobody'
-
-
-
- Hello Chuck,
-
- I have some experience with the real-time scheduler. I have a process
- that needs to run to completion within a 37 millisecond window when it
- receives input. Most of the time, the process runs easily within the
- window, but every five minutes, UNIX seizes control and causes me to
- blow the window. I was first told that the culprit was sync(), which
- is scheduled according to the NAUTOP tunable, but whether NAUTOP is
- set at 1 minute or at 30 minutes, the problem continues to occur on
- five-minute intervals. When I reported this, I was told that there
- is another sync() call that does not rely on NAUTOP. I do not know
- why one of these syncs kills me and the other doesn't.
-
- On the good(?) side, you can lock up the system tight as a tick if
- you are running at the top priority with an infinite time-slice
- and you get hung up in a compute loop. The feature is also easy to
- implement, but I'm not too sure what it's supposed to be for. If
- you really need real-time performance, you should find out what the
- maximum latency is on the target system. (That's one of the lessons
- I've learned.)
-
- By the way, this test was run on a 20 MHZ 386sx.
- --
- Mob rule doesn't become any prettier, just because the mob start to call itself
- a government.
- It ain't charity if you are using someone else's money.
- Mark.Wilson@AtlantaGA.NCR.com
-