Sujet : Re: ancient OS history, ARM is sort of channeling the IBM 360
De : mitchalsup (at) *nospam* aol.com (MitchAlsup1)
Groupes : comp.archDate : 27. Jun 2024, 02:13:23
Autres entêtes
Organisation : Rocksolid Light
Message-ID : <371c226da85d0d80c184e74020a5c381@www.novabbs.org>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13
User-Agent : Rocksolid Light
Stephen Fuld wrote:
Lawrence D'Oliveiro wrote:
On Tue, 25 Jun 2024 22:28:40 -0700, Stephen Fuld wrote:
>
But if you are using the "standard" Unix file system, doesn't it
read the block(S) into its cache, then when the user program does
the read, transfer the data from its cache into the user's
variables? That is the extra overhead to which I was referring.
>
That tends to happen anyway, even on OSes which insist on
record-oriented I/O. For example, on DEC’s VMS, the record blocking
layer is called “RMS” (“Record Management Services”), and that
usually copies records between the user’s buffers and its own
internal buffers (“move mode”). It is possible to request “locate
mode”, where it returns the address of a record directly within its
internal buffers. But there are many restrictions on this, among
other things:
>
* It only works for reads, not for writes
* It doesn’t work for records crossing block boundaries
* It doesn’t work for compressed records
>
So this record-copying overhead is not, in itself, a point against
Unix- style streaming I/O.
The fact that other OSs "made the same mistake" :-) isn't a point for
treating all I/O as a stream of bytes. I don't know VAX, but I don't
understand why not for writes. The no crossing block boundries is a
side effect of fixed block disks. This couldn't happen in OS/360 with
CKD disks. I agree about compression, of course, as unless you do the
compression in the I/O hardware stream, you need to "move" the data
anyway.
I had a job at S.E.L where I was assigned the task of reading the
intermediate
representation of the Mary 2 compiler (Ivan's). Out FORTRAN (66+) had
record
oriented I/O that was notoriously slow if you simply wanted stream I/O.
So, after pondering this for a day or two, I wrote up a "streamifier"
a front end to the record oriented FORTRAN I/O. And provided back end
callers essentially a getc() putc() interface to record oriented files.
The system only allowed a use program to have 6 files open at any point
in
time, and since I did not know how man files I might need, I allocated a
20 element file control block structure, which contained the file names
that SW thinks are open, and their current status and point.
Then I build a cache 16-pages of memory and tagged the lines with the
file
identifier,...
When I took a cache miss in the table, I would look through the open
files
list to see if I needed to close one file down and open a different file
up. Perform some I/O requests, and allow caller to munge through
streaming
data.
This SW package would handle large number of virtually open files, and
enable stream level access significantly faster than the record oriented
assembly code file management in the OS. Something like 5× faster--but
it
has been 40 years.
Date | Sujet | # | | Auteur |
20 Jun 24 | ARM is channeling the IBM 360 | 102 | | John Savard |
20 Jun 24 |  Re: ARM is sort of channeling the IBM 360 | 95 | | John Levine |
21 Jun 24 |   Re: ARM is sort of channeling the IBM 360 | 94 | | Lynn Wheeler |
24 Jun 24 |    Re: ARM is sort of channeling the IBM 360 | 93 | | Lawrence D'Oliveiro |
24 Jun 24 |     Re: ancient OS history, ARM is sort of channeling the IBM 360 | 90 | | John Levine |
24 Jun 24 |      Re: ancient OS history, ARM is sort of channeling the IBM 360 | 87 | | Lynn Wheeler |
24 Jun 24 |       Re: ancient OS history, ARM is sort of channeling the IBM 360 | 82 | | Lawrence D'Oliveiro |
25 Jun 24 |        Re: ancient OS history, ARM is sort of channeling the IBM 360 | 81 | | John Levine |
25 Jun 24 |         Re: ancient OS history, ARM is sort of channeling the IBM 360 | 73 | | Lawrence D'Oliveiro |
25 Jun 24 |          Re: ancient OS history, ARM is sort of channeling the IBM 360 | 72 | | Stephen Fuld |
25 Jun 24 |           Re: ancient OS history, ARM is sort of channeling the IBM 360 | 64 | | Stephen Fuld |
26 Jun 24 |            Re: ancient OS history, ARM is sort of channeling the IBM 360 | 63 | | Stephen Fuld |
26 Jun 24 |             Re: ancient OS history, ARM is sort of channeling the IBM 360 | 62 | | Lawrence D'Oliveiro |
26 Jun 24 |              Re: ancient OS history, ARM is sort of channeling the IBM 360 | 57 | | John Levine |
26 Jun 24 |               Re: ancient OS history, ARM is sort of channeling the IBM 360 | 56 | | Lawrence D'Oliveiro |
27 Jun 24 |                Re: ancient OS history, ARM is sort of channeling the IBM 360 | 55 | | John Levine |
27 Jun 24 |                 Re: ancient OS history, ARM is sort of channeling the IBM 360 | 54 | | MitchAlsup1 |
28 Jun 24 |                  Re: ancient OS history, ARM is sort of channeling the IBM 360 | 53 | | Lawrence D'Oliveiro |
28 Jun 24 |                   Re: TSS I/O, ancient OS history | 1 | | John Levine |
28 Jun 24 |                   Re: ancient OS history, ARM is sort of channeling the IBM 360 | 51 | | MitchAlsup1 |
28 Jun 24 |                    Re: ancient OS history, ARM is sort of channeling the IBM 360 | 50 | | Lawrence D'Oliveiro |
29 Jun 24 |                     Re: ancient OS history, ARM is sort of channeling the IBM 360 | 49 | | Stephen Fuld |
29 Jun 24 |                      Re: ancient OS history, ARM is sort of channeling the IBM 360 | 48 | | John Levine |
30 Jun 24 |                       Re: ancient OS history, ARM is sort of channeling the IBM 360 | 32 | | Lawrence D'Oliveiro |
30 Jun 24 |                        Re: ancient OS history, ARM is sort of channeling the IBM 360 | 1 | | MitchAlsup1 |
30 Jun 24 |                        Re: ancient OS history, ARM is sort of channeling the IBM 360 | 30 | | Stephen Fuld |
30 Jun 24 |                         Re: ancient OS history, ARM is sort of channeling the IBM 360 | 24 | | Lawrence D'Oliveiro |
30 Jun 24 |                          Re: ancient OS history, ARM is sort of channeling the IBM 360 | 22 | | Lynn Wheeler |
30 Jun 24 |                           Re: ancient OS history, ARM is sort of channeling the IBM 360 | 21 | | John Dallman |
30 Jun 24 |                            Re: ancient OS history, ARM is sort of channeling the IBM 360 | 19 | | Thomas Koenig |
30 Jun 24 |                             Re: ancient OS history, ARM is sort of channeling the IBM 360 | 8 | | Michael S |
30 Jun 24 |                              Re: ancient OS history, ARM is sort of channeling the IBM 360 | 6 | | Thomas Koenig |
30 Jun 24 |                               Re: ancient OS history, ARM is sort of channeling the IBM 360 | 4 | | Stephen Fuld |
30 Jun 24 |                                Re: base registers, ancient OS history, ARM is sort of channeling the IBM 360 | 3 | | John Levine |
1 Jul 24 |                                 Re: base registers, ancient OS history, ARM is sort of channeling the IBM 360 | 2 | | Lawrence D'Oliveiro |
1 Jul 24 |                                  Re: base registers, ancient OS history, ARM is sort of channeling the IBM 360 | 1 | | John Levine |
30 Jun 24 |                               Re: ancient OS history, ARM is sort of channeling the IBM 360 | 1 | | MitchAlsup1 |
30 Jun 24 |                              Re: ancient OS history, ARM is sort of channeling the IBM 360 | 1 | | MitchAlsup1 |
30 Jun 24 |                             Re: ancient OS history, ARM is sort of channeling the IBM 360 | 10 | | John Dallman |
30 Jun 24 |                              Re: ancient OS history, ARM is sort of channeling the IBM 360 | 1 | | MitchAlsup1 |
30 Jun 24 |                              Re: ancient OS history, ARM is sort of channeling the IBM 360 | 8 | | Stephen Fuld |
30 Jun 24 |                               Re: small old machines, ancient OS history, ARM is sort of channeling the IBM 360 | 1 | | John Levine |
30 Jun 24 |                               Re: ancient OS history, ARM is sort of channeling the IBM 360 | 4 | | John Dallman |
30 Jun 24 |                                Re: ancient OS history, ARM is sort of channeling the IBM 360 | 2 | | Stephen Fuld |
30 Jun 24 |                                 Re: ancient OS history, ARM is sort of channeling the IBM 360 | 1 | | John Dallman |
30 Jun 24 |                                Re: ancient OS history, ARM is sort of channeling the IBM 360 | 1 | | Lynn Wheeler |
30 Jun 24 |                               Re: ancient OS history, ARM is sort of channeling the IBM 360 | 2 | | MitchAlsup1 |
1 Jul 24 |                                Re: ancient OS history, ARM is sort of channeling the IBM 360 | 1 | | moi |
30 Jun 24 |                            Re: ancient OS history, ARM is sort of channeling the IBM 360 | 1 | | Lynn Wheeler |
30 Jun 24 |                          Re: ancient OS history, ARM is sort of channeling the IBM 360 | 1 | | Stephen Fuld |
1 Jul 24 |                         Re: ancient OS history, ARM is sort of channeling the IBM 360 | 5 | | Lawrence D'Oliveiro |
2 Jul 24 |                          Re: ancient OS history, ARM is sort of channeling the IBM 360 | 4 | | John Levine |
2 Jul 24 |                           Re: ancient OS history, ARM is sort of channeling the IBM 360 | 3 | | Lawrence D'Oliveiro |
2 Jul 24 |                            Re: ancient OS history, ARM is sort of channeling the IBM 360 | 2 | | John Levine |
2 Jul 24 |                             Re: ancient OS history, ARM is sort of channeling the IBM 360 | 1 | | Dan Cross |
30 Jun 24 |                       Re: ancient OS history, ARM is sort of channeling the IBM 360 | 15 | | Anton Ertl |
30 Jun 24 |                        Re: ancient OS history, ARM is sort of channeling the IBM 360 | 14 | | Anton Ertl |
30 Jun 24 |                         Re: streams and file locks, ancient OS history, ARM is sort of channeling the IBM 360 | 13 | | John Levine |
30 Jun 24 |                          Re: streams and file locks, ancient OS history, ARM is sort of channeling the IBM 360 | 10 | | MitchAlsup1 |
30 Jun 24 |                           Re: streams and file locks, ancient OS history, ARM is sort of channeling | 9 | | John Levine |
1 Jul 24 |                            Re: streams and file locks, ancient OS history, ARM is sort of channeling | 8 | | MitchAlsup1 |
1 Jul 24 |                             Re: streams and file locks, ancient OS history, ARM is sort of channeling | 7 | | John Levine |
1 Jul 24 |                              Re: streams and file locks, ancient OS history, ARM is sort of channeling | 2 | | Lawrence D'Oliveiro |
1 Jul 24 |                               Re: streams and file locks, ancient OS history, ARM is sort of channeling | 1 | | John Levine |
1 Jul 24 |                              Re: streams and file locks, ancient OS history, ARM is sort of channeling | 4 | | Michael S |
1 Jul 24 |                               Re: streams and file locks, ancient OS history, ARM is sort of channeling | 3 | | MitchAlsup1 |
2 Jul 24 |                                Re: streams and file locks, ancient OS history, ARM is sort of channeling | 1 | | Michael S |
2 Jul 24 |                                Re: streams and file locks, ancient OS history, ARM is sort of channeling | 1 | | Michael S |
1 Jul 24 |                          Re: streams and file locks, ancient OS history, ARM is sort of channeling the IBM 360 | 2 | | Lawrence D'Oliveiro |
1 Jul 24 |                           Re: streams and file locks, ancient OS history | 1 | | John Levine |
26 Jun 24 |              Re: ancient OS history, ARM is sort of channeling the IBM 360 | 4 | | Stephen Fuld |
26 Jun 24 |               Re: ancient OS history, ARM is sort of channeling the IBM 360 | 2 | | John Levine |
26 Jun 24 |                Re: ancient OS history, ARM is sort of channeling the IBM 360 | 1 | | Stephen Fuld |
27 Jun 24 |               Re: ancient OS history, ARM is sort of channeling the IBM 360 | 1 | | MitchAlsup1 |
26 Jun 24 |           Re: ancient OS history, ARM is sort of channeling the IBM 360 | 7 | | John Levine |
26 Jun 24 |            Re: ancient OS history, ARM is sort of channeling the IBM 360 | 6 | | John Levine |
27 Jun 24 |             Re: ancient OS history, ARM is sort of channeling the IBM 360 | 5 | | Thomas Koenig |
27 Jun 24 |              Re: ancient OS history, ARM is sort of channeling the IBM 360 | 4 | | John Levine |
27 Jun 24 |               Re: ancient OS history, ARM is sort of channeling the IBM 360 | 1 | | Thomas Koenig |
28 Jun 24 |               Re: ancient OS history, ARM is sort of channeling the IBM 360 | 1 | | Lawrence D'Oliveiro |
28 Jun 24 |               Re: ancient OS history, ARM is sort of channeling the IBM 360 | 1 | | Lawrence D'Oliveiro |
25 Jun 24 |         Re: ancient OS history, ARM is sort of channeling the IBM 360 | 6 | | Terje Mathisen |
25 Jun 24 |          Re: ancient OS history, ARM is sort of channeling the IBM 360 | 2 | | Lawrence D'Oliveiro |
25 Jun 24 |           Re: ancient OS history, ARM is sort of channeling the IBM 360 | 1 | | Terje Mathisen |
25 Jun 24 |          Re: ancient OS history, ARM is sort of channeling the IBM 360 | 3 | | Michael S |
25 Jun 24 |           Re: ancient OS history, ARM is sort of channeling the IBM 360 | 2 | | Michael S |
26 Jun 24 |            Re: ancient OS history, ARM is sort of channeling the IBM 360 | 1 | | Terje Mathisen |
25 Jun 24 |         Re: ancient OS history, ARM is sort of channeling the IBM 360 | 1 | | Lynn Wheeler |
24 Jun 24 |       Re: ancient OS history, ARM is sort of channeling the IBM 360 | 4 | | Terje Mathisen |
24 Jun 24 |        Re: ancient OS history, ARM is sort of channeling the IBM 360 | 2 | | Lawrence D'Oliveiro |
24 Jun 24 |         Re: ancient OS history, ARM is sort of channeling the IBM 360 | 1 | | Stephen Fuld |
24 Jun 24 |        Re: ancient OS history, ARM is sort of channeling the IBM 360 | 1 | | Thomas Koenig |
24 Jun 24 |      Re: ancient OS history, ARM is sort of channeling the IBM 360 | 2 | | Thomas Koenig |
24 Jun 24 |       Re: ancient OS history, ARM is sort of channeling the IBM 360 | 1 | | Lawrence D'Oliveiro |
24 Jun 24 |     Re: ARM is sort of channeling the IBM 360 | 2 | | Stephen Fuld |
24 Jun 24 |      Re: ARM is sort of channeling the IBM 360 | 1 | | Stephen Fuld |
20 Jun 24 |  Re: ARM is channeling the IBM 360 | 2 | | moi |
24 Jun 24 |   Re: ARM is channeling the IBM 360 | 1 | | Lawrence D'Oliveiro |
20 Jun 24 |  Re: ARM is channeling the IBM 360 | 4 | | MitchAlsup1 |
22 Jun 24 |   Re: ARM is channeling the IBM 360 | 3 | | John Dallman |
22 Jun 24 |    Re: ARM is channeling the IBM 360 | 1 | | MitchAlsup1 |
22 Jun 24 |    Re: ARM is channeling the IBM 360 | 1 | | BGB |