🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.powerpc
Article #1578

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

#1578
From: Tim Smith
Date: Thu, 24 Aug 1995 04:53
26 lines
1852 bytes
scott goehring <sgoehrin@copper.ucs.indiana.edu> wrote:
>>True.  Pre-emptive is more efficient and smoother, which is why it was
>>added into 95.
>
>preemptive multitasking is _less_ efficient than nonpreemptive
>multitasking, because of preemption overhead.  many supercomputers run

You've ignored the extra overhead in cooperative systems that is
required to keep the system responsive.  Consider an extreme case:
two compute-bound processes.  A modern preemptive schedular will
settle into a round robin with these with a very large time quantum,
and the overhead will approach zero.

On a cooperative system, both of these processes have to repeatedly
give up the CPU to the OS, just in case there might be an interactive
process that needs the CPU.

Basically, optimal scheduling requires taking into account the *global*
state of the system.  Cooperative systems make each process, which only
knows the *local* state of the system, make scheduling decisions. 

There are some tricks that could be used to cut the cooperative overhead,
but the major makers of cooperative systems (Apple and Microsoft) manage
to keep overlooking them.

--Tim Smith
Technical Details
Message-ID: <41h0kq$75r@nntp5.u.washington.edu>
Path: arc1-ca.pugleaf.net!news.u.washington.edu!tzs
References: <3vh2hc$9dd@falcon.ccs.uwo.ca> <41a874$ah8@ns2.ny.ubs.com> <41astd$53u@steel.interlog.com> <41c9ut$g73@usenet.ucs.indiana.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.u.washington.edu!tzs
From: tzs@u.washington.edu (Tim Smith)
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: 24 Aug 1995 04:53:46 GMT
Organization: University of Washington School of Law, Class of ~'95
Message-ID: <41h0kq$75r@nntp5.u.washington.edu>
References: <3vh2hc$9dd@falcon.ccs.uwo.ca> <41a874$ah8@ns2.ny.ubs.com> <41astd$53u@steel.interlog.com> <41c9ut$g73@usenet.ucs.indiana.edu>
NNTP-Posting-Host: stein1.u.washington.edu
NNTP-Posting-User: tzs