🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #22940

Re: Multicores

#22940
From: Anne & Lynn Wheeler
Date: Wed, 07 Sep 2005 17:58
38 lines
3590 bytes
"robertwessel2@yahoo.com" <robertwessel2@yahoo.com> writes:
> Windows, like pretty much any other OS, will dole out CPU time in
> time-slice increments to threads that run CPU bound, but only rarely
> does a thread (in most systems) ever run out a time slice before
> blocking on some event (and thus threads are rarely CPU bound).

i had done dynamic adaptive scheduling back in the 60s as an
undergraduate. this was sometimes referred to as fairshare (or
wheeler) scheduler ... because the default scheduling policy
was fairshare

basically light-weight interactive tasks got shorter quanta than more
heavy-weight longer running tasks. advistory deadline was calculated
proportional to size of the quanta and the recent resource
utilization.  quanta could span certain short i/os (disk, etc) ...  so
heavy utilization wasn't necessary restricted to absolutely pure cpu
bound (just reasonably high rate of cpu consumption).

light-weight interactive tasks would tend to have more frequent quanta
with shorter deadlines ... and heavy weight tasks would have less
frequent larger quanta. interactive tasks would appear to be more
responsive if they could complete within a few of the shorter quanta
and/or if they haven't been using a lot of resources recently.
basically the objective was to uniformally control of the overall rate
of resource consumption (regardless of the quanta size).

the other issue was that this was done as modifications to existing
cp67 system that had an extremely complex scheduler that wasn't
directly controlling resource utilization ... just moving priorities
up & done and itself could consumer 10-15 percent of total cpu
utilization.  so a major objective of the scheduler change was to not
only implement effective resource consumption supporting a variety of
scheduling policies ... but do it with as close as possible to zero
pathlength.
http://www.garlic.com/~lynn/subtopic.html#fairshare

-- 
Anne & Lynn Wheeler | http://www.garlic.com/~lynn/
Technical Details
Message-ID: <m3oe74zrmx.fsf@lhwlinux.garlic.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail
References: <1125684201.841810.126440@g43g2000cwa.googlegroups.com> <dfatml$hkj$1@news2.zwoll1.ov.home.nl> <1125731066.086811.73210@z14g2000cwz.googlegroups.com> <dfdajt$n38$1@news1.zwoll1.ov.home.nl> <1126047657.641045.230820@g14g2000cwa.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 102b75,a007f7a4193162b6
X-Google-Thread: 103c88,110a94713eca2a09,start
X-Google-Attributes: gid102b75,gid103c88,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 07 Sep 2005 12:58:47 -0500
From: Anne & Lynn Wheeler <lynn@garlic.com>
Newsgroups: comp.arch,bit.listserv.vmesa-l
Subject: Re: Multicores
References: <1125684201.841810.126440@g43g2000cwa.googlegroups.com>
 <dfatml$hkj$1@news2.zwoll1.ov.home.nl>
 <1125731066.086811.73210@z14g2000cwz.googlegroups.com>
 <dfdajt$n38$1@news1.zwoll1.ov.home.nl>
 <1126047657.641045.230820@g14g2000cwa.googlegroups.com>
Date: Wed, 07 Sep 2005 11:58:46 -0600
Message-ID: <m3oe74zrmx.fsf@lhwlinux.garlic.com>
Organization: Wheeler&Wheeler
User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)
Cancel-Lock: sha1:xRcoMQo7rLVyMCkfdqxyn5vpCHI=
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Lines: 38
NNTP-Posting-Host: 24.9.100.98
X-Trace: sv3-hFlWov/9zLXaidF0cN+NKHjlq1/eeIldSkxuFEKig1vm4Nq/i7KxuPxgovEcwUI7K0yoLaCNnVDx/PJ!xERzlr21c8814WxBG34WUHC/w4MePn0c3SH/Bb35vbybVAEpDYj7Gm575XxhcyrG/HHNWASSNQ==
X-Complaints-To: abuse@comcast.net
X-DMCA-Complaints-To: dmca@comcast.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.32