Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Jerome Fine <jhfine@idirect.com>
To: Michael Pettengill <pettengill@cvg.enet.dec.com>
Subject: Re: Tangental topics
Date: 1998/03/02	[thread overview]
Message-ID: <34FA4017.F189C19A@idirect.com> (raw)
In-Reply-To: 6db0g4$ih4$2@nntpd.lkg.dec.com


>Michael Pettengill wrote:
>>Bill Moyer wrote in message <6cn3kq$qo3$1@andros.cygnus.com>...
>>  Well, can we blame Cutler for using the same braindead FIFO page
>>replacement policy in WNT as he did in VMS, which is subject to
>>Belady's Anomaly?  Or the same fixed-size working sets, which can
>Lest anyone be confused, VMS does not use FIFO page replacement,
>nor fixed working sets, and that hasn't been the case for well over
>15 years.  Replacing the initial implementations proved to be far more
>difficult than the theory suggested.  In fact, the supposed superior
>algorithms degraded performance in a lot of common cases.  I'm
>sure that this was the case with WNT; the theoretical best algorithms
>failed to deliver and it took a lot of work to modify the alorithms to
>fit reality.

Jerome Fine replies:

A long time ago in a computer system far, far away there was once
an operating system that was too far ahead of its time for the hardware
that was insufficient in capacity and too expensive for even most
large corporations.  Or was the problem a simple lack of understanding
that a large investment in software means that users will not blindly
switch to a new piece of hardware that is faster and more cost effective
after all the conversion is done.  Because if the conversion is too
difficult and too expensive, the aspect of how cost effective the
computer can run after the conversion is not terribly important.

But back in 1970, such thoughts were not yet dangerous.  Or at
least, marketing had not heard of them at the time.  Now I am
probably simplifying the situation, but Control Data likely spent
over $ 50 Million to develop the STAR 100 under Cray as the
fastest hardware of the time.  It had a 48 bit address (virtual
obviously) for each bit which gave a 32 TeraByte User address
space - well not quite - half the address space was set aside for
the operating system.  But there could be about 4096 jobs
at once (there never was that many - but the hardware design
and the software implementation would have allowed it), so
the total combined address space for jobs was
131,000 TeraBytes.  On a computer that, if I remember
correctly, had about 1 MByte of physical memory.

The point of this whole preliminary is that virtual paging was
essential and trashing was potentially common in such a
limited environment.  To make a very long story shorter,
the algorithm used was LRU which the hardware set up
automatically since each referenced memory page was
pushed to the top of a list of MRU pages.  The LRU
algorithm seemed to function fairly well, except that
there was always a shortage of free pages.  With that
thought in mind, I set up some code in the page manager
which would select pages which were LRU candidates
and flushed them to the disk (if they had been modified).
It was considered, however, that some of these pages
might be actually needed before they were discarded.
Consequently, the pages were kept in the available
list and flagged to determine if keeping them available
served any useful purpose after they had already been
written to disk.  Surprisingly, a reasonable percentage
(in some cases as high as 40%) were found to be
needed before they were actually discarded and
overwritten even though they had been LRU (the
alternative would have been to discard any page
selected, send the contents to disk, then read the
same page back into memory when it was found
to be needed - thereby requiring a second I/O
operation - a READ - at a time when the job
was actually waiting for the page) candidates.  Since
the project was eventually canned, little remains in the
way of solid data as to how working set size and other
variables might have been involved or used to improve
the situation.

I have heard that VMS does use an LRU algorithm
that has to be implemented via software.  I am not aware
of what additional touches are being used at present, but
it would be interesting to discuss such algorithms either
in this public forum or by private e-mail.  While my
experience may be dated, at least it had the advantage
of using a hardware maintained LRU list which I suspect
very few, if any, systems now implement.  Indeed, I would
be very pleased to hear about any systems which have a
hardware maintained LRU list for pages in a virtual
memory environment.

It was all very leading edge technology for a while, but
I find now that staying with the PDP-11 and RT-11 is
somehow just as satisfying.  Even now, the market for
RT-11 is actually larger than the STAR 100 market at
its peak (likely less than a dozen STAR 100 systems
were ever sold).

Sincerely yours,

Jerome Fine
RT-11/TSX-PLUS  User/Addict
Year 2000 Solutions for Legacy RT-11 Applications
(Sources not always required)




  reply	other threads:[~1998-03-02  5:00 UTC|newest]

Thread overview: 85+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-01-29  5:00 Wildfire and NT Rob Young
1998-01-29  5:00 ` jf mezei
1998-01-30  5:00 ` Andrew Harrison SUNUK Consultancy
1998-01-30  5:00   ` Larry Kilgallen
1998-01-30  5:00   ` David Cherkus
1998-01-31  5:00     ` Anil Thomas Maliyekkel
1998-02-06  5:00       ` Terry Shannon
1998-01-31  5:00     ` Ian Kemmish
1998-01-31  5:00       ` David Hinds
1998-02-02  5:00       ` Andrew Harrison SUNUK Consultancy
1998-02-02  5:00         ` Nik Simpson
1998-02-02  5:00           ` Larry Kilgallen
1998-02-04  5:00           ` Andrew Harrison SUNUK Consultancy
1998-02-04  5:00             ` Nik Simpson
1998-02-04  5:00               ` Andrew Harrison SUNUK Consultancy
1998-02-04  5:00                 ` Brian Steele
1998-02-07  5:00                   ` Doug Siebert
1998-02-08  5:00                     ` Mark Bonatucci
1998-02-08  5:00                     ` Mark Hahn
1998-02-09  5:00                       ` Rupert Pigott
1998-02-11  5:00                 ` Nik Simpson
1998-02-12  5:00                   ` Andrew Harrison SUNUK Consultancy
1998-02-12  5:00                     ` Michael Zarudzki
1998-02-12  5:00                     ` Nik Simpson
1998-02-12  5:00                       ` J. Buck Caldwell
1998-02-13  5:00                         ` Ketil Z Malde
1998-02-13  5:00                           ` Jonas Persson
1998-02-13  5:00                           ` Nik Simpson
1998-02-14  5:00                             ` bgInc. -- Choice is overrated
1998-02-12  5:00                       ` Andrew Harrison SUNUK Consultancy
1998-02-12  5:00                       ` Emil Briggs
1998-02-13  5:00                     ` Andy Glew
1998-02-18  5:00                     ` billy
1998-02-19  5:00                       ` Terry Shannon
1998-02-20  5:00                         ` Charlie Byrne
1998-02-21  5:00                       ` Tony Griffiths
1998-02-21  5:00                         ` Terry Shannon
1998-02-23  5:00                           ` Eric Hildum
1998-02-26  5:00                             ` Alan Deikman
1998-02-21  5:00                         ` Mike Haertel
1998-02-21  5:00                         ` Gints Klimanis
1998-02-21  5:00                           ` Serge Pachkovsky
1998-02-21  5:00                             ` More tangental topics Bill Moyer
1998-02-22  5:00                               ` Sheila H. /&/Bob
1998-02-23  5:00                               ` Mark Hahn
1998-02-23  5:00                                 ` Mike Albaugh
1998-02-23  5:00                                   ` Bill Moyer
1998-02-24  5:00                                   ` Mr. X
1998-02-23  5:00                           ` Wildfire and NT brianh
1998-02-24  5:00                             ` Eric Hildum
     [not found]                               ` <34F2520F.FC9D8D54@sgi.com>
1998-02-24  5:00                                 ` Eric Hildum
1998-02-23  5:00                                   ` Gints Klimanis
1998-02-25  5:00                             ` Bernd Paysan
1998-02-24  5:00                           ` Graeme Gill
1998-02-27  5:00                             ` Paul Kahler
1998-03-02  5:00                               ` brianh
1998-03-03  5:00                                 ` Bernd Paysan
1998-03-05  5:00                           ` Scott Hess
1998-03-05  5:00                             ` Gints Klimanis
1998-03-06  5:00                               ` Bernd Paysan
1998-03-09  5:00                               ` Jan Vorbrueggen
1998-03-09  5:00                                 ` Gints Klimanis
1998-03-11  5:00                                   ` PJ
1998-03-12  5:00                               ` Scott Hess
1998-03-24  5:00                                 ` Peter Seebach
1998-02-21  5:00                         ` Alex Colvin
1998-02-23  5:00                           ` Del Cecchi
1998-02-24  5:00                             ` Eric Hildum
1998-02-21  5:00                         ` Tangental topics Bill Moyer
1998-03-01  5:00                           ` Michael Pettengill
1998-03-02  5:00                             ` Jerome Fine [this message]
1998-02-23  5:00                         ` Wonders of VMS (Was Re: Wildfire and NT) Mike Albaugh
1998-02-24  5:00                           ` Victor Yodaiken
1998-02-24  5:00                             ` Rob Young
1998-02-25  5:00                       ` Wildfire and NT boris
1998-02-25  5:00                         ` bgInc. -- Choice is overrated
1998-02-25  5:00                         ` Larry Kilgallen
1998-02-26  5:00                         ` Mr. X
1998-02-04  5:00           ` Justin Banks
1998-02-01  5:00   ` Bengt Larsson
1998-02-02  5:00     ` Anil Thomas Maliyekkel
1998-02-03  5:00       ` Bengt Larsson
1998-02-02  5:00         ` Stefan Monnier
1998-02-02  5:00     ` Andrew Harrison SUNUK Consultancy
1998-02-04  5:00 ` mulp - cluster buster
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox