From: greg@indiana.edu (Gregory Travis)
Subject: Re: CDC-6600 (was: A Microsoft Future?)
Date: 1997/01/17 [thread overview]
Message-ID: <greg.853524172@gtravis> (raw)
In-Reply-To: greg.853523214@gtravis
And who can forget CDC's file concept? For the curious, there were two
basic types of disk files under KRONOS.
One was called a "direct-access" file. You got access to a direct access
file by "attaching" it to your process or batch session. With a
direct access file you had a pointer to the file itself and you had to
specify, at attach time, how to attach the file (read-only or read/write).
I think only one program could have the file read/write at a time - you
got a "file busy" if you tried to get a file that another job had.
I can't remember, but you may have had to give the size of the file when
you created it.
The other type of file was a "local" file. You used the "get" command
to retrieve a permanent file as a local file. This made a copy of the
permanent file on a special "local file" disk. Your program could then
read-write the file to its heart's content but all the actions took
place on the local copy, not the permanent copy (i.e. other's didn't
see any changes you made). Your changes to the file didn't become
permanent until you performed an explicit "save" of the file.
Local files could also exist without any permanent component. In that
way they were very much like UNIX /tmp files. Compilers, editors, etc.
would work on local files as their temporaries.
Local files were automatically discarded by the system when your job
ended.
Let's say you had a Fortran program that started out:
PROGRAM FOOBAR(TAPE6=MYOUTPUT)
.
.
.
WRITE(6,100) BLAHBLAH BLAH
And your job control language looked like:
RUN FOOBAR
REWIND MYOUTPUT
COPY MYOUTPUT,AFILE
Yes, the "REWIND" was important because the "file pointer" in local files
persisted across job steps. Without the REWIND the COPY command would
result in AFILE being empty (because COPY would sense the EOF in MYOUTPUT)
Then both "MYOUTPUT" and "AFILE" were local files and would be lost when
the job finished unless you said something like:
SAVE MYOUTPUT (or SAVE AFILE)
I don't think you could do random-access to a "local file" - all I/O had
to be sequential. You could do random-access to an "attached" file. But
direct-access attached files were really pretty funky to deal with.
I don't think I've seen the "local file" concept on any other OS.
As for file I/O, KRONOS was pretty nifty in this respect. Each file
that a program had open had an associated File Environment Table (FET).
The FET was nothing more than a few words of memory that described the file
and its state. When doing I/O on a file, you passed the address of the
associated FET to the PPU program (CIO usually). The FET was thus analogous
to UNIX's file descriptor. However, whereas the UNIX file descriptor is
just an integer index into a Unix kernel structure (much like the FET), the
KRONOS equivalent was kept in the process' address space.
KRONOS used circular buffering for all I/O. Basically, in the FET for a
file there was a pointer to a buffer to be used for file I/O. There was
also a field describing the size of the buffer. There were two more pointers
as well. One was the processes pointer into the buffer and the other was
the system's pointer. The two pointers chased each other around the buffer
whenever I/O was performed.
When a program wanted to do I/O it placed data in the buffer starting at the
program's pointer and continuing until the buffer was "full" or the data was
exhausted. The buffer was full when the program's equalled the system's
pointer - not just at the top of the buffer memory. Thus the buffer "wrapped
around". Once the application had written the data to the buffer, it
called CIO which started writing the data out. At this point, the system's
pointer started moving as the data was going out. As soon as it did, the
program could start writing MORE data into the buffer so long as it did not
"catch up" to the system - in which case it had to pause. If the program's
computational and I/O overlap was such that the I/O demands exactly
matched the system's I/O capacity then processing and I/O would go on
in parallel with the pointers forever chasing each other around the buffer.
You actually had to do something special if you really wanted to wait for the
physical I/O to complete. Otherwise, the standard COMPASS read/write
macros made all I/O async by default and the circular buffer made it so
that you didn't have to worry about overwriting data that hadn't yet been
written out.
This architecture contributed to the fantastic processor and I/O overlap
that we associate with mainframe-class machines and I've always wondered
why I never saw the circular buffer I/O concept adopted more widely on
smaller machines/operating systems. UNIX would have really benefitted
from it I think. But it's too late now.
greg
--
greg greg@indiana.edu http://gtravis.ucs.indiana.edu/
next prev parent reply other threads:[~1997-01-17 5:00 UTC|newest]
Thread overview: 253+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1E061566A2E@orchid.le.ac.uk>
1997-01-14 5:00 ` A Microsoft Future? (was: VMS vs. WNT Clusters) Tom I Helbekkmo
[not found] ` <5b <Pine.SUN.3.91.970113162719.25548I-100000@lisa.cs.mcgill.ca>
1997-01-14 5:00 ` Martin Vorlaender
1997-01-14 5:00 ` Rich Lafferty
1997-01-16 5:00 ` Doug Cain
1997-01-16 5:00 ` Rich Lafferty
1997-01-24 5:00 ` Uri Raz
1997-01-24 5:00 ` 5315
1997-01-25 5:00 ` Ron Natalie
1997-01-16 5:00 ` Gregory Travis
1997-01-14 5:00 ` John Hascall
[not found] ` <32CBACD3.2AC0@videotron.ca>
[not found] ` <1997Jan2.182752.1@sldb4.slac.stanford.edu>
[not found] ` <32CD1F09.5549@videotron.ca>
[not found] ` <5ajihh$qdl@access2.digex.net>
1997-01-03 5:00 ` Tim Adye
1997-01-18 5:00 ` Geoffrey Welsh
1997-01-04 5:00 ` windows NT bill_h
1997-01-04 5:00 ` A Microsoft Future? (was: VMS vs. WNT Clusters) John Hascall
[not found] ` <Ed.Wilts-ya02408000R0401971713390001@nntp.gov.bc.ca>
1997-01-07 5:00 ` Uwe Leinberger GSI Darmstadt
1997-01-13 5:00 ` Old-Fashioned Staffordshire Plate...
1997-01-18 5:00 ` Geoffrey Welsh
1997-01-06 5:00 ` larry kollar
1997-01-12 5:00 ` Geoffrey Welsh
1997-01-12 5:00 ` Lennart Regebro
1997-01-13 5:00 ` Raz Uri
1997-01-23 5:00 ` Christian Knapmeyer
1997-01-24 5:00 ` Geoff. Lane
1997-01-29 5:00 ` Voice recognition (was: A Microsoft Future? ) Ketil Z Malde
1997-01-31 5:00 ` Stephen Boroczky
1997-01-12 5:00 ` A Microsoft Future? (was: VMS vs. WNT Clusters) jfmezei
1997-01-13 5:00 ` Tony Scandora 630-252-7541
1997-01-14 5:00 ` Uwe Leinberger GSI Darmstadt
1997-01-14 5:00 ` jfmezei
1997-01-17 5:00 ` Paul Repacholi (prep)
1997-01-15 5:00 ` Tony Scandora 630-252-7541
1997-01-21 5:00 ` Jay R. Ashworth
1997-01-22 5:00 ` Gregg E Economou
1997-02-03 5:00 ` Old-Fashioned Staffordshire Plate...
1997-02-04 5:00 ` t_wade
1997-02-07 5:00 ` Like a tea tray in the sky...
1997-02-09 5:00 ` Paul Repacholi (prep)
1997-01-24 5:00 ` Paul Repacholi (prep)
1997-01-23 5:00 ` Steven P. Underwood
1997-01-24 5:00 ` Tony Scandora 630-252-7541
1997-01-22 5:00 ` R. D. Davis
1997-01-23 5:00 ` Gregg E Economou
1997-01-24 5:00 ` Bear Witness (was: A Microsoft Future?) Clinton Pierce
1997-01-24 5:00 ` Ryan M Rafferty
1997-01-23 5:00 ` A Microsoft Future? (was: VMS vs. WNT Clusters) Douglas Borsom
1997-01-24 5:00 ` R. D. Davis
1997-01-25 5:00 ` Jean-Francois Mezei
1997-01-27 5:00 ` Ron Natalie
1997-01-23 5:00 ` Jean-Francois Mezei
1997-01-24 5:00 ` Boris Gjenero
1997-01-25 5:00 ` main(argc, argv)
1997-01-25 5:00 ` Wayne Sewell
1997-01-27 5:00 ` Raz Uri
1997-01-28 5:00 ` Ron Natalie
1997-01-28 5:00 ` Herbie
1997-01-29 5:00 ` E.G.N.Abbink
1997-01-30 5:00 ` Lon Stowell
1997-01-29 5:00 ` Twan van Elk
1997-01-31 5:00 ` Old-Fashioned Staffordshire Plate...
1997-02-01 5:00 ` Gene Wirchenko
1997-01-24 5:00 ` mathog
1997-01-25 5:00 ` Jean-Francois Mezei
1997-01-25 5:00 ` Glenn C. Everhart
1997-02-03 5:00 ` Old-Fashioned Staffordshire Plate...
1997-02-06 5:00 ` Paul Repacholi (prep)
1997-01-24 5:00 ` Tony Scandora 630-252-7541
1997-01-27 5:00 ` Old-Fashioned Staffordshire Plate...
1997-01-13 5:00 ` fairfield
1997-01-14 5:00 ` Paul Repacholi (prep)
1997-01-14 5:00 ` GRAY
1997-01-15 5:00 ` Ian Munro
1997-01-24 5:00 ` David Rudder
1997-01-15 5:00 ` glass
1997-01-22 5:00 ` R. D. Davis
1997-01-13 5:00 ` Kevin Oberman
1997-01-13 5:00 ` Douglas W. Jones,201H MLH,3193350740,3193382879
1997-01-14 5:00 ` Derek Peschel
1997-01-14 5:00 ` jfmezei
1997-01-14 5:00 ` Paul Repacholi (prep)
1997-01-16 5:00 ` Lon Stowell
1997-01-22 5:00 ` Jean-Francois Mezei
1997-01-22 5:00 ` Lon Stowell
1997-01-22 5:00 ` Mark Levy
1997-01-23 5:00 ` Gregg E Economou
1997-01-23 5:00 ` Steven P. Underwood
1997-01-23 5:00 ` Larry Kilgallen
1997-01-23 5:00 ` Lon Stowell
1997-01-23 5:00 ` Larry Kilgallen
1997-01-26 5:00 ` mathog
1997-01-23 5:00 ` Jean-Francois Mezei
1997-01-23 5:00 ` Richard Drushel
1997-01-23 5:00 ` John Vottero
1997-01-24 5:00 ` Andrew Clegg
1997-01-25 5:00 ` Ron Natalie
1997-01-25 5:00 ` John Varela
1997-01-25 5:00 ` Gene Wirchenko
1997-01-23 5:00 ` glass
[not found] ` <32E8A5F0.47035166@swec.com>
1997-01-29 5:00 ` Ronald Skoog
1997-01-30 5:00 ` Lon Stowell
1997-01-31 5:00 ` Fred J. Drinkwater
1997-01-31 5:00 ` Alan Bowler
1997-01-24 5:00 ` Paul Repacholi (prep)
1997-01-24 5:00 ` Andrew Clegg
1997-01-24 5:00 ` Jerry Leichter
1997-01-24 5:00 ` John Hascall
1997-01-28 5:00 ` Mark Donaldson
1997-02-07 5:00 ` Peter Quodling
1997-02-08 5:00 ` John Bayko
1997-02-12 5:00 ` Stuart R. Fuller
1997-02-20 5:00 ` Jack Patteeuw
1997-01-15 5:00 ` Glenn C. Everhart
1997-01-15 5:00 ` Fred Ballard
1997-01-16 5:00 ` jfmezei
1997-01-17 5:00 ` Roy Omond
1997-01-17 5:00 ` glass
1997-01-15 5:00 ` christopher f. chiesa
1997-01-25 5:00 ` Al Castanoli
1997-01-15 5:00 ` pdwalker
1997-01-16 5:00 ` CDC-6600 (was: A Microsoft Future?) Robert Schuldenfrei
1997-01-16 5:00 ` Gregory Travis
1997-01-16 5:00 ` glass
1997-01-16 5:00 ` John R. Campbell
1997-01-16 5:00 ` Gregory Travis
1997-01-17 5:00 ` Andre Rosenthal
1997-01-17 5:00 ` Gregory Travis
1997-01-17 5:00 ` Linwood Ferguson
1997-01-17 5:00 ` Adam J. Thornton
1997-01-17 5:00 ` Gregory Travis
1997-01-17 5:00 ` Linwood Ferguson
1997-01-18 5:00 ` Robert Schuldenfrei
1997-01-18 5:00 ` Linwood Ferguson
1997-01-18 5:00 ` Eric Schweitzer (archy)
1997-01-18 5:00 ` Eric Fischer
1997-01-19 5:00 ` Ingvar Mattsson
1997-01-19 5:00 ` John Hascall
1997-01-19 5:00 ` H.W. Stockman
1997-01-21 5:00 ` Will Rose
[not found] ` <9kafpuarfd.fsf@morticia.inmos.co.uk>
1997-01-28 5:00 ` Eric Fischer
1997-02-03 5:00 ` Jay R. Ashworth
1997-01-28 5:00 ` CDC-6600 Mel Wilson
1997-01-17 5:00 ` CDC-6600 (was: A Microsoft Future?) and CDC-1700 PDP-11 Trainee Guru
1997-01-20 5:00 ` Gary Heston
1997-01-17 5:00 ` CDC-6600 Mike Morris
1997-01-17 5:00 ` CDC-6600 (was: A Microsoft Future?) Ron Natalie
1997-01-17 5:00 ` Gregory Travis
1997-01-24 5:00 ` Jay R. Jaeger
1997-01-17 5:00 ` Jerzy Michal Pawlak
1997-01-17 5:00 ` Gregory Travis
1997-01-17 5:00 ` Ron Natalie
1997-01-17 5:00 ` Gregory Travis [this message]
1997-01-20 5:00 ` Alan Bowler
1997-01-17 5:00 ` Michael W. Walker
1997-01-18 5:00 ` Gene Wirchenko
1997-01-20 5:00 ` Ron Natalie
1997-02-06 5:00 ` CDC-6600 Eugene Miya
1997-01-17 5:00 ` CDC-6600 (was: A Microsoft Future?) Paul Repacholi (prep)
1997-01-16 5:00 ` A Microsoft Future? (was: VMS vs. WNT Clusters) Alfred Falk
1997-01-17 5:00 ` Brian Raiter
1997-01-18 5:00 ` Thierry Wautelet
1997-01-20 5:00 ` Randy Boback
1997-01-24 5:00 ` Chris Hedley
1997-01-27 5:00 ` Ketil Z Malde
1997-01-13 5:00 ` Ketil Z Malde
1997-01-13 5:00 ` Lennart Regebro
1997-01-13 5:00 ` Rich Lafferty
1997-01-15 5:00 ` pdwalker
1997-01-18 5:00 ` John "West" McKenna
1997-01-19 5:00 ` Lon Stowell
1997-01-20 5:00 ` Robert Koehler
1997-01-22 5:00 ` Jay R. Ashworth
1997-01-14 5:00 ` Gregg E Economou
1997-01-15 5:00 ` jfmezei
1997-01-21 5:00 ` David E. Fox
1997-01-21 5:00 ` Ian Munro
1997-01-21 5:00 ` James Harvey
1997-01-22 5:00 ` Tom Harrington
1997-01-27 5:00 ` Voice recognition in the workplace (was: A Microsoft Future?) R. D. Davis
1997-01-21 5:00 ` A Microsoft Future? (was: VMS vs. WNT Clusters) Carl R. Friend
1997-01-21 5:00 ` John Hascall
1997-01-28 5:00 ` Chris Holgate
1997-01-29 5:00 ` Gene Wirchenko
[not found] ` <Stafford-2101972029460001@jstafford.winona.msus.edu>
1997-01-21 5:00 ` Lon Stowell
1997-01-21 5:00 ` GUI vs Character Command Wars (was: A Microsoft Future?) Larry Kilgallen
1997-01-22 5:00 ` A Microsoft Future? (was: VMS vs. WNT Clusters) Graham Hughes
1997-01-22 5:00 ` Gregg E Economou
1997-01-23 5:00 ` Lon Stowell
1997-01-24 5:00 ` Jean-Francois Mezei
1997-01-26 5:00 ` Gregg E Economou
[not found] ` <Ed.Wilts-ya02408000R2601970920260001@nntp.gov.bc.ca>
1997-01-30 5:00 ` Byron Lister
1997-01-27 5:00 ` Alan Bowler
1997-01-28 5:00 ` _pdwalker_
1997-01-30 5:00 ` Lon Stowell
1997-01-31 5:00 ` Arlen Williams
1997-01-31 5:00 ` Lon Stowell
1997-01-28 5:00 ` Jean-Francois Mezei
1997-01-21 5:00 ` Boris Gjenero
1997-01-22 5:00 ` mathog
1997-01-23 5:00 ` Paul Kein�nen
1997-01-23 5:00 ` A.McIntosh
1997-01-21 5:00 ` Alexandre Pechtchanski
1997-01-22 5:00 ` Lon Stowell
1997-01-22 5:00 ` Arne Vajhoej
1997-01-23 5:00 ` Gene Wirchenko
1997-01-25 5:00 ` John Hendrickx
1997-01-28 5:00 ` Voice recognition (was: A Microsoft Future? ) Tim Hewitt
1997-01-31 5:00 ` A Microsoft Future? (was: VMS vs. WNT Clusters) Geoff. Lane
1997-01-14 5:00 ` Richard Levitte - VMS Whacker
1997-01-14 5:00 ` Richard Levitte - VMS Whacker
1997-01-17 5:00 ` CDC-6600 (was: A Microsoft Future?) Ron Natalie
1997-01-18 5:00 ` Gene Wirchenko
1997-01-20 5:00 ` Ron Natalie
1997-01-17 5:00 ` Michael Meissner
1997-01-17 5:00 ` Michael W. Walker
1997-02-06 5:00 ` CDC-6600 Eugene Miya
1997-02-07 5:00 ` CDC-6600 Toon Moene
1997-01-17 5:00 ` Pr1mos (was Re: CDC-6600 (was: A Microsoft Future?)) Gregory Travis
1997-01-17 5:00 ` Douglas W. Jones,201H MLH,3193350740,3193382879
1997-01-21 5:00 ` Mr CJ HOLGATE
1997-01-22 5:00 ` Ian Winder
1997-02-02 5:00 ` Ralph Edward Chadis
1997-01-17 5:00 ` A Microsoft Future? (was: VMS vs. WNT Clusters) Richard M. Alderson III
1997-01-17 5:00 ` CDC-6600 (was: A Microsoft Future?) Michael Meissner
1997-01-20 5:00 ` Glenn C. Everhart
1997-01-17 5:00 ` CDC-6600 Michael Moroney
1997-01-17 5:00 ` CDC-6600 Gregory Travis
1997-01-17 5:00 ` CDC-6600 Michael W. Walker
1997-01-17 5:00 ` CDC-6600 Gregory Travis
1997-01-17 5:00 ` CDC-6600 Gregory Travis
1997-01-17 5:00 ` CDC-6600 Gregory Travis
1997-01-19 5:00 ` CDC-6600 Paul Repacholi (prep)
1997-01-18 5:00 ` CDC-6600 Gregory Travis
1997-01-21 5:00 ` CDC-6600 Jeff Lanam
1997-01-22 5:00 ` CDC-6600 Jitze Couperus
1997-01-28 5:00 ` CDC-6600 Brad Spencer
1997-01-20 5:00 ` CDC-6600 ed thelen
1997-01-21 5:00 ` CDC-6600 Edward A. Weiss III
1997-01-17 5:00 ` CDC-6600 Brad Spencer
1997-01-17 5:00 ` CDC-6600 Paul Kein�nen
1997-01-17 5:00 ` CDC-6600 Alexandre Pechtchanski
1997-01-17 5:00 ` CDC-6600 Ron Natalie
1997-01-20 5:00 ` CDC-6600 (was: A Microsoft Future?) Ron Natalie
1997-01-21 5:00 ` Edward Rice
1997-01-20 5:00 ` Geoff. Lane
1997-01-22 5:00 ` CDC-6600 Michael Moroney
1997-01-28 5:00 ` CDC-6600 Brad Spencer
1997-01-22 5:00 ` CDC-6600 Michael Moroney
1997-01-23 5:00 ` CDC-6600 Jerry Leichter
1997-01-24 5:00 ` A Microsoft Future? (was: VMS vs. WNT Clusters) Stephen Crane
1997-01-24 5:00 ` Marco S Hyman
1997-01-25 5:00 ` Nathan Sullivan
1997-01-27 5:00 ` CDC-6600 Geoff. Lane
1997-01-27 5:00 ` CDC-6600 Arne Vajhoej
1997-02-04 5:00 ` A Microsoft Future? (was: VMS vs. WNT Clusters) Brian Wheeler
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