Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

It's ten o'clock; do you know where your processes are?


computers / comp.os.vms / Re: clock problems with OpenVMS x86 on VirtualBox

SubjectAuthor
* clock problems with OpenVMS x86 on VirtualBoxCraig A. Berry
+- Re: clock problems with OpenVMS x86 on VirtualBoxDavid Jones
+* Re: clock problems with OpenVMS x86 on VirtualBoxDavid Turner
|+* Re: clock problems with OpenVMS x86 on VirtualBoxRobert A. Brooks
||`* Re: clock problems with OpenVMS x86 on VirtualBoxterry-...@glaver.org
|| +- Re: clock problems with OpenVMS x86 on VirtualBoxGary Sparkes
|| `* Re: clock problems with OpenVMS x86 on VirtualBoxbill
||  +* Re: clock problems with OpenVMS x86 on VirtualBoxDave Froble
||  |`* Re: clock problems with OpenVMS x86 on VirtualBoxbill
||  | +* Re: clock problems with OpenVMS x86 on VirtualBoxArne Vajhøj
||  | |`- Re: clock problems with OpenVMS x86 on VirtualBoxabrsvc
||  | `* Re: clock problems with OpenVMS x86 on VirtualBoxJohn Dallman
||  |  `- Re: clock problems with OpenVMS x86 on VirtualBoxBob Gezelter
||  `* Re: clock problems with OpenVMS x86 on VirtualBoxArne Vajhøj
||   `* Re: clock problems with OpenVMS x86 on VirtualBoxbill
||    `* Re: clock problems with OpenVMS x86 on VirtualBoxterry-...@glaver.org
||     `* Re: clock problems with OpenVMS x86 on VirtualBoxRobert A. Brooks
||      +* Re: clock problems with OpenVMS x86 on VirtualBoxterry-...@glaver.org
||      |`* Re: clock problems with OpenVMS x86 on VirtualBoxDave Froble
||      | `- Re: clock problems with OpenVMS x86 on VirtualBoxJohnny Billquist
||      `* Re: clock problems with OpenVMS x86 on VirtualBoxJohnny Billquist
||       `* Re: clock problems with OpenVMS x86 on VirtualBoxDave Froble
||        +* Re: clock problems with OpenVMS x86 on VirtualBoxbill
||        |`* Re: clock problems with OpenVMS x86 on VirtualBoxChris Townley
||        | `- Re: clock problems with OpenVMS x86 on VirtualBoxJohnny Billquist
||        `* Re: clock problems with OpenVMS x86 on VirtualBoxJohnny Billquist
||         `* Re: clock problems with OpenVMS x86 on VirtualBoxArne Vajhøj
||          +* Re: clock problems with OpenVMS x86 on VirtualBoxDave Froble
||          |`* Re: clock problems with OpenVMS x86 on VirtualBoxbill
||          | `- Re: clock problems with OpenVMS x86 on VirtualBoxArne Vajhøj
||          `* Re: clock problems with OpenVMS x86 on VirtualBoxJohnny Billquist
||           +- Re: clock problems with OpenVMS x86 on VirtualBoxabrsvc
||           `* Re: clock problems with OpenVMS x86 on VirtualBoxBob Wilson
||            `* Re: clock problems with OpenVMS x86 on VirtualBoxDavid Jones
||             `* Re: clock problems with OpenVMS x86 on VirtualBoxbill
||              `- Re: clock problems with OpenVMS x86 on VirtualBoxSingle Stage to Orbit
|+* Re: clock problems with OpenVMS x86 on VirtualBoxJan-Erik Söderholm
||`* Re: clock problems with OpenVMS x86 on VirtualBoxCraig A. Berry
|| `* Re: clock problems with OpenVMS x86 on VirtualBoxJan-Erik Söderholm
||  `* Re: clock problems with OpenVMS x86 on VirtualBoxCraig A. Berry
||   `- Re: clock problems with OpenVMS x86 on VirtualBoxJan-Erik Söderholm
|`- Re: clock problems with OpenVMS x86 on VirtualBoxJohnny Billquist
+* Re: clock problems with OpenVMS x86 on VirtualBoxgah4
|+* Re: clock problems with OpenVMS x86 on VirtualBoxArne Vajhøj
||`* Re: clock problems with OpenVMS x86 on VirtualBoxgah4
|| `* Re: clock problems with OpenVMS x86 on VirtualBoxDave Froble
||  `- Re: clock problems with OpenVMS x86 on VirtualBoxArne Vajhøj
|+* Re: clock problems with OpenVMS x86 on VirtualBoxJohnny Billquist
||+* Re: clock problems with OpenVMS x86 on VirtualBoxgah4
|||`* Re: clock problems with OpenVMS x86 on VirtualBoxJohnny Billquist
||| +* Re: clock problems with OpenVMS x86 on VirtualBoxgah4
||| |`* Re: clock problems with OpenVMS x86 on VirtualBoxJohnny Billquist
||| | `* Re: clock problems with OpenVMS x86 on VirtualBoxterry-...@glaver.org
||| |  `* Re: clock problems with OpenVMS x86 on VirtualBoxJohnny Billquist
||| |   `- Re: clock problems with OpenVMS x86 on VirtualBoxJan-Erik Söderholm
||| `* Re: clock problems with OpenVMS x86 on VirtualBoxgah4
|||  `* Re: clock problems with OpenVMS x86 on VirtualBoxDan Cross
|||   `* Re: clock problems with OpenVMS x86 on VirtualBoxgah4
|||    +* Re: clock problems with OpenVMS x86 on VirtualBoxJohnny Billquist
|||    |`- Re: clock problems with OpenVMS x86 on VirtualBoxgah4
|||    `* Re: clock problems with OpenVMS x86 on VirtualBoxDan Cross
|||     `* Re: clock problems with OpenVMS x86 on VirtualBoxgah4
|||      +* Re: clock problems with OpenVMS x86 on VirtualBoxterry-...@glaver.org
|||      |`- Re: clock problems with OpenVMS x86 on VirtualBoxgah4
|||      `- Re: clock problems with OpenVMS x86 on VirtualBoxDan Cross
||`* Re: clock problems with OpenVMS x86 on VirtualBoxGary Sparkes
|| `- Re: clock problems with OpenVMS x86 on VirtualBoxJohnny Billquist
|`* Re: clock problems with OpenVMS x86 on VirtualBoxSimon Clubley
| `- Re: clock problems with OpenVMS x86 on VirtualBoxJohnny Billquist
`* Re: clock problems with OpenVMS x86 on VirtualBoxgah4
 `* Re: clock problems with OpenVMS x86 on VirtualBoxJan-Erik Söderholm
  +- Re: clock problems with OpenVMS x86 on VirtualBoxJan-Erik Söderholm
  +- Re: clock problems with OpenVMS x86 on VirtualBoxJohnny Billquist
  `* Re: clock problems with OpenVMS x86 on VirtualBoxSimon Clubley
   +* Re: clock problems with OpenVMS x86 on VirtualBoxDave Froble
   |`* Re: clock problems with OpenVMS x86 on VirtualBoxSimon Clubley
   | +* Re: clock problems with OpenVMS x86 on VirtualBoxClair Grant
   | |+- Re: clock problems with OpenVMS x86 on VirtualBoxJohnny Billquist
   | |`* Re: clock problems with OpenVMS x86 on VirtualBoxCraig A. Berry
   | | +- Re: clock problems with OpenVMS x86 on VirtualBoxArne Vajhøj
   | | +* Re: clock problems with OpenVMS x86 on VirtualBoxJan-Erik Söderholm
   | | |+- Re: clock problems with OpenVMS x86 on VirtualBoxSimon Clubley
   | | |+- Re: clock problems with OpenVMS x86 on VirtualBoxCraig A. Berry
   | | |`- Re: clock problems with OpenVMS x86 on VirtualBoxJohnny Billquist
   | | `- Re: clock problems with OpenVMS x86 on VirtualBoxJohnny Billquist
   | `* Re: clock problems with OpenVMS x86 on VirtualBoxArne Vajhøj
   |  +* Re: clock problems with OpenVMS x86 on VirtualBoxJohnny Billquist
   |  |+* Re: clock problems with OpenVMS x86 on VirtualBoxArne Vajhøj
   |  ||`* Re: clock problems with OpenVMS x86 on VirtualBoxJohnny Billquist
   |  || `* Re: clock problems with OpenVMS x86 on VirtualBoxArne Vajhøj
   |  ||  `* Re: clock problems with OpenVMS x86 on VirtualBoxJohnny Billquist
   |  ||   +- Re: clock problems with OpenVMS x86 on VirtualBoxDan Cross
   |  ||   `* Re: clock problems with OpenVMS x86 on VirtualBoxArne Vajhøj
   |  ||    `* Re: clock problems with OpenVMS x86 on VirtualBoxDan Cross
   |  ||     `* Re: clock problems with OpenVMS x86 on VirtualBoxArne Vajhøj
   |  ||      +- Re: clock problems with OpenVMS x86 on VirtualBoxArne Vajhøj
   |  ||      +* Re: clock problems with OpenVMS x86 on VirtualBoxgah4
   |  ||      |`- Re: clock problems with OpenVMS x86 on VirtualBoxDan Cross
   |  ||      `- Re: clock problems with OpenVMS x86 on VirtualBoxDan Cross
   |  |`* Re: clock problems with OpenVMS x86 on VirtualBoxDan Cross
   |  | +- Re: clock problems with OpenVMS x86 on VirtualBoxJohnny Billquist
   |  | `* Re: clock problems with OpenVMS x86 on VirtualBoxgah4
   |  `* Re: clock problems with OpenVMS x86 on VirtualBoxSimon Clubley
   +* Re: clock problems with OpenVMS x86 on VirtualBoxbill
   `- Re: clock problems with OpenVMS x86 on VirtualBoxJohnny Billquist

Pages:123456
Re: clock problems with OpenVMS x86 on VirtualBox

<u3laa8$1hsr0$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: clock problems with OpenVMS x86 on VirtualBox
Date: Fri, 12 May 2023 12:09:44 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <u3laa8$1hsr0$1@dont-email.me>
References: <u360f3$2u60a$1@dont-email.me> <5751da2a-4b87-4f86-9d7b-815606a626ean@googlegroups.com>
Injection-Date: Fri, 12 May 2023 12:09:44 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7193efa8ef5ede0914d07ec64e681c57";
logging-data="1635168"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Kei5jQcTkKqcPK7U2/12XC3lAuZ/Ct88="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:WyKFX5n0sLWLyFi8AhfzjZaf+Ks=
 by: Simon Clubley - Fri, 12 May 2023 12:09 UTC

On 2023-05-11, gah4 <gah4@u.washington.edu> wrote:
>
> How does VMS keep track of time?
>

By modern standards, very, very poorly, as demonstrated by an event that
takes place twice a year.

This is something that Unix got absolutely right, and which VMS got
absolutely wrong...

Simon.

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

Re: clock problems with OpenVMS x86 on VirtualBox

<u3laii$1hsr0$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: clock problems with OpenVMS x86 on VirtualBox
Date: Fri, 12 May 2023 12:14:10 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <u3laii$1hsr0$2@dont-email.me>
References: <u360f3$2u60a$1@dont-email.me> <0a2380af-03c7-400c-9a97-f93809394743n@googlegroups.com> <u3kr5m$1egq6$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 12 May 2023 12:14:10 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7193efa8ef5ede0914d07ec64e681c57";
logging-data="1635168"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+dYYwaKrIfJkaJCsq5ZFKmLqpyTmiBW6E="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:Ap1KymphZVr+ZVjlwWXt9/3XR9s=
 by: Simon Clubley - Fri, 12 May 2023 12:14 UTC

On 2023-05-12, Jan-Erik Söderholm <jan-erik.soderholm@telia.com> wrote:
>
> Actually, that was how I thought it worked. Since I observed that
> the clock in my VirtualBox VMS environment lagge a bit behind
> but each 10-20 sec, it jumpt ahead and skipped a second so that
> it become in sync with the host Windows environment again.
>

That's going to make for some "interesting" real-time program behaviour... :-)

Simon.

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

Re: clock problems with OpenVMS x86 on VirtualBox

<u3lblu$1i1jf$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: clock problems with OpenVMS x86 on VirtualBox
Date: Fri, 12 May 2023 08:32:53 -0400
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <u3lblu$1i1jf$1@dont-email.me>
References: <u360f3$2u60a$1@dont-email.me>
<5751da2a-4b87-4f86-9d7b-815606a626ean@googlegroups.com>
<u3judm$17v9q$1@dont-email.me>
<96a3496b-3adb-4cb8-98e2-eb7e11f2fabbn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 12 May 2023 12:33:02 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="dcb8125d608c1a4ca145acdb5662c76f";
logging-data="1640047"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX186jWmCftJ9dF0MsqBEFl/0HXLGcmLWlAI="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:W/p4DGPJg+ggqazX2OTYq+6hyzg=
In-Reply-To: <96a3496b-3adb-4cb8-98e2-eb7e11f2fabbn@googlegroups.com>
 by: Dave Froble - Fri, 12 May 2023 12:32 UTC

On 5/11/2023 9:41 PM, gah4 wrote:
> On Thursday, May 11, 2023 at 4:42:06 PM UTC-7, Arne Vajhøj wrote:
>> On 5/11/2023 7:02 PM, gah4 wrote:
>>> How does VMS keep track of time?
>
>> According to IDSM then it reads time from the HW clock
>> at boot and then update it N (N >= 1000) times per
>> second at IPL 22.
>
> So, for all architectures?
>
> https://www.digiater.nl/openvms/freeware/v60/vmsfaq/vmsfaq_004.html
>

As far as I know, there hasn't been an IDSM release since Alpha. So, who knows?

--
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: clock problems with OpenVMS x86 on VirtualBox

<u3lc20$1i1jf$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: clock problems with OpenVMS x86 on VirtualBox
Date: Fri, 12 May 2023 08:39:19 -0400
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <u3lc20$1i1jf$2@dont-email.me>
References: <u360f3$2u60a$1@dont-email.me>
<0a2380af-03c7-400c-9a97-f93809394743n@googlegroups.com>
<u3kr5m$1egq6$1@dont-email.me> <u3laii$1hsr0$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 12 May 2023 12:39:28 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="dcb8125d608c1a4ca145acdb5662c76f";
logging-data="1640047"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/HthlikJJ8uTIbaIQyaOz1shlo4JlI28M="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:9GwJdbW8Vl3vPXJA4IyXqEiVQ5E=
In-Reply-To: <u3laii$1hsr0$2@dont-email.me>
 by: Dave Froble - Fri, 12 May 2023 12:39 UTC

On 5/12/2023 8:14 AM, Simon Clubley wrote:
> On 2023-05-12, Jan-Erik Söderholm <jan-erik.soderholm@telia.com> wrote:
>>
>> Actually, that was how I thought it worked. Since I observed that
>> the clock in my VirtualBox VMS environment lagge a bit behind
>> but each 10-20 sec, it jumpt ahead and skipped a second so that
>> it become in sync with the host Windows environment again.
>>
>
> That's going to make for some "interesting" real-time program behaviour... :-)
>
> Simon.
>

Do you think any serious real time programmer will run a real time task inside a
VM? I'm not a real time programmer, and I'd still not do that.

--
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: clock problems with OpenVMS x86 on VirtualBox

<kc6qfhFd1mhU1@mid.individual.net>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gun...@gmail.com (bill)
Newsgroups: comp.os.vms
Subject: Re: clock problems with OpenVMS x86 on VirtualBox
Date: Fri, 12 May 2023 08:41:21 -0400
Lines: 19
Message-ID: <kc6qfhFd1mhU1@mid.individual.net>
References: <u360f3$2u60a$1@dont-email.me>
<0a2380af-03c7-400c-9a97-f93809394743n@googlegroups.com>
<u3kr5m$1egq6$1@dont-email.me> <u3laii$1hsr0$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net IZj1TErBW6CAIPzkzI0XhgoyNbVmvnkHqnnyiAZS4Wxya7k+KM
Cancel-Lock: sha1:MzoBuevZeKK/pD654jgATmvMm9o=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.10.1
Content-Language: en-US
In-Reply-To: <u3laii$1hsr0$2@dont-email.me>
 by: bill - Fri, 12 May 2023 12:41 UTC

On 5/12/2023 8:14 AM, Simon Clubley wrote:
> On 2023-05-12, Jan-Erik Söderholm <jan-erik.soderholm@telia.com> wrote:
>>
>> Actually, that was how I thought it worked. Since I observed that
>> the clock in my VirtualBox VMS environment lagge a bit behind
>> but each 10-20 sec, it jumpt ahead and skipped a second so that
>> it become in sync with the host Windows environment again.
>>
>
> That's going to make for some "interesting" real-time program behaviour... :-)
>

Does VMS still claim to be an RTOS? Did it ever (there was VAXELN)?

And, anyway, trying to do realtime in a VM has got to be futile.

bill

Re: clock problems with OpenVMS x86 on VirtualBox

<u3lt3p$1p1uh$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: clock problems with OpenVMS x86 on VirtualBox
Date: Fri, 12 May 2023 17:30:34 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <u3lt3p$1p1uh$1@dont-email.me>
References: <u360f3$2u60a$1@dont-email.me> <0a2380af-03c7-400c-9a97-f93809394743n@googlegroups.com> <u3kr5m$1egq6$1@dont-email.me> <u3laii$1hsr0$2@dont-email.me> <u3lc20$1i1jf$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 12 May 2023 17:30:34 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7193efa8ef5ede0914d07ec64e681c57";
logging-data="1869777"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX192Eha0JQZVlolnbhkQrltZUTgFNhlzt9k="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:ZLjy0I4Gi11zJ/I5ddaPM2dueIs=
 by: Simon Clubley - Fri, 12 May 2023 17:30 UTC

On 2023-05-12, Dave Froble <davef@tsoft-inc.com> wrote:
> On 5/12/2023 8:14 AM, Simon Clubley wrote:
>> On 2023-05-12, Jan-Erik Söderholm <jan-erik.soderholm@telia.com> wrote:
>>>
>>> Actually, that was how I thought it worked. Since I observed that
>>> the clock in my VirtualBox VMS environment lagge a bit behind
>>> but each 10-20 sec, it jumpt ahead and skipped a second so that
>>> it become in sync with the host Windows environment again.
>>>
>>
>> That's going to make for some "interesting" real-time program behaviour... :-)
>>
>> Simon.
>>
>
> Do you think any serious real time programmer will run a real time task inside a
> VM? I'm not a real time programmer, and I'd still not do that.
>

As well as traditional real-time stuff (which I agree with you about BTW),
there's also communications with external devices and the timestamping of
received messages, both of which could be affected by such jumps.

Simon.

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

Re: clock problems with OpenVMS x86 on VirtualBox

<2ab6eacd-259c-4b41-88bb-56f0a8e42f42n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:5dc6:0:b0:3e8:f79d:bdfa with SMTP id e6-20020ac85dc6000000b003e8f79dbdfamr9466669qtx.0.1683923145056;
Fri, 12 May 2023 13:25:45 -0700 (PDT)
X-Received: by 2002:a05:620a:4003:b0:755:e6df:f777 with SMTP id
h3-20020a05620a400300b00755e6dff777mr8571405qko.6.1683923144793; Fri, 12 May
2023 13:25:44 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Fri, 12 May 2023 13:25:44 -0700 (PDT)
In-Reply-To: <u3lt3p$1p1uh$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:188:c402:dc70:488c:8149:3517:6fe3;
posting-account=UTAzUQoAAAAQtdL2ivz1KyyeVhy6-yBA
NNTP-Posting-Host: 2601:188:c402:dc70:488c:8149:3517:6fe3
References: <u360f3$2u60a$1@dont-email.me> <0a2380af-03c7-400c-9a97-f93809394743n@googlegroups.com>
<u3kr5m$1egq6$1@dont-email.me> <u3laii$1hsr0$2@dont-email.me>
<u3lc20$1i1jf$2@dont-email.me> <u3lt3p$1p1uh$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2ab6eacd-259c-4b41-88bb-56f0a8e42f42n@googlegroups.com>
Subject: Re: clock problems with OpenVMS x86 on VirtualBox
From: clairgra...@gmail.com (Clair Grant)
Injection-Date: Fri, 12 May 2023 20:25:45 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2987
 by: Clair Grant - Fri, 12 May 2023 20:25 UTC

On Friday, May 12, 2023 at 1:30:37 PM UTC-4, Simon Clubley wrote:
> On 2023-05-12, Dave Froble <da...@tsoft-inc.com> wrote:
> > On 5/12/2023 8:14 AM, Simon Clubley wrote:
> >> On 2023-05-12, Jan-Erik Söderholm <jan-erik....@telia.com> wrote:
> >>>
> >>> Actually, that was how I thought it worked. Since I observed that
> >>> the clock in my VirtualBox VMS environment lagge a bit behind
> >>> but each 10-20 sec, it jumpt ahead and skipped a second so that
> >>> it become in sync with the host Windows environment again.
> >>>
> >>
> >> That's going to make for some "interesting" real-time program behaviour... :-)
> >>
> >> Simon.
> >>
> >
> > Do you think any serious real time programmer will run a real time task inside a
> > VM? I'm not a real time programmer, and I'd still not do that.
> >
> As well as traditional real-time stuff (which I agree with you about BTW),
> there's also communications with external devices and the timestamping of
> received messages, both of which could be affected by such jumps.
> Simon.
>
> --
> Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
> Walking destinations on a map are further away than they appear.
Virtual Box 7.0.6, Lenovo ThinkBook, Windows 11

I put SHOW TIME in a 10 minute loop and ran it 7 hours. Every output showed exactly 10 minutes and 0 seconds from the previous. I did the same thing on

ESXi 8.0, DL580

and got the same result. If we have a problem, it is certainly not universal.

Clair

Re: clock problems with OpenVMS x86 on VirtualBox

<7218aa86-d5ea-43fa-9842-f79161ae0e74n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:19a7:b0:74f:b51b:3de4 with SMTP id bm39-20020a05620a19a700b0074fb51b3de4mr7827450qkb.5.1683934330425;
Fri, 12 May 2023 16:32:10 -0700 (PDT)
X-Received: by 2002:a05:622a:16:b0:3de:bafb:82b0 with SMTP id
x22-20020a05622a001600b003debafb82b0mr9292711qtw.6.1683934330265; Fri, 12 May
2023 16:32:10 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!border-1.nntp.ord.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, 12 May 2023 16:32:09 -0700 (PDT)
In-Reply-To: <u3l2fq$g0q$1@news.misty.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:470:8b06:200:85f2:8320:81b4:a1ac;
posting-account=lrsA6goAAAD4xKaYqFQ04PLmg_wnS0uk
NNTP-Posting-Host: 2001:470:8b06:200:85f2:8320:81b4:a1ac
References: <u360f3$2u60a$1@dont-email.me> <5751da2a-4b87-4f86-9d7b-815606a626ean@googlegroups.com>
<u3l2fq$g0q$1@news.misty.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7218aa86-d5ea-43fa-9842-f79161ae0e74n@googlegroups.com>
Subject: Re: clock problems with OpenVMS x86 on VirtualBox
From: mok...@gmail.com (Gary Sparkes)
Injection-Date: Fri, 12 May 2023 23:32:10 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 63
 by: Gary Sparkes - Fri, 12 May 2023 23:32 UTC

On Friday, May 12, 2023 at 5:56:13 AM UTC-4, Johnny Billquist wrote:
> On 2023-05-12 01:02, gah4 wrote:
> > On Saturday, May 6, 2023 at 9:49:43 AM UTC-7, Craig A. Berry wrote:
> >> I am running OpenVMS x86_64 E9.2-1 under VirtualBox 7.0.8 on macOS
> >> Ventura 13.3.1 (a). The host is a 2019 MacBook Pro with 2.3 GHz 8-Core
> >> Intel Core i9. The clock isn't working right, most easily seen by the
> >> fact that the following two commands were typed exactly one minute apart:
> >
> >> $ sh time
> >> 5-MAY-2023 19:07:35
> >> $ sh time
> >> 5-MAY-2023 19:07:45
> >
> > I haven't thought about this recently.
> >
> > As well as I know it, many OS were designed to know about emulators,
> > and virtual machines, and virtual machines to know about client systems..
> >
> > The OS should be able to request the right time from VirtualBox.
> That is something you could/would do at boot time to get initial time,
> but not after that.
> During normal operation, most OSes uses a clock interrupt at a known
> frequency, and this is in turn used to update the wall clock in the OS.
> There are some tickless operating systems - mostly embedded RTOS stuff
> where you want to reduce power consumption, but otherwise this is how
> you normally do stuff, since you want to schedule all kind of things
> based on time, and it would make no sense to have a VM go out and read
> the host time hundreds of times per second as a way of just polling to
> get time.

Virtualization aware OSes *Will* update/request host time at specified intervals.

Not just at boot.

Most mainstream OSes have this capability to avoid VM time drift.

It can also be disabled, which is the recommended setting for Windows AD Domain
controllers, for example - the PDC emulator hosting one does external time sync,
all other DCs sync to that, and then you sync your hardware to those sources (the DCs)

All other guest VMs use host time sync. If the host's time drifts too far, you will
have a Bad Day (tm) in a kerberos authentication environment because the guest
VMs time will drift too. Without reboot. Because the guest VMs are hypervisor time aware
unless you disable host time sync and/or don't install the VM tooling (if required, linux
for example wouldn't need it if the hypervisor support is compiled into kernel for
time sync to work)

So yes, it is done after boot. Constantly.

Re: clock problems with OpenVMS x86 on VirtualBox

<u3mkt8$1rlf8$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: clock problems with OpenVMS x86 on VirtualBox
Date: Fri, 12 May 2023 20:16:37 -0400
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <u3mkt8$1rlf8$1@dont-email.me>
References: <u360f3$2u60a$1@dont-email.me>
<0a2380af-03c7-400c-9a97-f93809394743n@googlegroups.com>
<u3kr5m$1egq6$1@dont-email.me> <u3laii$1hsr0$2@dont-email.me>
<u3lc20$1i1jf$2@dont-email.me> <u3lt3p$1p1uh$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 13 May 2023 00:16:40 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c01341384cc0c8078c5d0d02979f01d0";
logging-data="1955304"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Nn77sVtdP6ehVV5UAEwNYXcLaK3OUTuA="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:YCDr+0wN4y0TYQ2Lln0IoMB46TA=
In-Reply-To: <u3lt3p$1p1uh$1@dont-email.me>
Content-Language: en-US
 by: Arne Vajhøj - Sat, 13 May 2023 00:16 UTC

On 5/12/2023 1:30 PM, Simon Clubley wrote:
> On 2023-05-12, Dave Froble <davef@tsoft-inc.com> wrote:
>> On 5/12/2023 8:14 AM, Simon Clubley wrote:
>>> That's going to make for some "interesting" real-time program behaviour... :-)
>>
>> Do you think any serious real time programmer will run a real time task inside a
>> VM? I'm not a real time programmer, and I'd still not do that.
>
> As well as traditional real-time stuff (which I agree with you about BTW),

I would not want to do it on a type 2 hypervisor - there must be
cases where what is happening on the host OS impact the performance
of the guest OS.

But with a type 1 hypervisor and no over allocation of resources -
would it be worse than running on bare metal?

Arne

Re: clock problems with OpenVMS x86 on VirtualBox

<u3ml13$1rlf8$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: clock problems with OpenVMS x86 on VirtualBox
Date: Fri, 12 May 2023 20:18:40 -0400
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <u3ml13$1rlf8$2@dont-email.me>
References: <u360f3$2u60a$1@dont-email.me>
<0a2380af-03c7-400c-9a97-f93809394743n@googlegroups.com>
<u3kr5m$1egq6$1@dont-email.me> <u3laii$1hsr0$2@dont-email.me>
<kc6qfhFd1mhU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 13 May 2023 00:18:43 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c01341384cc0c8078c5d0d02979f01d0";
logging-data="1955304"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18woiO6yyiCRpi4l+1czdxdXeez/z3CJuE="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:J3Zgisi2SmA6aZ6LXDcW2ZkH80k=
Content-Language: en-US
In-Reply-To: <kc6qfhFd1mhU1@mid.individual.net>
 by: Arne Vajhøj - Sat, 13 May 2023 00:18 UTC

On 5/12/2023 8:41 AM, bill wrote:
> On 5/12/2023 8:14 AM, Simon Clubley wrote:
>> On 2023-05-12, Jan-Erik Söderholm <jan-erik.soderholm@telia.com> wrote:
>>> Actually, that was how I thought it worked. Since I observed that
>>> the clock in my VirtualBox VMS environment lagge a bit behind
>>> but each 10-20 sec, it jumpt ahead and skipped a second so that
>>> it become in sync with the host Windows environment again.
>>
>> That's going to make for some "interesting" real-time program
>> behaviour... :-)
>
> Does VMS still claim to be an RTOS?  Did it ever (there was VAXELN)?

I don't think it ever has.

But 30 years ago most believed that VMS had better
real time characteristics than Unix.

Arne

Re: clock problems with OpenVMS x86 on VirtualBox

<u3ml80$1rlf8$3@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: clock problems with OpenVMS x86 on VirtualBox
Date: Fri, 12 May 2023 20:22:21 -0400
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <u3ml80$1rlf8$3@dont-email.me>
References: <u360f3$2u60a$1@dont-email.me>
<5751da2a-4b87-4f86-9d7b-815606a626ean@googlegroups.com>
<u3judm$17v9q$1@dont-email.me>
<96a3496b-3adb-4cb8-98e2-eb7e11f2fabbn@googlegroups.com>
<u3lblu$1i1jf$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 13 May 2023 00:22:24 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c01341384cc0c8078c5d0d02979f01d0";
logging-data="1955304"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19XUuO7/E/eYTtifycFi2bG0TSXUxWwNQQ="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:Uxn7HEI4JeNkU4/DVLQgi5v815M=
In-Reply-To: <u3lblu$1i1jf$1@dont-email.me>
Content-Language: en-US
 by: Arne Vajhøj - Sat, 13 May 2023 00:22 UTC

On 5/12/2023 8:32 AM, Dave Froble wrote:
> On 5/11/2023 9:41 PM, gah4 wrote:
>> On Thursday, May 11, 2023 at 4:42:06 PM UTC-7, Arne Vajhøj wrote:
>>> On 5/11/2023 7:02 PM, gah4 wrote:
>>>> How does VMS keep track of time?
>>
>>> According to IDSM then it reads time from the HW clock
>>> at boot and then update it N (N >= 1000) times per
>>> second at IPL 22.
>>
>> So, for all architectures?
>>
>> https://www.digiater.nl/openvms/freeware/v60/vmsfaq/vmsfaq_004.html
>>
>
> As far as I know, there hasn't been an IDSM release since Alpha.  So,
> who knows?

Various VMS people know.

But my understanding is that:
* VAX to Alpha added a ton of new features
* Alpha to Itanium was mostly a 1:1 port (unless new ISA
required a change)
* Itanium to x86-64 is mostly a 1:1 port (unless new ISA
required a change)

So unless there is a difference between Alpha, Itanium
and x86-64 regarding clocks requiring a change then I
would expect it to still be so.

Arne

Re: clock problems with OpenVMS x86 on VirtualBox

<u3neb8$21n4r$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: F.Zwa...@HetNet.nl (Fred. Zwarts)
Newsgroups: comp.os.vms
Subject: Re: clock problems with OpenVMS x86 on VirtualBox
Date: Sat, 13 May 2023 09:30:47 +0200
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <u3neb8$21n4r$1@dont-email.me>
References: <u360f3$2u60a$1@dont-email.me>
<0a2380af-03c7-400c-9a97-f93809394743n@googlegroups.com>
<u3kr5m$1egq6$1@dont-email.me> <u3laii$1hsr0$2@dont-email.me>
<kc6qfhFd1mhU1@mid.individual.net> <u3ml13$1rlf8$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 13 May 2023 07:30:48 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e5d642344e1475b8b5ef17775f4b635d";
logging-data="2153627"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+VkC/m3HIQPIXZuBFkSaKX"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:SY171N29lvPL8MOvbuEpbqyipT4=
In-Reply-To: <u3ml13$1rlf8$2@dont-email.me>
Content-Language: en-GB
 by: Fred. Zwarts - Sat, 13 May 2023 07:30 UTC

Op 13.mei.2023 om 02:18 schreef Arne Vajhøj:
> On 5/12/2023 8:41 AM, bill wrote:
>> On 5/12/2023 8:14 AM, Simon Clubley wrote:
>>> On 2023-05-12, Jan-Erik Söderholm <jan-erik.soderholm@telia.com> wrote:
>>>> Actually, that was how I thought it worked. Since I observed that
>>>> the clock in my VirtualBox VMS environment lagge a bit behind
>>>> but each 10-20 sec, it jumpt ahead and skipped a second so that
>>>> it become in sync with the host Windows environment again.
>>>
>>> That's going to make for some "interesting" real-time program
>>> behaviour... :-)
>>
>> Does VMS still claim to be an RTOS?  Did it ever (there was VAXELN)?
>
> I don't think it ever has.
>
> But 30 years ago most believed that VMS had better
> real time characteristics than Unix.
>
> Arne
>

In 1980 the RT properties of VMS were part of the decision to by a VAX
for our nuclear physics laboratory, i.e. the special scheduling of 'Real
Time' priority processes.
I don't know if those properties are still present.

Re: clock problems with OpenVMS x86 on VirtualBox

<u3nr2b$231rg$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: clock problems with OpenVMS x86 on VirtualBox
Date: Sat, 13 May 2023 07:07:52 -0400
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <u3nr2b$231rg$1@dont-email.me>
References: <u360f3$2u60a$1@dont-email.me>
<0a2380af-03c7-400c-9a97-f93809394743n@googlegroups.com>
<u3kr5m$1egq6$1@dont-email.me> <u3laii$1hsr0$2@dont-email.me>
<kc6qfhFd1mhU1@mid.individual.net> <u3ml13$1rlf8$2@dont-email.me>
<u3neb8$21n4r$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 13 May 2023 11:07:55 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c01341384cc0c8078c5d0d02979f01d0";
logging-data="2197360"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Xd/6n+7/TOJs52ymBBt/P4aAgMqriiHY="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:jsVxwOSoh6kdqT7aGS19p5lQwyg=
In-Reply-To: <u3neb8$21n4r$1@dont-email.me>
Content-Language: en-US
 by: Arne Vajhøj - Sat, 13 May 2023 11:07 UTC

On 5/13/2023 3:30 AM, Fred. Zwarts wrote:
> Op 13.mei.2023 om 02:18 schreef Arne Vajhøj:
>> On 5/12/2023 8:41 AM, bill wrote:
>>> On 5/12/2023 8:14 AM, Simon Clubley wrote:
>>>> On 2023-05-12, Jan-Erik Söderholm <jan-erik.soderholm@telia.com> wrote:
>>>>> Actually, that was how I thought it worked. Since I observed that
>>>>> the clock in my VirtualBox VMS environment lagge a bit behind
>>>>> but each 10-20 sec, it jumpt ahead and skipped a second so that
>>>>> it become in sync with the host Windows environment again.
>>>>
>>>> That's going to make for some "interesting" real-time program
>>>> behaviour... :-)
>>>
>>> Does VMS still claim to be an RTOS?  Did it ever (there was VAXELN)?
>>
>> I don't think it ever has.
>>
>> But 30 years ago most believed that VMS had better
>> real time characteristics than Unix.
>
> In 1980 the RT properties of VMS were part of the decision to by a VAX
> for our nuclear physics laboratory, i.e. the special scheduling of 'Real
> Time' priority processes.
> I don't know if those properties are still present.

VAX got real time priorities 16-31.

Alpha got real time priorities 16-63.

I assume Itanium and x86-64 has 16-63 as well.

But I believe there is more to real time than
having those (no quantum end and no dynamic
adjustment).

Arne

Re: clock problems with OpenVMS x86 on VirtualBox

<kc9eeuFd1mgU1@mid.individual.net>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gun...@gmail.com (bill)
Newsgroups: comp.os.vms
Subject: Re: clock problems with OpenVMS x86 on VirtualBox
Date: Sat, 13 May 2023 08:34:38 -0400
Lines: 26
Message-ID: <kc9eeuFd1mgU1@mid.individual.net>
References: <u360f3$2u60a$1@dont-email.me>
<0a2380af-03c7-400c-9a97-f93809394743n@googlegroups.com>
<u3kr5m$1egq6$1@dont-email.me> <u3laii$1hsr0$2@dont-email.me>
<kc6qfhFd1mhU1@mid.individual.net> <u3ml13$1rlf8$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net XroY+8+eppY0N4VVPtXYlw7efeHhnPy1bBv+UhOKKtorIyHJaC
Cancel-Lock: sha1:hmFCe7yHa6GlLyBwZeJqErmEgvU=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.10.1
Content-Language: en-US
In-Reply-To: <u3ml13$1rlf8$2@dont-email.me>
 by: bill - Sat, 13 May 2023 12:34 UTC

On 5/12/2023 8:18 PM, Arne Vajhøj wrote:
> On 5/12/2023 8:41 AM, bill wrote:
>> On 5/12/2023 8:14 AM, Simon Clubley wrote:
>>> On 2023-05-12, Jan-Erik Söderholm <jan-erik.soderholm@telia.com> wrote:
>>>> Actually, that was how I thought it worked. Since I observed that
>>>> the clock in my VirtualBox VMS environment lagge a bit behind
>>>> but each 10-20 sec, it jumpt ahead and skipped a second so that
>>>> it become in sync with the host Windows environment again.
>>>
>>> That's going to make for some "interesting" real-time program
>>> behaviour... :-)
>>
>> Does VMS still claim to be an RTOS?  Did it ever (there was VAXELN)?
>
> I don't think it ever has.
>
> But 30 years ago most believed that VMS had better
> real time characteristics than Unix.

Basic Unix was never an RTOS. But there were versions that made the
necessary modifications to be an RTOS. But then I guess the question
becomes are they still Unix. :-)

bill

Re: clock problems with OpenVMS x86 on VirtualBox

<7qOcnT80_p7CFML5nZ2dnZfqnPqdnZ2d@supernews.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!69.80.99.23.MISMATCH!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 13 May 2023 12:58:07 +0000
Newsgroups: comp.os.vms
Subject: Re: clock problems with OpenVMS x86 on VirtualBox
References: <u360f3$2u60a$1@dont-email.me> <kc6qfhFd1mhU1@mid.individual.net> <u3ml13$1rlf8$2@dont-email.me> <kc9eeuFd1mgU1@mid.individual.net>
Organization: Ruffspot
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
From: cru...@ruffspot.net (Craig Ruff)
Originator: cruff@ruffspot.net (Craig Ruff)
Message-ID: <7qOcnT80_p7CFML5nZ2dnZfqnPqdnZ2d@supernews.com>
Date: Sat, 13 May 2023 12:58:07 +0000
Lines: 12
X-Trace: sv3-dIUZucm7h3znYoZA3l0LRZWjopkQVBkDeueQMa+2W1ihy7dP2D1gFk6W/dzWtn+rL53hqSbvLSKKsTr!Oask5zd3L+99akENrw/TVJ051QEMDnVR3Jm0Iz4UpgDzldGYo5OaYcGUKfrA2zMtyHs7qro2IOzL!UbBrcUC30k9U
X-Complaints-To: www.supernews.com/docs/abuse.html
X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Received-Bytes: 1873
 by: Craig Ruff - Sat, 13 May 2023 12:58 UTC

In article <kc9eeuFd1mgU1@mid.individual.net>,
bill <bill.gunshannon@gmail.com> wrote:
>Basic Unix was never an RTOS. But there were versions that made the
>necessary modifications to be an RTOS. But then I guess the question
>becomes are they still Unix. :-)

Linux with the rt-premept feature enabled does a good job of supporting
near real time applications. I use this at work in embedded devices.
Sometimes you have to do things like lock a process into memory to
prevent issues or ensure latency is met, but you get the benefit of also
running non-real time processes to do other things like a GUI or network
communications.

Re: clock problems with OpenVMS x86 on VirtualBox

<u3o1p9$23n2i$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: clock problems with OpenVMS x86 on VirtualBox
Date: Sat, 13 May 2023 09:02:31 -0400
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <u3o1p9$23n2i$1@dont-email.me>
References: <u360f3$2u60a$1@dont-email.me> <kc6qfhFd1mhU1@mid.individual.net>
<u3ml13$1rlf8$2@dont-email.me> <kc9eeuFd1mgU1@mid.individual.net>
<7qOcnT80_p7CFML5nZ2dnZfqnPqdnZ2d@supernews.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 13 May 2023 13:02:34 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c01341384cc0c8078c5d0d02979f01d0";
logging-data="2219090"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+SouvmFHBMh9a3Y+lDk0vgdK5h8qJeNh0="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:PHrSuhpVcIRxD7rvUsEjsZ1zdU0=
Content-Language: en-US
In-Reply-To: <7qOcnT80_p7CFML5nZ2dnZfqnPqdnZ2d@supernews.com>
 by: Arne Vajhøj - Sat, 13 May 2023 13:02 UTC

