Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"The medium is the message." -- Marshall McLuhan


computers / comp.os.vms / CRTL and RMS vs SSIO

SubjectAuthor
* CRTL and RMS vs SSIOGreg Tinkler
+* Re: CRTL and RMS vs SSIOStephen Hoffman
|`* Re: CRTL and RMS vs SSIOGreg Tinkler
| `- Re: CRTL and RMS vs SSIOStephen Hoffman
+* Re: CRTL and RMS vs SSIOCraig A. Berry
|+* Re: CRTL and RMS vs SSIODavid Jones
||+* Re: CRTL and RMS vs SSIOJohn Dallman
|||+* Re: CRTL and RMS vs SSIOGreg Tinkler
||||+- Re: CRTL and RMS vs SSIOArne Vajhøj
||||+* Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||||`* Re: CRTL and RMS vs SSIOArne Vajhøj
||||| `* Re: CRTL and RMS vs SSIODave Froble
|||||  `* Re: CRTL and RMS vs SSIOArne Vajhøj
|||||   `* Re: CRTL and RMS vs SSIODave Froble
|||||    `* Re: CRTL and RMS vs SSIOArne Vajhøj
|||||     `* Re: CRTL and RMS vs SSIODave Froble
|||||      +* Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||||      |`* Re: CRTL and RMS vs SSIODave Froble
|||||      | `* Re: CRTL and RMS vs SSIOSimon Clubley
|||||      |  +- Re: CRTL and RMS vs SSIODave Froble
|||||      |  +- Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||||      |  `* Re: CRTL and RMS vs SSIOPhillip Helbig (undress to reply
|||||      |   +- Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||||      |   `* Re: CRTL and RMS vs SSIOPhillip Helbig (undress to reply
|||||      |    +* Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||||      |    |`- Re: CRTL and RMS vs SSIODave Froble
|||||      |    `* Re: CRTL and RMS vs SSIOPhillip Helbig (undress to reply
|||||      |     `- Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||||      `* Re: CRTL and RMS vs SSIOArne Vajhøj
|||||       `* Re: CRTL and RMS vs SSIODave Froble
|||||        +* Re: CRTL and RMS vs SSIOJan-Erik Söderholm
|||||        |`* Re: CRTL and RMS vs SSIODave Froble
|||||        | +* Re: CRTL and RMS vs SSIOArne Vajhøj
|||||        | |`* Re: CRTL and RMS vs SSIODave Froble
|||||        | | `* Re: CRTL and RMS vs SSIOSimon Clubley
|||||        | |  `* Re: CRTL and RMS vs SSIODave Froble
|||||        | |   `- Re: CRTL and RMS vs SSIOArne Vajhøj
|||||        | `* Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||||        |  `* Re: CRTL and RMS vs SSIOchris
|||||        |   +- Re: CRTL and RMS vs SSIOArne Vajhøj
|||||        |   `* Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||||        |    `- Re: CRTL and RMS vs SSIOchris
|||||        +* Re: CRTL and RMS vs SSIOArne Vajhøj
|||||        |`* Re: CRTL and RMS vs SSIODave Froble
|||||        | `* Re: CRTL and RMS vs SSIOArne Vajhøj
|||||        |  +* Re: CRTL and RMS vs SSIODave Froble
|||||        |  |+* Coding with/without RDBMSDave Froble
|||||        |  ||+- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||`* Re: Coding with/without RDBMSSimon Clubley
|||||        |  || +* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  || |`* Re: Coding with/without RDBMSDave Froble
|||||        |  || | +* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  || | |`* Re: Coding with/without RDBMSSimon Clubley
|||||        |  || | | `* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  || | |  `* Re: Coding with/without RDBMSSimon Clubley
|||||        |  || | |   +- Re: Coding with/without RDBMSchris
|||||        |  || | |   `* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  || | |    `* Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  || | |     +- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  || | |     `- Re: Coding with/without RDBMSchris
|||||        |  || | `* Re: Coding with/without RDBMSPhillip Helbig (undress to reply
|||||        |  || |  +* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  || |  |`- Re: Coding with/without RDBMSDave Froble
|||||        |  || |  `* Re: Coding with/without RDBMSBill Gunshannon
|||||        |  || |   +* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  || |   |+- Re: Coding with/without RDBMSDavid Jones
|||||        |  || |   |`- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  || |   `- Re: Coding with/without RDBMSDave Froble
|||||        |  || `* Re: Coding with/without RDBMSDave Froble
|||||        |  ||  +* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||  |+- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||  |`* Re: Coding with/without RDBMSDave Froble
|||||        |  ||  | `- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||  +- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||  +* Re: Coding with/without RDBMSPhillip Helbig (undress to reply
|||||        |  ||  |`- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||  `* Re: Coding with/without RDBMSSimon Clubley
|||||        |  ||   `* Re: Coding with/without RDBMSDave Froble
|||||        |  ||    +- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||    `* Re: Coding with/without RDBMSSimon Clubley
|||||        |  ||     +* Re: Coding with/without RDBMSBill Gunshannon
|||||        |  ||     |`- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||     `* Re: Coding with/without RDBMSDave Froble
|||||        |  ||      +- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||      +* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||      |`* Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||      | `* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||      |  `- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||      `* Re: Coding with/without RDBMSBill Gunshannon
|||||        |  ||       +* Re: Coding with/without RDBMSDavid Jones
|||||        |  ||       |`- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||       +* Re: Coding with/without RDBMSSimon Clubley
|||||        |  ||       |`* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||       | +- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||       | `* Re: Coding with/without RDBMSBill Gunshannon
|||||        |  ||       |  +* Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||       |  |+* Re: Coding with/without RDBMSJan-Erik Söderholm
|||||        |  ||       |  ||+- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||       |  ||`- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||       |  |`- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||       |  +- Re: Coding with/without RDBMSPhillip Helbig (undress to reply
|||||        |  ||       |  +- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||       |  `- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||       +- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||       `- Re: Coding with/without RDBMSDave Froble
|||||        |  |+- Re: CRTL and RMS vs SSIOArne Vajhøj
|||||        |  |`* Re: CRTL and RMS vs SSIOArne Vajhøj
|||||        |  `- Re: CRTL and RMS vs SSIOArne Vajhøj
|||||        `* Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
||||+* Re: CRTL and RMS vs SSIODave Froble
||||+* Re: CRTL and RMS vs SSIOSimon Clubley
||||`* Re: CRTL and RMS vs SSIOStephen Hoffman
|||+* Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||`- Re: CRTL and RMS vs SSIOSimon Clubley
||`* Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|`* Re: CRTL and RMS vs SSIODave Froble
`- Re: CRTL and RMS vs SSIOArne Vajhøj

Pages:123456789101112131415
Re: CRTL and RMS vs SSIO

<sjq43p$st7$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17652&group=comp.os.vms#17652

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Fri, 8 Oct 2021 14:50:59 -0400
Organization: A noiseless patient Spider
Lines: 65
Message-ID: <sjq43p$st7$1@dont-email.me>
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com>
<sjk5fb$e1h$1@dont-email.me>
<4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk>
<b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjls47$q6s$1@dont-email.me> <sjmqed$73g$1@dont-email.me>
<sjn6pu$pue$1@dont-email.me> <sjn95t$acq$1@dont-email.me>
<sjnng5$cs4$1@dont-email.me> <sjplsn$opl$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 8 Oct 2021 18:53:45 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="44f1bc72a12d3a00399c1201680be5e2";
logging-data="29607"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19MzzNP6I7kVT0MjMm69kp/pQyfqUrTqds="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:kDLFhBaYCabeqfbY1udc0NrB6Bo=
In-Reply-To: <sjplsn$opl$1@dont-email.me>
 by: Dave Froble - Fri, 8 Oct 2021 18:50 UTC

On 10/8/2021 10:51 AM, Stephen Hoffman wrote:
> On 2021-10-07 21:03:53 +0000, Dave Froble said:
>
>> On 10/7/2021 1:01 PM, Stephen Hoffman wrote:
>>> On 2021-10-07 16:18:28 +0000, Dave Froble said:
>>>
>>>> I'm aware of how useful something like SSIO would be. I'm just
>>>> appalled by the design and implementation. As mentioned, it seems
>>>> aimed at just a few current uses, and totally ignores how useful it
>>>> would be for many more future uses. This is rather consistent with
>>>> the long time apathy with which VMS has been treated. It's more a
>>>> patch than an enhancement. This is what I lament.
>>>
>>> Alas, there's no other outcome when upward-compatibility is an
>>> overarching goal for the platform.
>>
>> Now I''m just a dumb polock, wandered down out of the woods. But I
>> just don't see where upward compatibility has anything to do with
>> enhancements to the DLM. If existing calls continue to work as
>> before, and only when an optional extra parameter would enable new
>> capabilities, then upward compatibility just cannot be an issue. At
>> least for this.
>
> I was building on the "long term apathy" and "more patch than
> enhancement" comments, with the increasing difficulties even making
> comparatively minor or isolated changes and updates.
>
> Larger changes can be Really Difficult with ~40 years of accumunated
> dependencies around, assuming the developers and schedule and funding
> are all available. (q.v. Hyrum's Law.)

Hyrum's Law and such points to the need of good software architecture.
(I always have to use the spell checker on that word.)

If intelligent and structured use of something like VMS if followed,
enhancements should not be much of an issue. It is when people do
things they really should not the problems arise. Compatibility with
well designed tools should not be an issue. Going off on one's own, and
making assumptions about things, which are not guaranteed to remain
as-is is where such problems occur, for the most part.

As a simple example:

If Stat% and 1%

vs

If Stat% and SS$_NORMAL

That causes a problem, if the VMS developers decide that "1" is no
longer what it used to be. The problem is not compatibility, the
problem is not using the approved constant.

Now while breaking customers code can be bad for business, the dumb
polock can say "fuck 'em, enhance the product and break their erroneous
code".

:-)

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: CRTL and RMS vs SSIO

<sjq6hf$d3j$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17654&group=comp.os.vms#17654

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Fri, 8 Oct 2021 15:32:20 -0400
Organization: A noiseless patient Spider
Lines: 61
Message-ID: <sjq6hf$d3j$1@dont-email.me>
References: <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjls47$q6s$1@dont-email.me> <sjmqed$73g$1@dont-email.me>
<sjn6pu$pue$1@dont-email.me> <sjn95t$acq$1@dont-email.me>
<sjnng5$cs4$1@dont-email.me> <sjq23f$2rc$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 8 Oct 2021 19:35:11 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="44f1bc72a12d3a00399c1201680be5e2";
logging-data="13427"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+JQV+R/YCKZM0DqDHHISdx/69Kboz3yWI="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:KZPzvgDD6pzpyIXyfo1JiB93XYA=
In-Reply-To: <sjq23f$2rc$2@dont-email.me>
 by: Dave Froble - Fri, 8 Oct 2021 19:32 UTC

On 10/8/2021 2:19 PM, Simon Clubley wrote:
> On 2021-10-07, Dave Froble <davef@tsoft-inc.com> wrote:
>>
>> Now I''m just a dumb polock, wandered down out of the woods. But I just
>> don't see where upward compatibility has anything to do with
>> enhancements to the DLM. If existing calls continue to work as before,
>> and only when an optional extra parameter would enable new capabilities,
>> then upward compatibility just cannot be an issue. At least for this.
>>
>
> Is there a version number on the current inter-node DLM messages ?

Good question, and if not, perhaps such could be implemented. However,
what I envision should not affect usage of the existing resource name lock.

> If not, how can you change the DLM message structure in a compatible way ?
>
> If yes, what happens when an older node sees a later format DLM message ?
> You would at least need a compatibility kit to be installed on the older
> nodes.

Perhaps.

>> The optional parameter might be a "lock type", and if not present,
>> existing logic would be used, and if present, new code could be executed
>> to process the new lock type. Stuff a couple of quadwords into the
>> resource name for the numeric range. It would add one new piece of data
>> to the DLM data structure(s).
>>
>
> What about the DLM messages sent between nodes ?
>
> Simon.
>

First, re-read what I posted. Specifically "if not present, existing
logic would be used".

Not sure what you're calling "DLM message".

The only data item I'd see added to the lock database would be the "lock
type", and that could be done in a manner such that it does not affect
lock database information that does not have the new structure definitions.

Perhaps it could be arranged that when using the new data structure(s),
that it would be mandatory to update all nodes in a cluster. Perhaps
some type of version would disallow usage of dissimilar versions.

Note that any node or cluster that wished to use numeric range locking
would have to have the enhancement installed. If not using it, then
nothing changes.

This could be done as a VMS DLM enhancement. I'm rather sure of that.
Whether the desire to do so might be a different issue.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: CRTL and RMS vs SSIO

<sjqa3q$3ep$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17657&group=comp.os.vms#17657

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Fri, 8 Oct 2021 20:36:10 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <sjqa3q$3ep$1@dont-email.me>
References: <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com> <sjls47$q6s$1@dont-email.me> <sjmqed$73g$1@dont-email.me> <sjn6pu$pue$1@dont-email.me> <sjn95t$acq$1@dont-email.me> <sjnng5$cs4$1@dont-email.me> <sjq23f$2rc$2@dont-email.me> <sjq6hf$d3j$1@dont-email.me>
Injection-Date: Fri, 8 Oct 2021 20:36:10 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a674aefec0e092ca66ac40a5975e36ee";
logging-data="3545"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18dsowoCw2roX56a7uGuj5omAsqF9Ax1Nk="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:bF7np9UQXXHc1RC4GHjRNzFYjEQ=
 by: Simon Clubley - Fri, 8 Oct 2021 20:36 UTC

On 2021-10-08, Dave Froble <davef@tsoft-inc.com> wrote:
>
> Not sure what you're calling "DLM message".
>

DLM-related cluster traffic.

Anything you propose not only has to be compatible at API level,
but also in physical DLM messages on the wire.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: CRTL and RMS vs SSIO

<f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17659&group=comp.os.vms#17659

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a37:b06:: with SMTP id 6mr5289322qkl.352.1633733705812;
Fri, 08 Oct 2021 15:55:05 -0700 (PDT)
X-Received: by 2002:ac8:4585:: with SMTP id l5mr1105071qtn.93.1633733704284;
Fri, 08 Oct 2021 15:55:04 -0700 (PDT)
Path: rocksolid2!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Fri, 8 Oct 2021 15:55:03 -0700 (PDT)
In-Reply-To: <sjpojk$ctb$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=118.93.180.215; posting-account=Rx7iEQoAAACMdczcZGHsDFakQWn8-8-t
NNTP-Posting-Host: 118.93.180.215
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com>
<sjk5fb$e1h$1@dont-email.me> <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me> <sjne7k$d5p$1@dont-email.me>
<017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com> <sjpojk$ctb$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com>
Subject: Re: CRTL and RMS vs SSIO
From: lawrence...@gmail.com (Lawrence D’Oliveiro)
Injection-Date: Fri, 08 Oct 2021 22:55:05 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 32
 by: Lawrence D’Oliveir - Fri, 8 Oct 2021 22:55 UTC

On Saturday, October 9, 2021 at 4:37:26 AM UTC+13, Stephen Hoffman wrote:
> Having looked at this back in the VAX era, the slow process creations
> our apps were incurring were arising from inefficiencies within the DCL
> spawn-related processing, and not from within the OpenVMS process
> creation overhead.
>
> Once that was identified and the obvious work-around implemented,
> spawns were pretty speedy even VAX-era.
>
> To Simon's comment, how DCL gets mapped into process address space is
> just ugly, too. And hard to debug.

But the whole reason why DCL maps into a process in this way, so that user-mode code can be repeatedly loaded, run and then wiped from the same process, was precisely to avoid multiple process creations. Now you are saying that the DCL mechanism itself contributes to the overhead of process creations!

But “spawn” is still not the same as “fork”.. Sure, in *nix, the “fork” followed by “exec” idiom is common, but lots of forks are done without an accompanying exec (I’ve done a few myself). In the early days of Unix, the “vfork” hack was invented to speed things up in the fork+exec case, but this was later discovered to be unnecessary: not (so much) because hardware had become faster, but it was recognized that the bottleneck of giving the child process its own copy of non-shared writable memory could be avoided/postponed by just copying the relevant page table entries and setting a “copy-on-write” flag on them.

What do you know, vfork(2) was actually specified in POSIX, and Linux still supports it <https://manpages.debian.org/bullseye/manpages-dev/vfork.2.en.html>.

Re: CRTL and RMS vs SSIO

<75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17665&group=comp.os.vms#17665

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:57d0:: with SMTP id w16mr1478590qta.96.1633737849648;
Fri, 08 Oct 2021 17:04:09 -0700 (PDT)
X-Received: by 2002:a05:6214:136b:: with SMTP id c11mr13294154qvw.42.1633737849446;
Fri, 08 Oct 2021 17:04:09 -0700 (PDT)
Path: rocksolid2!i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Fri, 8 Oct 2021 17:04:09 -0700 (PDT)
In-Reply-To: <f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=49.176.150.5; posting-account=N9Q8kAoAAACE4Wg6nhCkJI0wEBaOLnQX
NNTP-Posting-Host: 49.176.150.5
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com>
<sjk5fb$e1h$1@dont-email.me> <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me> <sjne7k$d5p$1@dont-email.me>
<017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com> <sjpojk$ctb$1@dont-email.me>
<f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com>
Subject: Re: CRTL and RMS vs SSIO
From: tinkl...@gmail.com (Greg Tinkler)
Injection-Date: Sat, 09 Oct 2021 00:04:09 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 26
 by: Greg Tinkler - Sat, 9 Oct 2021 00:04 UTC

<snip>
>>> The optional parameter might be a "lock type", and if not present,
>>> existing logic would be used, and if present, new code could be executed
>>> to process the new lock type. Stuff a couple of quadwords into the
>>> resource name for the numeric range. It would add one new piece of data
>>> to the DLM data structure(s).

What would be useful is a name space for the lock e.g. RMS ...

Well there is the group id from UIC, and there is $set_resource_domain(), both can be useful but not a solution.

Having a name space that can be local machine or cluster wide could be very useful for some applications. But that is a much longer term idea.

At present the resource name is limited to 31 char, ok in the 32 era but in 64 bit era and looking at GFS2 for peta byte moving into the exabyte and possibly the Zettabyta range, if VMS is to survive the next 40 years it needs to prepare.

First lets move onto X86_64. Yes it would be good to have easier building of open source code, and the main issues as I understand it are

file IO, moving to RMS will fix most if not all of that
fork
for fork/exec - spawn is fine, no modern systems a bit of CPU...
for file access more of problem, but not often used
directory and filenaming
some work is in place for this

So the main issue is file IO, so change CRTL to use RMS.

gt

Re: CRTL and RMS vs SSIO

<sjqpi5$rn2$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17667&group=comp.os.vms#17667

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Fri, 8 Oct 2021 20:57:25 -0400
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <sjqpi5$rn2$1@dont-email.me>
References: <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjls47$q6s$1@dont-email.me> <sjmqed$73g$1@dont-email.me>
<sjn6pu$pue$1@dont-email.me> <sjn95t$acq$1@dont-email.me>
<sjnng5$cs4$1@dont-email.me> <sjq23f$2rc$2@dont-email.me>
<sjq6hf$d3j$1@dont-email.me> <sjqa3q$3ep$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 9 Oct 2021 00:59:49 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a920f20c026979cf53be3258fbdbdf94";
logging-data="28386"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+sWs1JCTuAeqr22bip7lOICgpaxZ+50SE="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:lcIZ6gatGJRAL4mXUzCcpHuJrFo=
In-Reply-To: <sjqa3q$3ep$1@dont-email.me>
 by: Dave Froble - Sat, 9 Oct 2021 00:57 UTC

On 10/8/2021 4:36 PM, Simon Clubley wrote:
> On 2021-10-08, Dave Froble <davef@tsoft-inc.com> wrote:
>>
>> Not sure what you're calling "DLM message".
>>
>
> DLM-related cluster traffic.
>
> Anything you propose not only has to be compatible at API level,
> but also in physical DLM messages on the wire.
>
> Simon.
>

If the single new piece of data is not used, then nothing changes.

If it is in use, then the nodes in question would already have the
enhancement installed.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: CRTL and RMS vs SSIO

<sjqq8t$1jj$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17668&group=comp.os.vms#17668

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!weretis.net!feeder8.news.weretis.net!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Fri, 8 Oct 2021 21:09:30 -0400
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <sjqq8t$1jj$1@dont-email.me>
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com>
<sjk5fb$e1h$1@dont-email.me>
<4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk>
<b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me>
<sjne7k$d5p$1@dont-email.me>
<017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com>
<sjpojk$ctb$1@dont-email.me>
<f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com>
<75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 9 Oct 2021 01:11:57 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a920f20c026979cf53be3258fbdbdf94";
logging-data="1651"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18uo9uQmu4i7sQDfPAlGX29J4IMygBLFtQ="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:YQwXUJ4Z7hIqLexSqQJFacDCh28=
In-Reply-To: <75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com>
 by: Dave Froble - Sat, 9 Oct 2021 01:09 UTC

On 10/8/2021 8:04 PM, Greg Tinkler wrote:
> <snip>
>>>> The optional parameter might be a "lock type", and if not present,
>>>> existing logic would be used, and if present, new code could be executed
>>>> to process the new lock type. Stuff a couple of quadwords into the
>>>> resource name for the numeric range. It would add one new piece of data
>>>> to the DLM data structure(s).
>
> What would be useful is a name space for the lock e.g. RMS ...
>
> Well there is the group id from UIC, and there is $set_resource_domain(), both can be useful but not a solution.
>
> Having a name space that can be local machine or cluster wide could be very useful for some applications. But that is a much longer term idea.
>
> At present the resource name is limited to 31 char, ok in the 32 era but in 64 bit era and looking at GFS2 for peta byte moving into the exabyte and possibly the Zettabyta range, if VMS is to survive the next 40 years it needs to prepare.
>
> First lets move onto X86_64. Yes it would be good to have easier building of open source code, and the main issues as I understand it are
>
> file IO, moving to RMS will fix most if not all of that
> fork
> for fork/exec - spawn is fine, no modern systems a bit of CPU...
> for file access more of problem, but not often used
> directory and filenaming
> some work is in place for this
>
> So the main issue is file IO, so change CRTL to use RMS.
>
> gt
>

Let me ask this as a question, because I really don't know.

Doesn't C already use RMS for file I/O ?

It has been my impression that all the VMS languages use RMS for file
I/O. But I don't get out much.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: CRTL and RMS vs SSIO

<6160ee00$0$706$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17671&group=comp.os.vms#17671

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Fri, 8 Oct 2021 21:18:53 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.2.0
Subject: Re: CRTL and RMS vs SSIO
Content-Language: en-US
Newsgroups: comp.os.vms
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com>
<sjk5fb$e1h$1@dont-email.me>
<4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk>
<b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me>
<sjne7k$d5p$1@dont-email.me>
<017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com>
<sjpojk$ctb$1@dont-email.me>
<f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com>
<75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com>
<sjqq8t$1jj$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <sjqq8t$1jj$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 22
Message-ID: <6160ee00$0$706$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 028cb6ce.news.sunsite.dk
X-Trace: 1633742336 news.sunsite.dk 706 arne@vajhoej.dk/68.9.63.232:64970
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Sat, 9 Oct 2021 01:18 UTC

On 10/8/2021 9:09 PM, Dave Froble wrote:
> On 10/8/2021 8:04 PM, Greg Tinkler wrote:
>> So the main issue is file IO, so change CRTL to use RMS.
>
> Let me ask this as a question, because I really don't know.
>
> Doesn't C already use RMS for file I/O ?
>
> It has been my impression that all the VMS languages use RMS for file
> I/O.  But I don't get out much.

It has previously been claimed that:

other languages use a very thin layer on top of SYS$GET and SYS$PUT

C use a much thicker layer on top of SYS$READ and SYS$WRITE

I don't know if it is true or not.

Arne

Re: CRTL and RMS vs SSIO

<0a8a1caa-93d2-4526-adf5-80e62adc8b7en@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17672&group=comp.os.vms#17672

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:1111:: with SMTP id e17mr2485088qty.185.1633762847451;
Sat, 09 Oct 2021 00:00:47 -0700 (PDT)
X-Received: by 2002:a37:6708:: with SMTP id b8mr6361913qkc.283.1633762847261;
Sat, 09 Oct 2021 00:00:47 -0700 (PDT)
Path: rocksolid2!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sat, 9 Oct 2021 00:00:47 -0700 (PDT)
In-Reply-To: <75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=188.242.128.41; posting-account=MdFUXgoAAAA4RFSe0GdwtymAGVxcBpnA
NNTP-Posting-Host: 188.242.128.41
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com>
<sjk5fb$e1h$1@dont-email.me> <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me> <sjne7k$d5p$1@dont-email.me>
<017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com> <sjpojk$ctb$1@dont-email.me>
<f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com> <75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0a8a1caa-93d2-4526-adf5-80e62adc8b7en@googlegroups.com>
Subject: Re: CRTL and RMS vs SSIO
From: pustove...@gmail.com (Vitaly Pustovetov)
Injection-Date: Sat, 09 Oct 2021 07:00:47 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 7
 by: Vitaly Pustovetov - Sat, 9 Oct 2021 07:00 UTC

> So the main issue is file IO, so change CRTL to use RMS.
>
> gt

CRTL uses RMS for file I/O. But there is an issue with concurrent access of multiple processes to the same file in stream mode. And we had a choice - 1) rewrite half of Postgres by inserting file locking; 2) add a new SSIO (Shared Stream IO) service to VMS.

Re: CRTL and RMS vs SSIO

<fff1a1aa-0dbd-4a2d-9e2d-548823878d58n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17674&group=comp.os.vms#17674

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:6214:1222:: with SMTP id p2mr14522070qvv.23.1633774783004;
Sat, 09 Oct 2021 03:19:43 -0700 (PDT)
X-Received: by 2002:ac8:7c96:: with SMTP id y22mr3111869qtv.338.1633774782834;
Sat, 09 Oct 2021 03:19:42 -0700 (PDT)
Path: rocksolid2!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sat, 9 Oct 2021 03:19:42 -0700 (PDT)
In-Reply-To: <0a8a1caa-93d2-4526-adf5-80e62adc8b7en@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=49.176.150.5; posting-account=N9Q8kAoAAACE4Wg6nhCkJI0wEBaOLnQX
NNTP-Posting-Host: 49.176.150.5
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com>
<sjk5fb$e1h$1@dont-email.me> <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me> <sjne7k$d5p$1@dont-email.me>
<017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com> <sjpojk$ctb$1@dont-email.me>
<f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com> <75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com>
<0a8a1caa-93d2-4526-adf5-80e62adc8b7en@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fff1a1aa-0dbd-4a2d-9e2d-548823878d58n@googlegroups.com>
Subject: Re: CRTL and RMS vs SSIO
From: tinkl...@gmail.com (Greg Tinkler)
Injection-Date: Sat, 09 Oct 2021 10:19:42 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 37
 by: Greg Tinkler - Sat, 9 Oct 2021 10:19 UTC

On Saturday, 9 October 2021 at 6:00:48 pm UTC+11, Vitaly Pustovetov wrote:
> > So the main issue is file IO, so change CRTL to use RMS.
> >
> > gt
> CRTL uses RMS for file I/O. But there is an issue with concurrent access of multiple processes to the same file in stream mode.
> And we had a choice - 1) rewrite half of Postgres by inserting file locking; 2) add a new SSIO (Shared Stream IO) service to VMS.

Sort of.

RMS worked and has been working of 40+years and does not have these concurrent access issues! NB there is no such thing at an OS level of stream anything, every thing is clumps of data being buffered is some way, the API that accesses that data from the higher levels may be stream based. In this case it is CRTL's role to translate the clumps of data into/from stream API.

So the other choice, 3), fix CRTL to use RMS correctly, and the problems will go away. Engineering effort would not be great. I don't have access to the code base, but assuming that stdio uses unixio then it is fixing 5 routines. This would also allow all the other ports to work with minimal changes in the file access area. If you what to know more contact me directly.

Longer term the SSIO may be useful to RMS, which is where it belongs.

Sorry if the above is a little blunt, I appreciate the efforts people have put in over the years, but some of us have using and coding VMS for a very long time, and I really want VMS to be successful and easy to port to. This has been a good opportunity for me to look more into CRTL and RMS, and see the problems that have been there for decades.

locking is an interesting area, I still feel the current DLM is more than capable of doing the 'lock a byte range' in a way that can be used with the current RMS locking. Longer term DLM needs some changes but they are about sizes of resource names, scoping of resource names, ability to scan for children resources by name.

gt

Re: CRTL and RMS vs SSIO

<107109e7-0825-45e7-97d4-ac9799696b58n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17675&group=comp.os.vms#17675

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ae9:ebc2:: with SMTP id b185mr4987573qkg.491.1633782312152;
Sat, 09 Oct 2021 05:25:12 -0700 (PDT)
X-Received: by 2002:ae9:e810:: with SMTP id a16mr6638930qkg.347.1633782311946;
Sat, 09 Oct 2021 05:25:11 -0700 (PDT)
Path: rocksolid2!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sat, 9 Oct 2021 05:25:11 -0700 (PDT)
In-Reply-To: <fff1a1aa-0dbd-4a2d-9e2d-548823878d58n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=74.140.8.188; posting-account=CO-_tAoAAACjjs2KLAw3xVKCy6Z_J3VK
NNTP-Posting-Host: 74.140.8.188
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com>
<sjk5fb$e1h$1@dont-email.me> <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me> <sjne7k$d5p$1@dont-email.me>
<017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com> <sjpojk$ctb$1@dont-email.me>
<f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com> <75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com>
<0a8a1caa-93d2-4526-adf5-80e62adc8b7en@googlegroups.com> <fff1a1aa-0dbd-4a2d-9e2d-548823878d58n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <107109e7-0825-45e7-97d4-ac9799696b58n@googlegroups.com>
Subject: Re: CRTL and RMS vs SSIO
From: osuvma...@gmail.com (David Jones)
Injection-Date: Sat, 09 Oct 2021 12:25:12 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: David Jones - Sat, 9 Oct 2021 12:25 UTC

On Saturday, October 9, 2021 at 6:19:44 AM UTC-4, tink...@gmail.com wrote
> So the other choice, 3), fix CRTL to use RMS correctly, and the problems will go away. Engineering effort would not be great. I don't have access to the code base, but assuming that stdio uses unixio then it is fixing 5 routines. This would also allow all the other ports to work with minimal changes in the file access area. If you what to know more contact me directly.
>
> Longer term the SSIO may be useful to RMS, which is where it belongs.

I don't think the CRTL can do it with just the capabilities RMS gives it currently(or they would have fixed it already). Maintaining coherence of where end-of-file is for multiple writers is a difficult problem.

The crtl does not layer stdio file access on top of unixio primitives.

Re: CRTL and RMS vs SSIO

<6b2a5d15-dbef-407d-83c4-1ac2a3294a6bn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17676&group=comp.os.vms#17676

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ae9:e887:: with SMTP id a129mr7923724qkg.81.1633794509762;
Sat, 09 Oct 2021 08:48:29 -0700 (PDT)
X-Received: by 2002:a05:6214:84f:: with SMTP id dg15mr7720478qvb.43.1633794509605;
Sat, 09 Oct 2021 08:48:29 -0700 (PDT)
Path: rocksolid2!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sat, 9 Oct 2021 08:48:29 -0700 (PDT)
In-Reply-To: <fff1a1aa-0dbd-4a2d-9e2d-548823878d58n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=188.242.128.41; posting-account=MdFUXgoAAAA4RFSe0GdwtymAGVxcBpnA
NNTP-Posting-Host: 188.242.128.41
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com>
<sjk5fb$e1h$1@dont-email.me> <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me> <sjne7k$d5p$1@dont-email.me>
<017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com> <sjpojk$ctb$1@dont-email.me>
<f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com> <75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com>
<0a8a1caa-93d2-4526-adf5-80e62adc8b7en@googlegroups.com> <fff1a1aa-0dbd-4a2d-9e2d-548823878d58n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6b2a5d15-dbef-407d-83c4-1ac2a3294a6bn@googlegroups.com>
Subject: Re: CRTL and RMS vs SSIO
From: pustove...@gmail.com (Vitaly Pustovetov)
Injection-Date: Sat, 09 Oct 2021 15:48:29 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 1
 by: Vitaly Pustovetov - Sat, 9 Oct 2021 15:48 UTC

> RMS worked and has been working of 40+years and does not have these concurrent access issues!
No, you are wrong. RMS works fine with record-based files, but not streams. You can write a program even in MACRO, you will still have the same issues. This is a documented feature of RMS.

Re: CRTL and RMS vs SSIO

<sjsh2f$tf8$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17677&group=comp.os.vms#17677

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Sat, 9 Oct 2021 12:47:11 -0400
Organization: HoffmanLabs LLC
Lines: 107
Message-ID: <sjsh2f$tf8$1@dont-email.me>
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com> <sjk5fb$e1h$1@dont-email.me> <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com> <memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com> <sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me> <sjne7k$d5p$1@dont-email.me> <017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com> <sjpojk$ctb$1@dont-email.me> <f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com> <75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com> <0a8a1caa-93d2-4526-adf5-80e62adc8b7en@googlegroups.com> <fff1a1aa-0dbd-4a2d-9e2d-548823878d58n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="672160cdb813a07f67ae5e33f6768d94";
logging-data="30184"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18yHcsmlSr0zt3pzrJGGQLuEbYVuwOrHfM="
User-Agent: Unison/2.2
Cancel-Lock: sha1:Rm5mY3Sh1juW75Deb/r68KzNseY=
 by: Stephen Hoffman - Sat, 9 Oct 2021 16:47 UTC

On 2021-10-09 10:19:42 +0000, Greg Tinkler said:

> On Saturday, 9 October 2021 at 6:00:48 pm UTC+11, Vitaly Pustovetov wrote:
>>> So the main issue is file IO, so change CRTL to use RMS.> >> > gt
>> CRTL uses RMS for file I/O. But there is an issue with concurrent
>> access of multiple processes to the same file in stream mode. And we
>> had a choice - 1) rewrite half of Postgres by inserting file locking;
>> 2) add a new SSIO (Shared Stream IO) service to VMS.
>
> Sort of.
> RMS worked and has been working of 40+years and does not have these
> concurrent access issues! NB there is no such thing at an OS level of
> stream anything, every thing is clumps of data being buffered is some
> way, the API that accesses that data from the higher levels may be
> stream based. In this case it is CRTL's role to translate the clumps
> of data into/from stream API.

RMS is a pretty good database, for its time. Alas, its become rather
more dated, with an API design that is complex and limiting, and in
competitive terms RMS is badly feature-limited.

If you need a key-value store and where the developer entirely owns the
fields used within the punched cards, and where y'all can fit your
files in 2 TiB (or bound volume sets, gag), RMS is still a fine choice.

For stream access to data, removing the punched-card assumptions and
file and cluster locking and the rest of effectively removes all of RMS
from the discussion; in such a case, RMS really isn't used either in
name, or in general.

As for whether or not there are streams of data, the abstraction
exists. The difference at the app level is whether the operating system
and its default file system enforces the use of a punched-card
abstraction. C does not expect that. Classic OpenVMS apps do.

> So the other choice, 3), fix CRTL to use RMS correctly, and the
> problems will go away. Engineering effort would not be great. I don't
> have access to the code base, but assuming that stdio uses unixio then
> it is fixing 5 routines. This would also allow all the other ports to
> work with minimal changes in the file access area. If you what to know
> more contact me directly.

Punched cards and punched-card-based assumptions are rather more
pernicious within OpenVMS and clustering, and mailboxes, and various
other areas, alas. For those of us steeped in OpenVMS, the effects of
these assumptions can be invisible.

> Longer term the SSIO may be useful to RMS, which is where it belongs.

Longer-term, SSIO belongs in XQP, and RMS needs a demotion to "just
another of the available databases on OpenVMS" atop the XQP, and/or
atop some replacement XQP and/or FUSE for different file systems, and
this with various other common databases present.

SSIO and similar work aside, that demotion of RMS and the related and
substantial investment in new file system and database work are not
going to happen any time soon. Getting the device drivers and XQP to
64-bit storage addressing was reportedly one part of the work involved
(and was once targeted for V8.5), while getting RMS to 64-bit
addressing was a separate and subsequent feature. Getting RMS to 64-bit
storage addressing was and is and will be a rather larger investment,
too. Both VAFS and GFS have been discussed here, but VSI has been busy
with and increasingly focused on the port and port-related work.

SSIO is unrelated to the other file system work pending here.

Back to RMS and SSIO, apps that don't expect punched-card semantics can
and variously do perform their own coordination, so sharing the
underlying files with apps that do expect punched cards is unnecessary,
and counterproductive.

> Sorry if the above is a little blunt, I appreciate the efforts people
> have put in over the years, but some of us have using and coding VMS
> for a very long time, and I really want VMS to be successful and easy
> to port to. This has been a good opportunity for me to look more into
> CRTL and RMS, and see the problems that have been there for decades.

Part of the problem was that thirty years ago, senior DEC leadership
and OpenVMS development leadership was unwilling or unable to foresee
the directions that computing was headed, and fallout from that era
continues to reverberate through to this day around C and IP and RMS.
And around where OpenVMS has found itself in recent years. As long as
we're being blunt.

One of the problems that OpenVMS has here is RMS. While RMS was and is
very useful, it's just not a competitive database in 2021, and too many
of its punched-card assumptions have permeated the platform. That, and
the primary RMS API is just bad for making any sort of significant
changes. This is another area very much like the addition of 64-bit
virtual addressing on OpenVMS; where providing compatibility for 32-bit
virtual apps makes an already complex environment (RMS) vastly more
complex (mixed 32-bit and 64-bit storage addressing within RMS).

> locking is an interesting area, I still feel the current DLM is more
> than capable of doing the 'lock a byte range' in a way that can be used
> with the current RMS locking. Longer term DLM needs some changes but
> they are about sizes of resource names, scoping of resource names,
> ability to scan for children resources by name.

C and DLM already implement range locking on OpenVMS.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: CRTL and RMS vs SSIO

<sjsl54$rak$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17678&group=comp.os.vms#17678

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Sat, 9 Oct 2021 13:54:41 -0400
Organization: A noiseless patient Spider
Lines: 69
Message-ID: <sjsl54$rak$1@dont-email.me>
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com>
<sjk5fb$e1h$1@dont-email.me>
<4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk>
<b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me>
<sjne7k$d5p$1@dont-email.me>
<017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com>
<sjpojk$ctb$1@dont-email.me>
<f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com>
<75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com>
<0a8a1caa-93d2-4526-adf5-80e62adc8b7en@googlegroups.com>
<fff1a1aa-0dbd-4a2d-9e2d-548823878d58n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 9 Oct 2021 17:56:52 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a920f20c026979cf53be3258fbdbdf94";
logging-data="27988"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX191SeDL/GdXe66gf6zD8Hv/MCy5l14Av90="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:lVh13m/7c5CtIHUMKzbPe/P6or8=
In-Reply-To: <fff1a1aa-0dbd-4a2d-9e2d-548823878d58n@googlegroups.com>
 by: Dave Froble - Sat, 9 Oct 2021 17:54 UTC

On 10/9/2021 6:19 AM, Greg Tinkler wrote:
> On Saturday, 9 October 2021 at 6:00:48 pm UTC+11, Vitaly Pustovetov wrote:
>>> So the main issue is file IO, so change CRTL to use RMS.
>>>
>>> gt
>> CRTL uses RMS for file I/O. But there is an issue with concurrent access of multiple processes to the same file in stream mode.
>> And we had a choice - 1) rewrite half of Postgres by inserting file locking; 2) add a new SSIO (Shared Stream IO) service to VMS.
>
> Sort of.
>
> RMS worked and has been working of 40+years and does not have these concurrent access issues!

What is RMS, in the current context?

Record Management System
========================

Notice the first word is RECORD. Not FILE, not FIELD, just RECORD.

As for concurrent access, RMS has used the VMS DLM since around 1984.
It is cooperating processes using the DLM that avoids concurrent access
issues.

DLM offers such services.
RMS does not.
CRTL does not.

> NB there is no such thing at an OS level of stream anything,

Not true, unless discussing block oriented devices, which we most likely
are. I do hope you are not suggesting that VMS cannot access memory in
any manner it chooses?

> every thing is clumps of data being buffered is some way, the API that accesses that data from the higher levels may be stream based. In this case it is CRTL's role to translate the clumps of data into/from stream API.

So, how does Pascal, Fortran, Cobol, Basic, and such do it?

>
> So the other choice, 3), fix CRTL to use RMS correctly, and the problems will go away.

3a, The CRTL may use RMS in the manner in which RMS is designed to work.

3b, What problems are there in RMS?

? Engineering effort would not be great. I don't have access to the
code base, but assuming that stdio uses unixio then it is fixing 5
routines. This would also allow all the other ports to work with
minimal changes in the file access area. If you what to know more
contact me directly.
>
> Longer term the SSIO may be useful to RMS, which is where it belongs.

What use does RMS have for any numeric range locking, at least for
anything besides records, which is what RMS is all about.

> Sorry if the above is a little blunt, I appreciate the efforts people have put in over the years, but some of us have using and coding VMS for a very long time, and I really want VMS to be successful and easy to port to. This has been a good opportunity for me to look more into CRTL and RMS, and see the problems that have been there for decades.
>
> locking is an interesting area, I still feel the current DLM is more than capable of doing the 'lock a byte range' in a way that can be used with the current RMS locking. Longer term DLM needs some changes but they are about sizes of resource names, scoping of resource names, ability to scan for children resources by name.
>
> gt
>

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: CRTL and RMS vs SSIO

<sjslgh$u3u$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17679&group=comp.os.vms#17679

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Sat, 9 Oct 2021 14:00:45 -0400
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <sjslgh$u3u$1@dont-email.me>
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com>
<sjk5fb$e1h$1@dont-email.me>
<4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk>
<b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me>
<sjne7k$d5p$1@dont-email.me>
<017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com>
<sjpojk$ctb$1@dont-email.me>
<f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com>
<75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com>
<0a8a1caa-93d2-4526-adf5-80e62adc8b7en@googlegroups.com>
<fff1a1aa-0dbd-4a2d-9e2d-548823878d58n@googlegroups.com>
<sjsh2f$tf8$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 9 Oct 2021 18:02:57 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a920f20c026979cf53be3258fbdbdf94";
logging-data="30846"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18nXYi1c3xhIpG6pGbhTlhFSswW/6TMFrw="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:AZDW1YKMmGxlsNViIlVKIZsidAg=
In-Reply-To: <sjsh2f$tf8$1@dont-email.me>
 by: Dave Froble - Sat, 9 Oct 2021 18:00 UTC

On 10/9/2021 12:47 PM, Stephen Hoffman wrote:

> C and DLM already implement range locking on OpenVMS.

I'd really like to see the documentation and how to use it.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: CRTL and RMS vs SSIO

<sjsm44$1pm5$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17680&group=comp.os.vms#17680

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!news.mixmin.net!aioe.org!YM8rRpLkhqbIVThrLeNPsw.user.46.165.242.75.POSTED!not-for-mail
From: hel...@asclothestro.multivax.de (Phillip Helbig (undress to reply)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Sat, 9 Oct 2021 18:13:24 -0000 (UTC)
Organization: Multivax C&R
Message-ID: <sjsm44$1pm5$1@gioia.aioe.org>
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com> <sjk5fb$e1h$1@dont-email.me> <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com> <memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com> <sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me> <sjne7k$d5p$1@dont-email.me> <017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com> <sjpojk$ctb$1@dont-email.me> <f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com> <75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com> <0a8a1caa-93d2-4526-adf5-80e62adc8b7en@googlegroups.com> <fff1a1aa-0dbd-4a2d-9e2d-548823878d58n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="59077"; posting-host="YM8rRpLkhqbIVThrLeNPsw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: Phillip Helbig (undr - Sat, 9 Oct 2021 18:13 UTC

In article <sjsh2f$tf8$1@dont-email.me>, Stephen Hoffman
<seaohveh@hoffmanlabs.invalid> writes:

> RMS is a pretty good database, for its time. Alas, its become rather
> more dated,

From database to datedbase. :-)

Re: CRTL and RMS vs SSIO

<6161dd05$0$697$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17682&group=comp.os.vms#17682

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Sat, 9 Oct 2021 14:18:36 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.2.0
Subject: Re: CRTL and RMS vs SSIO
Content-Language: en-US
Newsgroups: comp.os.vms
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com>
<sjk5fb$e1h$1@dont-email.me>
<4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk>
<b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me>
<sjne7k$d5p$1@dont-email.me>
<017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com>
<sjpojk$ctb$1@dont-email.me>
<f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com>
<75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com>
<0a8a1caa-93d2-4526-adf5-80e62adc8b7en@googlegroups.com>
<fff1a1aa-0dbd-4a2d-9e2d-548823878d58n@googlegroups.com>
<sjsl54$rak$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <sjsl54$rak$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 18
Message-ID: <6161dd05$0$697$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: fa7c4243.news.sunsite.dk
X-Trace: 1633803525 news.sunsite.dk 697 arne@vajhoej.dk/68.9.63.232:50176
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Sat, 9 Oct 2021 18:18 UTC

On 10/9/2021 1:54 PM, Dave Froble wrote:
> On 10/9/2021 6:19 AM, Greg Tinkler wrote:
>> every thing is clumps of data being buffered is some way, the API that
>> accesses that data from the higher levels may be stream based.  In
>> this case it is CRTL's role to translate the clumps of data into/from
>> stream API.
>
> So, how does Pascal, Fortran, Cobol, Basic, and such do it?

They do not treat files as streams of bytes - they treat files
as sequences of records.

The underlying problem is that the two paradigms are pretty
incompatible. It is not easy for CRTL to translate a sequence
of records to a stream of bytes in a consistent and meaningful
manner.

Arne

Re: CRTL and RMS vs SSIO

<6161ddcf$0$697$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17683&group=comp.os.vms#17683

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Sat, 9 Oct 2021 14:22:02 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.2.0
Subject: Re: CRTL and RMS vs SSIO
Content-Language: en-US
Newsgroups: comp.os.vms
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com>
<sjk5fb$e1h$1@dont-email.me>
<4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk>
<b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me>
<sjne7k$d5p$1@dont-email.me>
<017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com>
<sjpojk$ctb$1@dont-email.me>
<f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com>
<75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com>
<0a8a1caa-93d2-4526-adf5-80e62adc8b7en@googlegroups.com>
<fff1a1aa-0dbd-4a2d-9e2d-548823878d58n@googlegroups.com>
<sjsh2f$tf8$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <sjsh2f$tf8$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 34
Message-ID: <6161ddcf$0$697$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: fa7c4243.news.sunsite.dk
X-Trace: 1633803727 news.sunsite.dk 697 arne@vajhoej.dk/68.9.63.232:50176
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Sat, 9 Oct 2021 18:22 UTC

On 10/9/2021 12:47 PM, Stephen Hoffman wrote:
> On 2021-10-09 10:19:42 +0000, Greg Tinkler said:
>> On Saturday, 9 October 2021 at 6:00:48 pm UTC+11, Vitaly Pustovetov
>> wrote:
>>>> So the main issue is file IO, so change CRTL to use RMS.> >> > gt
>>> CRTL uses RMS for file I/O. But there is an issue with concurrent
>>> access of multiple processes to the same file in stream mode. And we
>>> had a choice - 1) rewrite half of Postgres by inserting file locking;
>>> 2) add a new SSIO (Shared Stream IO) service to VMS.
>>
>> Sort of.
>> RMS worked and has been working of 40+years and does not have these
>> concurrent access issues!  NB there is no such thing at an OS level of
>> stream anything, every thing is clumps of data being buffered is some
>> way, the API that accesses that data from the higher levels may be
>> stream based.  In this case it is CRTL's role to translate the clumps
>> of data into/from stream API.
>
> RMS is a pretty good database, for its time.  Alas, its become rather
> more dated, with an API design that is complex and limiting, and in
> competitive terms RMS is badly feature-limited.
>
> If you need a key-value store and where the developer entirely owns the
> fields used within the punched cards, and where y'all can fit your files
> in 2 TiB (or bound volume sets, gag), RMS is still a fine choice.

Hoff I think you are muddying the water here.

This discussion has so far been about ORG:SEQ files.

ORG:IDX files are a Key Value Store. But that is a totally
different topic.

Arne

Re: CRTL and RMS vs SSIO

<sjsvjo$5q3$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17684&group=comp.os.vms#17684

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!i2pn.org!paganini.bofh.team!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Sat, 9 Oct 2021 16:55:20 -0400
Organization: HoffmanLabs LLC
Lines: 29
Message-ID: <sjsvjo$5q3$1@dont-email.me>
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com> <sjk5fb$e1h$1@dont-email.me> <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com> <memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com> <sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me> <sjne7k$d5p$1@dont-email.me> <017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com> <sjpojk$ctb$1@dont-email.me> <f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com> <75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com> <0a8a1caa-93d2-4526-adf5-80e62adc8b7en@googlegroups.com> <fff1a1aa-0dbd-4a2d-9e2d-548823878d58n@googlegroups.com> <sjsh2f$tf8$1@dont-email.me> <6161ddcf$0$697$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="672160cdb813a07f67ae5e33f6768d94";
logging-data="5955"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/GWD9rSzmJgXj3xC8qumWlY/MIIJT+ae0="
User-Agent: Unison/2.2
Cancel-Lock: sha1:8SF3RcXpdMnO7ezpDYSzR28sgHA=
 by: Stephen Hoffman - Sat, 9 Oct 2021 20:55 UTC

On 2021-10-09 18:22:02 +0000, Arne Vajhj said:

> On 10/9/2021 12:47 PM, Stephen Hoffman wrote:
>>
>> RMS is a pretty good database, for its time.  Alas, its become rather
>> more dated, with an API design that is complex and limiting, and in
>> competitive terms RMS is badly feature-limited.
>>
>> If you need a key-value store and where the developer entirely owns the
>> fields used within the punched cards, and where y'all can fit your
>> files in 2 TiB (or bound volume sets, gag), RMS is still a fine choice.
>
> Hoff I think you are muddying the water here.
>
> This discussion has so far been about ORG:SEQ files.
>
> ORG:IDX files are a Key Value Store. But that is a totally different topic.

And here I was trying to explicitly not slag on RMS and its
capabilities, as that'd solely serve provoke a torrent of folks quite
reasonably pointing out that RMS is perfect for {app}.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: CRTL and RMS vs SSIO

<sjsvnu$5q3$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17685&group=comp.os.vms#17685

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Sat, 9 Oct 2021 16:57:34 -0400
Organization: HoffmanLabs LLC
Lines: 14
Message-ID: <sjsvnu$5q3$2@dont-email.me>
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com> <sjk5fb$e1h$1@dont-email.me> <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com> <memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com> <sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me> <sjne7k$d5p$1@dont-email.me> <017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com> <sjpojk$ctb$1@dont-email.me> <f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com> <75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com> <0a8a1caa-93d2-4526-adf5-80e62adc8b7en@googlegroups.com> <fff1a1aa-0dbd-4a2d-9e2d-548823878d58n@googlegroups.com> <sjsh2f$tf8$1@dont-email.me> <sjslgh$u3u$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="672160cdb813a07f67ae5e33f6768d94";
logging-data="5955"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19abqasQzGJw2JZV1XV4h6NuEvDAKbiKrE="
User-Agent: Unison/2.2
Cancel-Lock: sha1:TUyOBqFRNxqKqHzIwYiT68+HtK0=
 by: Stephen Hoffman - Sat, 9 Oct 2021 20:57 UTC

On 2021-10-09 18:00:45 +0000, Dave Froble said:

> On 10/9/2021 12:47 PM, Stephen Hoffman wrote:
>
>> C and DLM already implement range locking on OpenVMS.
>
> I'd really like to see the documentation and how to use it.

Alas, entirely undocumented, per the previous comments around here.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: CRTL and RMS vs SSIO

<b1a841a4-4ae1-40df-93b5-6c00c528f96dn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17686&group=comp.os.vms#17686

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:283:: with SMTP id z3mr5987328qtw.324.1633814549827;
Sat, 09 Oct 2021 14:22:29 -0700 (PDT)
X-Received: by 2002:a05:6214:1267:: with SMTP id r7mr16891481qvv.16.1633814549410;
Sat, 09 Oct 2021 14:22:29 -0700 (PDT)
Path: rocksolid2!i2pn.org!aioe.org!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sat, 9 Oct 2021 14:22:29 -0700 (PDT)
In-Reply-To: <sjslgh$u3u$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=188.242.128.41; posting-account=MdFUXgoAAAA4RFSe0GdwtymAGVxcBpnA
NNTP-Posting-Host: 188.242.128.41
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com>
<sjk5fb$e1h$1@dont-email.me> <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me> <sjne7k$d5p$1@dont-email.me>
<017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com> <sjpojk$ctb$1@dont-email.me>
<f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com> <75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com>
<0a8a1caa-93d2-4526-adf5-80e62adc8b7en@googlegroups.com> <fff1a1aa-0dbd-4a2d-9e2d-548823878d58n@googlegroups.com>
<sjsh2f$tf8$1@dont-email.me> <sjslgh$u3u$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b1a841a4-4ae1-40df-93b5-6c00c528f96dn@googlegroups.com>
Subject: Re: CRTL and RMS vs SSIO
From: pustove...@gmail.com (Vitaly Pustovetov)
Injection-Date: Sat, 09 Oct 2021 21:22:29 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Vitaly Pustovetov - Sat, 9 Oct 2021 21:22 UTC

суббота, 9 октября 2021 г. в 21:02:59 UTC+3, Dave Froble:
> On 10/9/2021 12:47 PM, Stephen Hoffman wrote:
>
> > C and DLM already implement range locking on OpenVMS.
> I'd really like to see the documentation and how to use it.

"File Locking
The C RTL supports byte-range file locking using the F_GETLK, F_SETLK, and F_SETLKW
commands of the fcntl function, as defined in the X/Open specification. Byte-range file locking is
supported across OpenVMS clusters. You can only use offsets that fit into 32-bit unsigned integers.
When a shared lock is set on a segment of a file, other processes on the cluster are able to set shared
locks on that segment or a portion of it. A shared lock prevents any other process from setting
an exclusive lock on any portion of the protected area. A request for a shared lock fails if the file
descriptor was not opened with read access....."(c)VSI C Run-Time Library Reference Manual

Re: CRTL and RMS vs SSIO

<sjt511$len$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17687&group=comp.os.vms#17687

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Sat, 9 Oct 2021 18:27:45 -0400
Organization: HoffmanLabs LLC
Lines: 18
Message-ID: <sjt511$len$1@dont-email.me>
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com> <sjk5fb$e1h$1@dont-email.me> <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com> <memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com> <sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me> <sjne7k$d5p$1@dont-email.me> <017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com> <sjpojk$ctb$1@dont-email.me> <f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com> <75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com> <0a8a1caa-93d2-4526-adf5-80e62adc8b7en@googlegroups.com> <fff1a1aa-0dbd-4a2d-9e2d-548823878d58n@googlegroups.com> <sjsh2f$tf8$1@dont-email.me> <sjslgh$u3u$1@dont-email.me> <b1a841a4-4ae1-40df-93b5-6c00c528f96dn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="8a025891e296f384f7db76eb3e84f471";
logging-data="21975"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18TJCk6/d5lmCXczxgCfMcC/NEn1+Pn/G4="
User-Agent: Unison/2.2
Cancel-Lock: sha1:ZfKmWeQ6Gm/+BO82fQc1CTDix7w=
 by: Stephen Hoffman - Sat, 9 Oct 2021 22:27 UTC

On 2021-10-09 21:22:29 +0000, Vitaly Pustovetov said:

> суббота, 9 октября 2021 г. в 21:02:59 UTC+3, Dave Froble:
>> On 10/9/2021 12:47 PM, Stephen Hoffman wrote:>> > C and DLM already
>> implement range locking on OpenVMS.
>> I'd really like to see the documentation and how to use it.
>
> "File Locking
> The C RTL supports byte-range...

That comment was in reference to the DLM range-locking API; the
(un)documentation for what's implemented underneath those C calls
within CRTL and DLM.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: CRTL and RMS vs SSIO

<sjt5vi$292$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17688&group=comp.os.vms#17688

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Sat, 9 Oct 2021 18:41:16 -0400
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <sjt5vi$292$1@dont-email.me>
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com>
<sjk5fb$e1h$1@dont-email.me>
<4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk>
<b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me>
<sjne7k$d5p$1@dont-email.me>
<017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com>
<sjpojk$ctb$1@dont-email.me>
<f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com>
<75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com>
<0a8a1caa-93d2-4526-adf5-80e62adc8b7en@googlegroups.com>
<fff1a1aa-0dbd-4a2d-9e2d-548823878d58n@googlegroups.com>
<sjsl54$rak$1@dont-email.me> <6161dd05$0$697$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 9 Oct 2021 22:44:02 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="8575cf47b9d0f9f0cc4c4243537dac3d";
logging-data="2338"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ZGarHUHymdU54e0l7GAZ9OJoKGkrUeHk="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:9S4K7VykROZFY6KiAgAHeBNxqiM=
In-Reply-To: <6161dd05$0$697$14726298@news.sunsite.dk>
 by: Dave Froble - Sat, 9 Oct 2021 22:41 UTC

On 10/9/2021 2:18 PM, Arne Vajhøj wrote:
> On 10/9/2021 1:54 PM, Dave Froble wrote:
>> On 10/9/2021 6:19 AM, Greg Tinkler wrote:
>>> every thing is clumps of data being buffered is some way, the API
>>> that accesses that data from the higher levels may be stream based.
>>> In this case it is CRTL's role to translate the clumps of data
>>> into/from stream API.
>>
>> So, how does Pascal, Fortran, Cobol, Basic, and such do it?
>
> They do not treat files as streams of bytes - they treat files
> as sequences of records.
>
> The underlying problem is that the two paradigms are pretty
> incompatible. It is not easy for CRTL to translate a sequence
> of records to a stream of bytes in a consistent and meaningful
> manner.
>
> Arne

Which is why Steve's suggestion for ODS2/ODS5 becoming just another file
system.

Which is why Steve's suggestion for RMS to become just another database
product. Well, if ODS? wants to use it for directories, Ok.

But even if another "application" handles other files, there is still
the issue of today's disks being block based (Ok, punched card if you
must) devices.

Stream devices is alien enough to today's VMS that it would be much
better served by dedicated tools designed for that format. (And it sure
isn't RMS!)

Then there is the interesting question of what the next format to come
along might be.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: CRTL and RMS vs SSIO

<sjt6bf$8b8$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17690&group=comp.os.vms#17690

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Sat, 9 Oct 2021 18:47:38 -0400
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <sjt6bf$8b8$2@dont-email.me>
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com>
<sjk5fb$e1h$1@dont-email.me>
<4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk>
<b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me>
<sjne7k$d5p$1@dont-email.me>
<017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com>
<sjpojk$ctb$1@dont-email.me>
<f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com>
<75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com>
<0a8a1caa-93d2-4526-adf5-80e62adc8b7en@googlegroups.com>
<fff1a1aa-0dbd-4a2d-9e2d-548823878d58n@googlegroups.com>
<sjsh2f$tf8$1@dont-email.me> <sjslgh$u3u$1@dont-email.me>
<sjsvnu$5q3$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 9 Oct 2021 22:50:23 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="8575cf47b9d0f9f0cc4c4243537dac3d";
logging-data="8552"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18K+HITTw8x2T2hJG9AuP79/FGSISQYfTs="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:lg0qoQjnEvcJt76GuOliG+AwRhE=
In-Reply-To: <sjsvnu$5q3$2@dont-email.me>
 by: Dave Froble - Sat, 9 Oct 2021 22:47 UTC

On 10/9/2021 4:57 PM, Stephen Hoffman wrote:
> On 2021-10-09 18:00:45 +0000, Dave Froble said:
>
>> On 10/9/2021 12:47 PM, Stephen Hoffman wrote:
>>
>>> C and DLM already implement range locking on OpenVMS.
>>
>> I'd really like to see the documentation and how to use it.
>
> Alas, entirely undocumented, per the previous comments around here.
>
>

Then, does it really exist?

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: CRTL and RMS vs SSIO

<sjt6kc$8b8$3@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17691&group=comp.os.vms#17691

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Sat, 9 Oct 2021 18:52:22 -0400
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <sjt6kc$8b8$3@dont-email.me>
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com>
<sjk5fb$e1h$1@dont-email.me>
<4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk>
<b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me>
<sjne7k$d5p$1@dont-email.me>
<017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com>
<sjpojk$ctb$1@dont-email.me>
<f62283f6-def5-4739-b17a-2854e0759de6n@googlegroups.com>
<75fe97a1-9e12-48f0-9ac0-60d8cb2ee09an@googlegroups.com>
<0a8a1caa-93d2-4526-adf5-80e62adc8b7en@googlegroups.com>
<fff1a1aa-0dbd-4a2d-9e2d-548823878d58n@googlegroups.com>
<sjsh2f$tf8$1@dont-email.me> <6161ddcf$0$697$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 9 Oct 2021 22:55:08 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="8575cf47b9d0f9f0cc4c4243537dac3d";
logging-data="8552"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18kQ8esvvek8qwLoEEkLrQizupOBBp7/KQ="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:sQZ6GTPPZWAKzn57+fZjPqlO4TY=
In-Reply-To: <6161ddcf$0$697$14726298@news.sunsite.dk>
 by: Dave Froble - Sat, 9 Oct 2021 22:52 UTC

On 10/9/2021 2:22 PM, Arne Vajhøj wrote:
> On 10/9/2021 12:47 PM, Stephen Hoffman wrote:
>> On 2021-10-09 10:19:42 +0000, Greg Tinkler said:
>>> On Saturday, 9 October 2021 at 6:00:48 pm UTC+11, Vitaly Pustovetov
>>> wrote:
>>>>> So the main issue is file IO, so change CRTL to use RMS.> >> > gt
>>>> CRTL uses RMS for file I/O. But there is an issue with concurrent
>>>> access of multiple processes to the same file in stream mode. And we
>>>> had a choice - 1) rewrite half of Postgres by inserting file
>>>> locking; 2) add a new SSIO (Shared Stream IO) service to VMS.
>>>
>>> Sort of.
>>> RMS worked and has been working of 40+years and does not have these
>>> concurrent access issues! NB there is no such thing at an OS level
>>> of stream anything, every thing is clumps of data being buffered is
>>> some way, the API that accesses that data from the higher levels may
>>> be stream based. In this case it is CRTL's role to translate the
>>> clumps of data into/from stream API.
>>
>> RMS is a pretty good database, for its time. Alas, its become rather
>> more dated, with an API design that is complex and limiting, and in
>> competitive terms RMS is badly feature-limited.
>>
>> If you need a key-value store and where the developer entirely owns
>> the fields used within the punched cards, and where y'all can fit your
>> files in 2 TiB (or bound volume sets, gag), RMS is still a fine choice.
>
> Hoff I think you are muddying the water here.
>
> This discussion has so far been about ORG:SEQ files.
>
> ORG:IDX files are a Key Value Store. But that is a totally
> different topic.
>
> Arne

No, it is not. The OP declared that RMS should be used for that.

You are correct that we're concerned about stream files, but claims
about RMS have been part of the discussion.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Pages:123456789101112131415
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor