Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connectionsPath: ...!feeds.phibee-telecom.net!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: "Stephen Fuld"
Newsgroups: comp.arch
Subject: Re: ancient OS history, ARM is sort of channeling the IBM 360
Date: Wed, 26 Jun 2024 16:25:35 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 40
Message-ID:
References: <87le2vatq4.fsf@localhost> <3XAeO.24906$Gurd.8658@fx34.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 26 Jun 2024 18:25:35 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="66649ab155d410eb2cdd08deb22663c0";
logging-data="2335426"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1947429bQyqHwA9KL9QWlpA3ITggEfMFMk="
User-Agent: XanaNews/1.21-f3fb89f (x86; Portable ISpell)
Cancel-Lock: sha1:Gp8Vbik/TzksQa6ItaOukKfFmxw=
Bytes: 3030
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.
--
- Stephen Fuld
(e-mail address disguised to prevent spam)