On 5/13/2023 8:58 AM, Craig Ruff wrote:
> In article <kc9eeuFd1mgU1@mid.individual.net>,
> bill <bill.gunshannon@gmail.com> wrote:
>> Basic Unix was never an RTOS. But there were versions that made the
>> necessary modifications to be an RTOS. But then I guess the question
>> becomes are they still Unix. :-)
>
> Linux with the rt-premept feature enabled does a good job of supporting
> near real time applications. I use this at work in embedded devices.
> Sometimes you have to do things like lock a process into memory to
> prevent issues or ensure latency is met, but you get the benefit of also
> running non-real time processes to do other things like a GUI or network
> communications.

Seen from an ordinary user or programmer perspective then Linux
is Unix, but for real time characteristics I think there is a huge
difference between the Linux of today and the Unix of the 80.s

Arne

Re: clock problems with OpenVMS x86 on VirtualBox

<u3t06k$5jt$1@news.misty.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.10.184.180.213.static.wline.lns.sme.cust.swisscom.ch!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: clock problems with OpenVMS x86 on VirtualBox
Date: Mon, 15 May 2023 12:06:12 +0200
Organization: MGT Consulting
Message-ID: <u3t06k$5jt$1@news.misty.com>
References: <u360f3$2u60a$1@dont-email.me>
<5751da2a-4b87-4f86-9d7b-815606a626ean@googlegroups.com>
<u3l2fq$g0q$1@news.misty.com>
<2af50234-632d-4bf7-a569-dbab6b36f48an@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 15 May 2023 10:06:12 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="10.184.180.213.static.wline.lns.sme.cust.swisscom.ch:213.180.184.10";
logging-data="5757"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.11.0
In-Reply-To: <2af50234-632d-4bf7-a569-dbab6b36f48an@googlegroups.com>
 by: Johnny Billquist - Mon, 15 May 2023 10:06 UTC

On 2023-05-12 12:24, gah4 wrote:
> On Friday, May 12, 2023 at 2:56:13 AM UTC-7, Johnny Billquist wrote:
>
> (snip, I wrote)
>
>>> How does VMS keep track of time?
>
>> Same as pretty much anything else. You have a clock interrupt at a
>> regular interval and the OS counts time based on that.
>
>> VMS started off on the VAX, however, and that architecture do not have a
>> WAIT instruction, so at idle, the processor is really just spinning.
>> Not sure if that was amended on Alpha or later.
>
>> But a WAIT is commonly only stopping the processor until something
>> happens, which usually is an interrupt. If there is still nothing to do
>> after the interrupt handler finish, the processor would loop back to the
>> WAIT again.
>
> Yes. On the other hand, when the OS gives up, usually at IPL time when
> something fails, there is disabled WAIT state. That is, no interrupts
> enabled, in which case it stops.

Yeah. Well, if you disable all interrupts, and spin (or WAIT), not much
else can be expected to happen...

>> simh (for example) do detect the idle loop in VMS (on VAX), and pause
>> execution if it detects this loop, to let the host rest.
>
> Some put a special instruction in the loop to make it easier for emulators.

Doable if you have sources, which usually isn't the case with VMS.
NetBSD on VAX did add a hack to allow simh to detect the idle state,
which is harmless on real hardware (basically raising IPL to 1).

> There are two time related things that OS need to do. One is tell what
> time of day, month, year, it is. The other is task switching, and any other
> short time related events.
>
> IBM S/360 uses the same system for both, as you describe.

So does VMS, all Unixes that I've ever encountered, all PDP-11 OSes I've
ever encountered, all RTOSes I've ever encountered, and everything else
I've ever encountered...

> But S/370 adds a TOD clock, which keeps track of time, and a separate
> system for non TOD related timing. One complication with the TOD clock
> in Y2K days, is that access is not privileged, such that it can't be emulated
> by VM. So, VM/370 and successor guests read the hardware TOD clock.
> But other timing uses a different timer which is emulated.

Most systems do have a TOD clock as well, in hardware. But it is not
used for actually reporting current wall clock time, but is read out at
boot time and the OS time is set from it, and occasionally it is also
written to, to correct small drifts that happen over time.

Some PDP-11s have it, all VAXen have it, any PC have it these days, and
pretty much most other hardware as well, unless it's a rather limited
embedded system.

> So, some VirtualBox guests have a special way to get the host clock for
> TOD functions, but the interrupt clock for others. Saves a lot of work
> keeping two clocks synchronized.

Which is how it works on everything I've encountered. :-)
But as I mentioned, the TOD clock is read out at boot time, and not
directly used for reporting current time.

Johnny

Re: clock problems with OpenVMS x86 on VirtualBox

<u3t0hb$5jt$2@news.misty.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.10.184.180.213.static.wline.lns.sme.cust.swisscom.ch!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: clock problems with OpenVMS x86 on VirtualBox
Date: Mon, 15 May 2023 12:11:55 +0200
Organization: MGT Consulting
Message-ID: <u3t0hb$5jt$2@news.misty.com>
References: <u360f3$2u60a$1@dont-email.me>
<5751da2a-4b87-4f86-9d7b-815606a626ean@googlegroups.com>
<u3l2fq$g0q$1@news.misty.com>
<7218aa86-d5ea-43fa-9842-f79161ae0e74n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 15 May 2023 10:11:56 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="10.184.180.213.static.wline.lns.sme.cust.swisscom.ch:213.180.184.10";
logging-data="5757"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.11.0
In-Reply-To: <7218aa86-d5ea-43fa-9842-f79161ae0e74n@googlegroups.com>
 by: Johnny Billquist - Mon, 15 May 2023 10:11 UTC

On 2023-05-13 01:32, Gary Sparkes wrote:
> On Friday, May 12, 2023 at 5:56:13 AM UTC-4, Johnny Billquist wrote:
>> On 2023-05-12 01:02, gah4 wrote:
>>> On Saturday, May 6, 2023 at 9:49:43 AM UTC-7, Craig A. Berry wrote:
>>>> I am running OpenVMS x86_64 E9.2-1 under VirtualBox 7.0.8 on macOS
>>>> Ventura 13.3.1 (a). The host is a 2019 MacBook Pro with 2.3 GHz 8-Core
>>>> Intel Core i9. The clock isn't working right, most easily seen by the
>>>> fact that the following two commands were typed exactly one minute apart:
>>>
>>>> $ sh time
>>>> 5-MAY-2023 19:07:35
>>>> $ sh time
>>>> 5-MAY-2023 19:07:45
>>>
>>> I haven't thought about this recently.
>>>
>>> As well as I know it, many OS were designed to know about emulators,
>>> and virtual machines, and virtual machines to know about client systems.
>>>
>>> The OS should be able to request the right time from VirtualBox.
>> That is something you could/would do at boot time to get initial time,
>> but not after that.
>> During normal operation, most OSes uses a clock interrupt at a known
>> frequency, and this is in turn used to update the wall clock in the OS.
>> There are some tickless operating systems - mostly embedded RTOS stuff
>> where you want to reduce power consumption, but otherwise this is how
>> you normally do stuff, since you want to schedule all kind of things
>> based on time, and it would make no sense to have a VM go out and read
>> the host time hundreds of times per second as a way of just polling to
>> get time.
>
> Virtualization aware OSes *Will* update/request host time at specified intervals.
>
> Not just at boot.

That don't make much sense, and I've not see any who do it. But you
might be right. And that would probably cause some interesting conflicts
with most OSes that tend to have an NTP daemon running, which corrects
local time on the OS as well.

> Most mainstream OSes have this capability to avoid VM time drift.

The VM drift is usually the responsibility of the VM itself, and not the
host OS. And it's handled by the simple fact that clock interrupts are
controlled by the VM, and can be monitored and tracked by the VM, so it
knows if there is any drift in the first place.

> It can also be disabled, which is the recommended setting for Windows AD Domain
> controllers, for example - the PDC emulator hosting one does external time sync,
> all other DCs sync to that, and then you sync your hardware to those sources (the DCs)
>
> All other guest VMs use host time sync. If the host's time drifts too far, you will
> have a Bad Day (tm) in a kerberos authentication environment because the guest
> VMs time will drift too. Without reboot. Because the guest VMs are hypervisor time aware
> unless you disable host time sync and/or don't install the VM tooling (if required, linux
> for example wouldn't need it if the hypervisor support is compiled into kernel for
> time sync to work)
>
> So yes, it is done after boot. Constantly.

