🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.powerpc
Article #1918

Re: Ask yourself these before you choosing a 32bit OS...

#1918
From: David Jenkinson
Date: Sun, 03 Sep 1995 05:24
35 lines
2899 bytes
In article <tonyn-0109950144230001@tonyn.tiac.net>, tonyn@tiac.net says...
>
>I see some discussion here about "negligable preemtion / interrupt overhead".
>
>On any CPU, interrupt processing requires a context switch (also required
>for preemption and system services).  In the old days, this required
>simply the amount of time the CPU required to start the interrupt (and
>finish it later) plus the instructions in the interrupt handler.
>
>Nowadays the penalty for an interrupt is much greater, because of
>processor caches (or rather, fast processors but memory at the same speed
>as before).  The context switch now requires flushing the cache, so the
>processor will run slowly for a while as instructions are fetched from
>"real memory".  Not only will this slow down interrupt processing
>(relative to the estimate from the number of instructions involved), it is
>unpredictable.  I estimate that processors are spending the same amount of
>real time servicing interrupts as the did years ago, but I may be wrong --
>it may take much longer now, due to cache flush and reload.
>
>Deterministic real-time processing is difficult to do with interrupts. 
>You really can't tell when all the interrupts will stack up at the same
>time, causing the lowest priority interrupt to wait a long time.  Coupled
>with the overhead of context switching, this makes interrupt-driven
>programming impractical for device controllers (such as, say, a car or a
>wheelchair).  Polling with a heartbeat timer is used instead.  The most
>time-critical tasks are polled oftenest.  Processing of different tasks is
>distributed in time by spreading out the polling.  Such systems can more
>easily be proved to work, which is comforting for the person in the
>wheelchair who is crossing a busy street.
>____________________________________________________________________
>TonyN.:'                                              tonyn@tiac.net
>      '

Who the hell do you think is going to understand this bullshit?  Geez, dude, 
you should get a part on star trek.  You do excellent techo-babble.
Technical Details
Message-ID: <42be6g$cp2@odo.PEAK.ORG>
Path: arc1-ca.pugleaf.net!news.PEAK.ORG!usenet
References: <3vh2hc$9dd@falcon.ccs.uwo.ca> <41frv1$7m4@usenet.ucs.indiana.edu> <41g14g$efj@bmtlh10.bnr.ca> <41itqp$4ij@usenet.ucs.indiana.edu> <id.69WM1.S73@nmti.com> <tonyn-0109950144230001@tonyn.tiac.net>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.PEAK.ORG!usenet
From: drj@peak.org (David Jenkinson)
Newsgroups: comp.sys.powerpc,comp.os.linux.advocacy,comp.sys.mac.advocacy,comp.os.os2.advocacy,comp.sys.amiga.advocacy,comp.sys.intel,alt.2600,comp.os.ms-windows.advocacy
Subject: Re: Ask yourself these before you choosing a 32bit OS...
Date: 3 Sep 1995 05:24:32 GMT
Organization: CS Outreach Services--PEAK, Corvallis, Oregon, USA
Message-ID: <42be6g$cp2@odo.PEAK.ORG>
References: <3vh2hc$9dd@falcon.ccs.uwo.ca> <41frv1$7m4@usenet.ucs.indiana.edu> <41g14g$efj@bmtlh10.bnr.ca> <41itqp$4ij@usenet.ucs.indiana.edu> <id.69WM1.S73@nmti.com> <tonyn-0109950144230001@tonyn.tiac.net>
NNTP-Posting-Host: rosseau.peak.org
Mime-Version: 1.0
Content-Type: Text/Plain; charset=ISO-8859-1
X-Newsreader: WinVN 0.99.5