Yes. But usually not in the way you describe. At least not in any system
I've seen.

What you normally have is the VM itself that corrects time though
interrupt generation so that the guest OS is pretty much running the
same time as the host. However, the guest OS usually also have NTP
running (or some other time synchronization protocol), which are
adjusting time, since there can still be drift because the host might
not have correct time, and the VM might not be completely successful in
getting clock interrupts at the correct rate over time to the guest.

Johnny

Re: clock problems with OpenVMS x86 on VirtualBox

<u3t0ip$5jt$3@news.misty.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.10.184.180.213.static.wline.lns.sme.cust.swisscom.ch!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: clock problems with OpenVMS x86 on VirtualBox
Date: Mon, 15 May 2023 12:12:41 +0200
Organization: MGT Consulting
Message-ID: <u3t0ip$5jt$3@news.misty.com>
References: <u360f3$2u60a$1@dont-email.me>
<5751da2a-4b87-4f86-9d7b-815606a626ean@googlegroups.com>
<u3laa8$1hsr0$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 15 May 2023 10:12:41 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="10.184.180.213.static.wline.lns.sme.cust.swisscom.ch:213.180.184.10";
logging-data="5757"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.11.0
In-Reply-To: <u3laa8$1hsr0$1@dont-email.me>
 by: Johnny Billquist - Mon, 15 May 2023 10:12 UTC

On 2023-05-12 14:09, Simon Clubley wrote:
> On 2023-05-11, gah4 <gah4@u.washington.edu> wrote:
>>
>> How does VMS keep track of time?
>>
>
> By modern standards, very, very poorly, as demonstrated by an event that
> takes place twice a year.
>
> This is something that Unix got absolutely right, and which VMS got
> absolutely wrong...

Well, the DST is in a sense a completely different topic, but I do agree
that Unix got this right, and VMS wrong.

Johnny

Re: clock problems with OpenVMS x86 on VirtualBox

<u3t0l3$5jt$4@news.misty.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.10.184.180.213.static.wline.lns.sme.cust.swisscom.ch!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: clock problems with OpenVMS x86 on VirtualBox
Date: Mon, 15 May 2023 12:13:55 +0200
Organization: MGT Consulting
Message-ID: <u3t0l3$5jt$4@news.misty.com>
References: <u360f3$2u60a$1@dont-email.me>
<0a2380af-03c7-400c-9a97-f93809394743n@googlegroups.com>
<u3kr5m$1egq6$1@dont-email.me> <u3laii$1hsr0$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 15 May 2023 10:13:55 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="10.184.180.213.static.wline.lns.sme.cust.swisscom.ch:213.180.184.10";
logging-data="5757"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.11.0
In-Reply-To: <u3laii$1hsr0$2@dont-email.me>
 by: Johnny Billquist - Mon, 15 May 2023 10:13 UTC

On 2023-05-12 14:14, Simon Clubley wrote:
> On 2023-05-12, Jan-Erik Söderholm <jan-erik.soderholm@telia.com> wrote:
>>
>> Actually, that was how I thought it worked. Since I observed that
>> the clock in my VirtualBox VMS environment lagge a bit behind
>> but each 10-20 sec, it jumpt ahead and skipped a second so that
>> it become in sync with the host Windows environment again.
>>
>
> That's going to make for some "interesting" real-time program behaviour... :-)

Yup. Basically, *do not run time senstive programs under a VM*. You will
never have proper timing on things.

Johnny

Re: clock problems with OpenVMS x86 on VirtualBox

<u3t0q0$5jt$5@news.misty.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.10.184.180.213.static.wline.lns.sme.cust.swisscom.ch!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: clock problems with OpenVMS x86 on VirtualBox
Date: Mon, 15 May 2023 12:16:32 +0200
Organization: MGT Consulting
Message-ID: <u3t0q0$5jt$5@news.misty.com>
References: <u360f3$2u60a$1@dont-email.me>
<0a2380af-03c7-400c-9a97-f93809394743n@googlegroups.com>
<u3kr5m$1egq6$1@dont-email.me> <u3laii$1hsr0$2@dont-email.me>
<u3lc20$1i1jf$2@dont-email.me> <u3lt3p$1p1uh$1@dont-email.me>
<2ab6eacd-259c-4b41-88bb-56f0a8e42f42n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 15 May 2023 10:16:32 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="10.184.180.213.static.wline.lns.sme.cust.swisscom.ch:213.180.184.10";
logging-data="5757"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.11.0
In-Reply-To: <2ab6eacd-259c-4b41-88bb-56f0a8e42f42n@googlegroups.com>
 by: Johnny Billquist - Mon, 15 May 2023 10:16 UTC

On 2023-05-12 22:25, Clair Grant wrote:
> On Friday, May 12, 2023 at 1:30:37 PM UTC-4, Simon Clubley wrote:
>> On 2023-05-12, Dave Froble <da...@tsoft-inc.com> wrote:
>>> On 5/12/2023 8:14 AM, Simon Clubley wrote:
>>>> On 2023-05-12, Jan-Erik Söderholm <jan-erik....@telia.com> wrote:
>>>>>
>>>>> Actually, that was how I thought it worked. Since I observed that
>>>>> the clock in my VirtualBox VMS environment lagge a bit behind
>>>>> but each 10-20 sec, it jumpt ahead and skipped a second so that
>>>>> it become in sync with the host Windows environment again.
>>>>>
>>>>
>>>> That's going to make for some "interesting" real-time program behaviour... :-)
>>>>
>>>> Simon.
>>>>
>>>
>>> Do you think any serious real time programmer will run a real time task inside a
>>> VM? I'm not a real time programmer, and I'd still not do that.
>>>
>> As well as traditional real-time stuff (which I agree with you about BTW),
>> there's also communications with external devices and the timestamping of
>> received messages, both of which could be affected by such jumps.
>> Simon.
>>
>> --
>> Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
>> Walking destinations on a map are further away than they appear.
> Virtual Box 7.0.6, Lenovo ThinkBook, Windows 11
>
> I put SHOW TIME in a 10 minute loop and ran it 7 hours. Every output showed exactly 10 minutes and 0 seconds from the previous. I did the same thing on
>
> ESXi 8.0, DL580
>
> and got the same result. If we have a problem, it is certainly not universal.

You can hide a lot of potential problems with really fast hardware.
Don't mean the problems don't exist.

You want me to demonstrate this to you? Give me access to your host
system where these VMs are running, and I'll throw some monkey wrenches
in your timing... ;-)

Also, over time, the VMs compensate for jitter and drift, so over time,
you should be still be good for the type of test/measurement you did.

Johnny

Re: clock problems with OpenVMS x86 on VirtualBox

<u3t0se$5jt$6@news.misty.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.10.184.180.213.static.wline.lns.sme.cust.swisscom.ch!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: clock problems with OpenVMS x86 on VirtualBox
Date: Mon, 15 May 2023 12:17:50 +0200
Organization: MGT Consulting
Message-ID: <u3t0se$5jt$6@news.misty.com>
References: <u360f3$2u60a$1@dont-email.me>
<0a2380af-03c7-400c-9a97-f93809394743n@googlegroups.com>
<u3kr5m$1egq6$1@dont-email.me> <u3laii$1hsr0$2@dont-email.me>
<u3lc20$1i1jf$2@dont-email.me> <u3lt3p$1p1uh$1@dont-email.me>
<u3mkt8$1rlf8$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 15 May 2023 10:17:50 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="10.184.180.213.static.wline.lns.sme.cust.swisscom.ch:213.180.184.10";
logging-data="5757"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.11.0
In-Reply-To: <u3mkt8$1rlf8$1@dont-email.me>
 by: Johnny Billquist - Mon, 15 May 2023 10:17 UTC

On 2023-05-13 02:16, Arne Vajhøj wrote:
> On 5/12/2023 1:30 PM, Simon Clubley wrote:
>> On 2023-05-12, Dave Froble <davef@tsoft-inc.com> wrote:
>>> On 5/12/2023 8:14 AM, Simon Clubley wrote:
>>>> That's going to make for some "interesting" real-time program
>>>> behaviour... :-)
>>>
>>> Do you think any serious real time programmer will run a real time
>>> task inside a
>>> VM?  I'm not a real time programmer, and I'd still not do that.
>>
>> As well as traditional real-time stuff (which I agree with you about
>> BTW),
>
> I would not want to do it on a type 2 hypervisor - there must be
> cases where what is happening on the host OS impact the performance
> of the guest OS.
>
> But with a type 1 hypervisor and no over allocation of resources -
> would it be worse than running on bare metal?

For sure. You have no guarantee that you will get the CPU cycles when
you need them. No matter what kind of hypervisor we're talking about,
there is overhead in the host that can affect things way more than what
might happen on bare metal.

Johnny

Re: clock problems with OpenVMS x86 on VirtualBox

<u3t0vu$5jt$7@news.misty.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.10.184.180.213.static.wline.lns.sme.cust.swisscom.ch!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: clock problems with OpenVMS x86 on VirtualBox
Date: Mon, 15 May 2023 12:19:42 +0200
Organization: MGT Consulting
Message-ID: <u3t0vu$5jt$7@news.misty.com>
References: <u360f3$2u60a$1@dont-email.me>
<0a2380af-03c7-400c-9a97-f93809394743n@googlegroups.com>
<u3kr5m$1egq6$1@dont-email.me> <u3laii$1hsr0$2@dont-email.me>
<kc6qfhFd1mhU1@mid.individual.net> <u3ml13$1rlf8$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 15 May 2023 10:19:42 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="10.184.180.213.static.wline.lns.sme.cust.swisscom.ch:213.180.184.10";
logging-data="5757"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.11.0
In-Reply-To: <u3ml13$1rlf8$2@dont-email.me>
 by: Johnny Billquist - Mon, 15 May 2023 10:19 UTC

On 2023-05-13 02:18, Arne Vajhøj wrote:
> On 5/12/2023 8:41 AM, bill wrote:
>> On 5/12/2023 8:14 AM, Simon Clubley wrote:
>>> On 2023-05-12, Jan-Erik Söderholm <jan-erik.soderholm@telia.com> wrote:
>>>> Actually, that was how I thought it worked. Since I observed that
>>>> the clock in my VirtualBox VMS environment lagge a bit behind
>>>> but each 10-20 sec, it jumpt ahead and skipped a second so that
>>>> it become in sync with the host Windows environment again.
>>>
>>> That's going to make for some "interesting" real-time program
>>> behaviour... :-)
>>
>> Does VMS still claim to be an RTOS?  Did it ever (there was VAXELN)?
>
> I don't think it ever has.

I think it claimed/aimed at soft realtime.

> But 30 years ago most believed that VMS had better
> real time characteristics than Unix.

It still do. Unix is way worse. That's why you have these real time
extensions to Linux. With those, you are getting acceptable soft
realtime in Linux as well, but at the cost of not having a Unix-like API
for those parts...

Johnny

Re: clock problems with OpenVMS x86 on VirtualBox

<f2a6d688-b41e-4f4b-96f2-f97c66d3cf41n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:4096:b0:759:513c:d117 with SMTP id f22-20020a05620a409600b00759513cd117mr711648qko.11.1684148347734;
Mon, 15 May 2023 03:59:07 -0700 (PDT)
X-Received: by 2002:a05:620a:bcb:b0:74e:2917:35fe with SMTP id
s11-20020a05620a0bcb00b0074e291735femr10801035qki.0.1684148347528; Mon, 15
May 2023 03:59:07 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!border-1.nntp.ord.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: Mon, 15 May 2023 03:59:07 -0700 (PDT)
In-Reply-To: <u3t06k$5jt$1@news.misty.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:602:9700:4689:9039:543c:d263:8230;
posting-account=gLDX1AkAAAA26M5HM-O3sVMAXdxK9FPA
NNTP-Posting-Host: 2601:602:9700:4689:9039:543c:d263:8230
References: <u360f3$2u60a$1@dont-email.me> <5751da2a-4b87-4f86-9d7b-815606a626ean@googlegroups.com>
<u3l2fq$g0q$1@news.misty.com> <2af50234-632d-4bf7-a569-dbab6b36f48an@googlegroups.com>
<u3t06k$5jt$1@news.misty.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f2a6d688-b41e-4f4b-96f2-f97c66d3cf41n@googlegroups.com>
Subject: Re: clock problems with OpenVMS x86 on VirtualBox
From: gah...@u.washington.edu (gah4)
Injection-Date: Mon, 15 May 2023 10:59:07 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 22
 by: gah4 - Mon, 15 May 2023 10:59 UTC

On Monday, May 15, 2023 at 3:06:16 AM UTC-7, Johnny Billquist wrote:

(snip, I wrote)

> > IBM S/360 uses the same system for both, as you describe.

> So does VMS, all Unixes that I've ever encountered, all PDP-11 OSes I've
> ever encountered, all RTOSes I've ever encountered, and everything else
> I've ever encountered...
The S/360 interval timer is a 32 bit word in memory that decrement such that
bit 23 (counting from the left) seems to decrement at 300Hz. That allows for
an actual 50Hz or 60Hz timer, subtracting 6 or 5. An interrupt is generated
when it goes below zero.

One way to look at it is a microcode interrupt. It only decrements between
instructions. It does not need to generate a real interrupt at that rate.

Re: clock problems with OpenVMS x86 on VirtualBox

<8b6c6dbd-5dc4-41aa-982e-7c25c5ebb29an@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:1823:b0:3ef:47d1:70f6 with SMTP id t35-20020a05622a182300b003ef47d170f6mr10654658qtc.0.1684150496833;
Mon, 15 May 2023 04:34:56 -0700 (PDT)
X-Received: by 2002:a05:620a:3715:b0:74e:324:d6f0 with SMTP id
de21-20020a05620a371500b0074e0324d6f0mr8716013qkb.7.1684150496671; Mon, 15
May 2023 04:34:56 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!border-1.nntp.ord.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: Mon, 15 May 2023 04:34:56 -0700 (PDT)
In-Reply-To: <u3t06k$5jt$1@news.misty.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:602:9700:4689:9039:543c:d263:8230;
posting-account=gLDX1AkAAAA26M5HM-O3sVMAXdxK9FPA
NNTP-Posting-Host: 2601:602:9700:4689:9039:543c:d263:8230
References: <u360f3$2u60a$1@dont-email.me> <5751da2a-4b87-4f86-9d7b-815606a626ean@googlegroups.com>
<u3l2fq$g0q$1@news.misty.com> <2af50234-632d-4bf7-a569-dbab6b36f48an@googlegroups.com>
<u3t06k$5jt$1@news.misty.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8b6c6dbd-5dc4-41aa-982e-7c25c5ebb29an@googlegroups.com>
Subject: Re: clock problems with OpenVMS x86 on VirtualBox
From: gah...@u.washington.edu (gah4)
Injection-Date: Mon, 15 May 2023 11:34:56 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 42
 by: gah4 - Mon, 15 May 2023 11:34 UTC

On Monday, May 15, 2023 at 3:06:16 AM UTC-7, Johnny Billquist wrote:

(snip, I wrote)

> > But S/370 adds a TOD clock, which keeps track of time, and a separate
> > system for non TOD related timing. One complication with the TOD clock
> > in Y2K days, is that access is not privileged, such that it can't be emulated
> > by VM. So, VM/370 and successor guests read the hardware TOD clock.
> > But other timing uses a different timer which is emulated.

> Most systems do have a TOD clock as well, in hardware. But it is not
> used for actually reporting current wall clock time, but is read out at
> boot time and the OS time is set from it, and occasionally it is also
> written to, to correct small drifts that happen over time.
The S/370 TOD clock is 64 bits, and increments such that bit 51
(counting from the MSB as bit 0) increments at 1MHz.
Actual implementations might have more or less resolution.

It is accessed with the STCK instruction, which stores its value
in memory. It is defined such that you never see the same value
in successive execution. That is easy on slow CPUs, otherwise
they increment low bits. As well as I know it, processors in the
1970's really did increment it at 1MHz. You would not want to do
that with interrupts.

Then there is the CPU timer, again 64 bits, which decrements such that
but 51 decrements at 1MHz. Again, actual implementations might
have or or less resolution. It generates an interrupt when it is negative.

So, no high speed interrupt is needed, but you still get high resolution.
There are reasons why it might not always be decremented, such that
it isn't good for time-of-day use.

In the case of virtual machines, each one will have its own CPU timer,
but only one TOD clock. STCK is not a privileged instruction, so programs
(or OS) see the host clock.


computers / comp.os.vms / Re: clock problems with OpenVMS x86 on VirtualBox

Pages:123456
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor