Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Your mode of life will be changed to ASCII.


computers / comp.os.vms / VUPS.COM relevance for modern CPUs

SubjectAuthor
* VUPS.COM relevance for modern CPUsMark Daniel
+- Re: VUPS.COM relevance for modern CPUsVolker Halle
+* Re: VUPS.COM relevance for modern CPUsSimon Clubley
|`- Re: VUPS.COM relevance for modern CPUsDave Froble
+* Re: VUPS.COM relevance for modern CPUschris
|`* Re: VUPS.COM relevance for modern CPUsArne Vajhøj
| `- Re: VUPS.COM relevance for modern CPUschris
+- Re: VUPS.COM relevance for modern CPUsArne Vajhøj
+- Re: VUPS.COM relevance for modern CPUsStephen Hoffman
+* Re: VUPS.COM relevance for modern CPUsMark Daniel
|`* Re: VUPS.COM relevance for modern CPUsMark Daniel
| +* Re: VUPS.COM relevance for modern CPUsSimon Clubley
| |+* Re: VUPS.COM relevance for modern CPUsJan-Erik Söderholm
| ||`- Re: VUPS.COM relevance for modern CPUsSimon Clubley
| |`* Re: VUPS.COM relevance for modern CPUsabrsvc
| | `* Re: VUPS.COM relevance for modern CPUsSimon Clubley
| |  +* Re: VUPS.COM relevance for modern CPUsabrsvc
| |  |`- Re: VUPS.COM relevance for modern CPUsSimon Clubley
| |  +* Re: VUPS.COM relevance for modern CPUsMark Daniel
| |  |+* Re: VUPS.COM relevance for modern CPUsVolker Halle
| |  ||`- Re: VUPS.COM relevance for modern CPUsMark Daniel
| |  |`* Re: VUPS.COM relevance for modern CPUsSimon Clubley
| |  | `- Re: VUPS.COM relevance for modern CPUsabrsvc
| |  `- Re: VUPS.COM relevance for modern CPUsJohnny Billquist
| +- Re: VUPS.COM relevance for modern CPUsCraig A. Berry
| +* Re: VUPS.COM relevance for modern CPUsArne Vajhøj
| |`- Re: VUPS.COM relevance for modern CPUsBob
| `* Re: VUPS.COM relevance for modern CPUsAndreas Gruhl
|  `* Re: VUPS.COM relevance for modern CPUschris
|   `* Re: VUPS.COM relevance for modern CPUsabrsvc
|    `* Re: VUPS.COM relevance for modern CPUschris
|     `* Re: VUPS.COM relevance for modern CPUsabrsvc
|      +- Re: VUPS.COM relevance for modern CPUschris
|      `* Re: VUPS.COM relevance for modern CPUsArne Vajhøj
|       `* Re: VUPS.COM relevance for modern CPUsabrsvc
|        `- Re: VUPS.COM relevance for modern CPUsArne Vajhøj
+* Re: VUPS.COM relevance for modern CPUsBob Gezelter
|`- Re: VUPS.COM relevance for modern CPUsDavid Jones
`* Re: VUPS.COM relevance for modern CPUspos
 `* Re: VUPS.COM relevance for modern CPUsStephen Hoffman
  `- Re: VUPS.COM relevance for modern CPUsRobert A. Brooks

Pages:12
VUPS.COM relevance for modern CPUs

<M2ZmL.1823799$JNZ4.1069143@fx12.ams4>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx12.ams4.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.5.1
Newsgroups: comp.os.vms
Content-Language: en-US
From: mark.dan...@wasd.vsm.com.au (Mark Daniel)
Subject: VUPS.COM relevance for modern CPUs
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 83
Message-ID: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4>
X-Complaints-To: abuse@eweka.nl
NNTP-Posting-Date: Fri, 16 Dec 2022 11:57:32 UTC
Organization: Eweka Internet Services
Date: Fri, 16 Dec 2022 22:27:30 +1030
X-Received-Bytes: 4532
 by: Mark Daniel - Fri, 16 Dec 2022 11:57 UTC

Now, before everyone piles on, I understand the procedure provides an
indicative/comparative/finger-in-the-air measurement of the relative
performance of a VMS CPU relative to "the original VAX processor".

It states as much in the prologue:

|$! Provides an estimate of system CPU performance on OpenVMS systems.
|$! Use at your own risk.

To clarify the platform of a particular run I added:

|$ write sys$output f$fao("!AS with !UL CPU and !ULMB running VMS !AS",-
|f$edit(f$getsyi("hw_name"),"compress,trim"),-
|f$getsyi("availcpu_cnt"),-
|(f$getsyi("memsize")*(f$getsyi("page_size")/512)/2048),-
|f$edit(f$getsyi("version"),"collapse"))

which provides the likes of:

|HP rx2660 (1.40GHz/6.0MB) with 4 CPU and 14335MB running VMS V8.4-2L1
|Digital Personal WorkStation with 1 CPU and 1536MB running VMS V8.4-2L1
|innotek GmbH VirtualBox with 2 CPU and 7574MB running VMS V9.2

It seems to be implemented as a tight DCL loop that executes almost
entirely in inner modes (I'm sure Brian can explain why).

$ start_cputime = f$getjpi(0,"CPUTIM")
$ loop_index = 0
$ 10$:
$ loop_index = loop_index + 1
$ if loop_index .ne. init_loop_maximum then goto 10$
$ end_cputime = f$getjpi(0,"CPUTIM")

|Combined for 2 CPUs 0 50 100 150 200
| Interrupt State | |
| MP Synchronization | |
| Kernel Mode 21 |▒▒▒▒ |
| Executive Mode 21 |▒▒▒▒ |
| Supervisor Mode 58 |▒▒▒▒▒▒▒▒▒▒▒ |
| User Mode | |
| Compatibility Mode | |
| Idle Time 99 |▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ |

100% (or all-but) of this execution appears to be in inner modes.
Although X86 (above) seems to to have much more Kernel than other
architectures, e.g. IA64 below). There is no USER mode displayed in either.

|Combined for 4 CPUs 0 100 200 300 400
| Interrupt State 1 | |
| MP Synchronization | |
| Kernel Mode 5 | |
| Executive Mode 18 |▒ |
| Supervisor Mode 78 |▒▒▒▒▒▒▒ |
| User Mode | |
| Not Available | |
| Idle Time 299 |▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ |

There appear to be (at least) two versions of these procedures. The
later contains:

|$! Modified: MAY-2010: Code updated by Volker Halle to address the
|$! following issues:

and tweaks a few of the calculations.

There also appear to be earlier tweaks allowing for Alpha processors

|$ cpu_multiplier = 10 ! VAX = 10 - Alpha/AXP = 40
|$ cpu_round_add = 1 ! VAX = 1 - Alpha/AXP = 9

but none for Itanium.

Are the Alpha tweaks sufficient to allow relevance for all 64bit CPUs?

Are further tweaks required to make measurements on Itania relevant?

And of course the same question for the successor to all three
architectures?

--
Anyone, who using social-media, forms an opinion regarding anything
other than the relative cuteness of this or that puppy-dog, needs
seriously to examine their critical thinking.

Re: VUPS.COM relevance for modern CPUs

<80b3d1ca-1aba-4fae-a6ae-16cd56f9545cn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a37:bc06:0:b0:6fa:6424:5d87 with SMTP id m6-20020a37bc06000000b006fa64245d87mr78209708qkf.651.1671197085029;
Fri, 16 Dec 2022 05:24:45 -0800 (PST)
X-Received: by 2002:a05:6214:102b:b0:4ea:db79:83b7 with SMTP id
k11-20020a056214102b00b004eadb7983b7mr665538qvr.88.1671197084795; Fri, 16 Dec
2022 05:24:44 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!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, 16 Dec 2022 05:24:44 -0800 (PST)
In-Reply-To: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4>
Injection-Info: google-groups.googlegroups.com; posting-host=2003:c0:8f20:b4a:bcc9:6897:a469:1525;
posting-account=cHmS7AoAAACMYAFH9kP9m4l8qjrXLvte
NNTP-Posting-Host: 2003:c0:8f20:b4a:bcc9:6897:a469:1525
References: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <80b3d1ca-1aba-4fae-a6ae-16cd56f9545cn@googlegroups.com>
Subject: Re: VUPS.COM relevance for modern CPUs
From: volker_h...@hotmail.com (Volker Halle)
Injection-Date: Fri, 16 Dec 2022 13:24:45 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 26
 by: Volker Halle - Fri, 16 Dec 2022 13:24 UTC

Mark,

I've been using this procedure in the past (and fixed some problems with faster Alpha CPUs), to obtain CPU speed estimates during migration projects to the Stromasys CHARON emulators. In the beginning, those emulators did not perform - CPU-wise - well enough for emulating the faster Alphas (1 GHz or above). Never was a problem for VAX.

To get an estimate of the CPU speed of the customer's system, which should be migrated, getting a plain DCL procedure being executed was the easiest way to get an idea of the CPU performance. Yes, I know, system performance is more than CPU performance, but CPU speed of the early emulators was an expected bottleneck.

Itanium was never a target for running this procedure, as there was/is no Itanium emulator.

The procedure tries to execute a close DCL loop to prevent IOs as much as possible, they would disturbe the CPU speed estimate. This is why you just see Supervisor mode (or higher) and no user mode, as that would require an executable image.

There are certainly better and more exact CPU performance measurement tools, but a DCL procedure was the easiest thing to transfer to the customer's system and be run to provide a CPU speed estimate.

Volker.

Re: VUPS.COM relevance for modern CPUs

<tnhrvp$3clp0$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VUPS.COM relevance for modern CPUs
Date: Fri, 16 Dec 2022 13:31:37 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 77
Message-ID: <tnhrvp$3clp0$1@dont-email.me>
References: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4>
Injection-Date: Fri, 16 Dec 2022 13:31:37 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="34c3830711485a787b59fc1bb4dea9b4";
logging-data="3561248"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19SCOAX8s/fQlNhwja319tKQCaCIXjTbQc="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:YOak/8SkmNuK2Iyqkz1hNmasLA0=
 by: Simon Clubley - Fri, 16 Dec 2022 13:31 UTC

On 2022-12-16, Mark Daniel <mark.daniel@wasd.vsm.com.au> wrote:
>
> It seems to be implemented as a tight DCL loop that executes almost
> entirely in inner modes (I'm sure Brian can explain why).
>

Unless CPU instructions execute at a different rate in inner modes,
that by itself should make no difference. However, there is one area
in which that could maybe matter for x86-64. See below.

> $ start_cputime = f$getjpi(0,"CPUTIM")
> $ loop_index = 0
> $ 10$:
> $ loop_index = loop_index + 1
> $ if loop_index .ne. init_loop_maximum then goto 10$
> $ end_cputime = f$getjpi(0,"CPUTIM")
>
>|Combined for 2 CPUs 0 50 100 150 200
>| Interrupt State | |
>| MP Synchronization | |
>| Kernel Mode 21 |???? |
>| Executive Mode 21 |???? |
>| Supervisor Mode 58 |??????????? |
>| User Mode | |
>| Compatibility Mode | |
>| Idle Time 99 |??????????????????? |
>
> 100% (or all-but) of this execution appears to be in inner modes.
> Although X86 (above) seems to to have much more Kernel than other
> architectures, e.g. IA64 below). There is no USER mode displayed in either.
>

And that's the difference (and what you are seeing is what I would expect).

Don't forget that Executive and Supervisor modes on x86-64 VMS are purely
an illusion and don't forget that effort is expended in Kernel mode to
switch to and from the emulation of those modes.

>
> Are the Alpha tweaks sufficient to allow relevance for all 64bit CPUs?
>
> Are further tweaks required to make measurements on Itania relevant?
>
> And of course the same question for the successor to all three
> architectures?
>

I think you are now seeing the limits of trying to do this in DCL.

Given all the Executive and Supervisor mode overheads in x86-64 VMS,
I think the only sensible solution is to implement this as a user-mode
compiled program so that you really are testing the relative CPU performance.

You are certainly going to see issues when trying to compare Intel with
AMD processors for example (due to the lack of PCID on AMD processors).

I was going to compare VUPS.COM to the BogoMIPS measurement used on Linux,
but there are issues addressed during the calculation of BogoMIPS that
cannot be addressed when trying to do this at DCL level. The following is
a pretty good summary of how BogoMIPS works:

https://en.wikipedia.org/wiki/BogoMips

BTW, there is one very interesting thing mentioned in the above article
that I had not considered until now when it comes to VMS on x86-64:

Does x86-64 VMS implement dynamic frequency scaling or does it run the
CPUs flat out at 100% of maximum speed all the time ?

As a final note, VUPS.COM only tests relative CPU performance. Should there
now be additional testing programs to test I/O subsystem performance ?

Simon.

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

Re: VUPS.COM relevance for modern CPUs

<tnhua8$4up$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!jazQyxryRFiI4FEZ51SAvA.user.46.165.242.75.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.os.vms
Subject: Re: VUPS.COM relevance for modern CPUs
Date: Fri, 16 Dec 2022 14:11:20 +0000
Organization: Aioe.org NNTP Server
Message-ID: <tnhua8$4up$1@gioia.aioe.org>
References: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="5081"; posting-host="jazQyxryRFiI4FEZ51SAvA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101
Thunderbird/102.3.0
Content-Language: en-GB
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Fri, 16 Dec 2022 14:11 UTC

On 12/16/22 11:57, Mark Daniel wrote:
> Now, before everyone piles on, I understand the procedure provides an
> indicative/comparative/finger-in-the-air measurement of the relative
> performance of a VMS CPU relative to "the original VAX processor".

The spec.org site used to be the best place for that sort of thing
and where iirc, the original work to define 1 vup was done. Still
running and might be worth looking at. Truth is though, gains have
been incrementally minimal for single core, with multicore
taking up the banner since.

Here, in the days when I used the Tex package, a good rough guide
was the number of source pages compiled per minute. Microvax II,
about 4 ppm, First Sun workstation, about 20 ppm...

Chris

>
> It states as much in the prologue:
>
> |$! Provides an estimate of system CPU performance on OpenVMS systems.
> |$! Use at your own risk.
>
> To clarify the platform of a particular run I added:
>
> |$ write sys$output f$fao("!AS with !UL CPU and !ULMB running VMS !AS",-
> |f$edit(f$getsyi("hw_name"),"compress,trim"),-
> |f$getsyi("availcpu_cnt"),-
> |(f$getsyi("memsize")*(f$getsyi("page_size")/512)/2048),-
> |f$edit(f$getsyi("version"),"collapse"))
>
> which provides the likes of:
>
> |HP rx2660 (1.40GHz/6.0MB) with 4 CPU and 14335MB running VMS V8.4-2L1
> |Digital Personal WorkStation with 1 CPU and 1536MB running VMS V8.4-2L1
> |innotek GmbH VirtualBox with 2 CPU and 7574MB running VMS V9.2
>
> It seems to be implemented as a tight DCL loop that executes almost
> entirely in inner modes (I'm sure Brian can explain why).
>
> $ start_cputime = f$getjpi(0,"CPUTIM")
> $ loop_index = 0
> $ 10$:
> $ loop_index = loop_index + 1
> $ if loop_index .ne. init_loop_maximum then goto 10$
> $ end_cputime = f$getjpi(0,"CPUTIM")
>
> |Combined for  2 CPUs         0         50        100       150      200
> | Interrupt State             |                                       |
> | MP Synchronization          |                                       |
> | Kernel Mode              21 |▒▒▒▒                                   |
> | Executive Mode           21 |▒▒▒▒                                   |
> | Supervisor Mode          58 |▒▒▒▒▒▒▒▒▒▒▒                            |
> | User Mode                   |                                       |
> | Compatibility Mode          |                                       |
> | Idle Time                99 |▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                    |
>
> 100% (or all-but) of this execution appears to be in inner modes.
> Although X86 (above) seems to to have much more Kernel than other
> architectures, e.g. IA64 below).  There is no USER mode displayed in
> either.
>
> |Combined for  4 CPUs         0         100       200       300      400
> | Interrupt State           1 |                                       |
> | MP Synchronization          |                                       |
> | Kernel Mode               5 |                                       |
> | Executive Mode           18 |▒                                      |
> | Supervisor Mode          78 |▒▒▒▒▒▒▒                                |
> | User Mode                   |                                       |
> | Not Available               |                                       |
> | Idle Time               299 |▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒          |
>
> There appear to be (at least) two versions of these procedures.  The
> later contains:
>
> |$! Modified: MAY-2010: Code updated by Volker Halle to address the
> |$! following issues:
>
> and tweaks a few of the calculations.
>
> There also appear to be earlier tweaks allowing for Alpha processors
>
> |$ cpu_multiplier = 10 ! VAX = 10 - Alpha/AXP = 40
> |$ cpu_round_add = 1 ! VAX = 1 - Alpha/AXP = 9
>
> but none for Itanium.
>
> Are the Alpha tweaks sufficient to allow relevance for all 64bit CPUs?
>
> Are further tweaks required to make measurements on Itania relevant?
>
> And of course the same question for the successor to all three
> architectures?
>

Re: VUPS.COM relevance for modern CPUs

<tni08d$1206$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VUPS.COM relevance for modern CPUs
Date: Fri, 16 Dec 2022 09:44:26 -0500
Organization: Aioe.org NNTP Server
Message-ID: <tni08d$1206$1@gioia.aioe.org>
References: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="34822"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Arne Vajhøj - Fri, 16 Dec 2022 14:44 UTC

On 12/16/2022 6:57 AM, Mark Daniel wrote:
> Now, before everyone piles on, I understand the procedure provides an
> indicative/comparative/finger-in-the-air measurement of the relative
> performance of a VMS CPU relative to "the original VAX processor".

Yes.

I think the order of preference would be:
1) measuring the actual application in question
2) measuring a board suite of programs (SPEC style)
3) measuring using a simple thing like this

But even the latter can do if it is only the magnitude that is
relevant.

> It seems to be implemented as a tight DCL loop that executes almost
> entirely in inner modes (I'm sure Brian can explain why).
>
> $ start_cputime = f$getjpi(0,"CPUTIM")
> $ loop_index = 0
> $ 10$:
> $ loop_index = loop_index + 1
> $ if loop_index .ne. init_loop_maximum then goto 10$
> $ end_cputime = f$getjpi(0,"CPUTIM")
>
> |Combined for  2 CPUs         0         50        100       150      200
> | Interrupt State             |                                       |
> | MP Synchronization          |                                       |
> | Kernel Mode              21 |▒▒▒▒                                   |
> | Executive Mode           21 |▒▒▒▒                                   |
> | Supervisor Mode          58 |▒▒▒▒▒▒▒▒▒▒▒                            |
> | User Mode                   |                                       |
> | Compatibility Mode          |                                       |
> | Idle Time                99 |▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                    |
>
> 100% (or all-but) of this execution appears to be in inner modes.
> Although X86 (above) seems to to have much more Kernel than other
> architectures, e.g. IA64 below).  There is no USER mode displayed in
> either.
>
> |Combined for  4 CPUs         0         100       200       300      400
> | Interrupt State           1 |                                       |
> | MP Synchronization          |                                       |
> | Kernel Mode               5 |                                       |
> | Executive Mode           18 |▒                                      |
> | Supervisor Mode          78 |▒▒▒▒▒▒▒                                |
> | User Mode                   |                                       |
> | Not Available               |                                       |
> | Idle Time               299 |▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒          |

Given that DCL runs in supervisor mode not user mode then supervisor
mode percentage being high and user mode being zero does not surprise
me.

I don't know why kernel and executive mode is higher on x86-64 than on
Itanium. But one possible explanation could be that kernel and executive
mode time is partly fixed while supervisor mode time (time spent
interpreting the execution of the loop) is strictly related to CPU
speed - which means higher K+E percentage and lower S percentage
on faster CPU's.

But a bit outside my area of expertise.

> There also appear to be earlier tweaks allowing for Alpha processors
>
> |$ cpu_multiplier = 10 ! VAX = 10 - Alpha/AXP = 40
> |$ cpu_round_add = 1 ! VAX = 1 - Alpha/AXP = 9
>
> but none for Itanium.
>
> Are the Alpha tweaks sufficient to allow relevance for all 64bit CPUs?
>
> Are further tweaks required to make measurements on Itania relevant?
>
> And of course the same question for the successor to all three
> architectures?

One would need to look at how those constants are used.

But if we assume that they make the test do more iterations
to provide a better test on faster systems (that is quite
common in speed tests), then I would expect Itanium
constants to be higher than Alpha constants and x86-64
constants to be higher than Itanium constants.

If they relate to something 32 bit vs 64 bit then the
previous would be totally wrong, but DCL is 32 bit math
AFAIK.

Arne

Re: VUPS.COM relevance for modern CPUs

<tni0hl$1702$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VUPS.COM relevance for modern CPUs
Date: Fri, 16 Dec 2022 09:49:22 -0500
Organization: Aioe.org NNTP Server
Message-ID: <tni0hl$1702$1@gioia.aioe.org>
References: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4>
<tnhua8$4up$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="39938"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Arne Vajhøj - Fri, 16 Dec 2022 14:49 UTC

On 12/16/2022 9:11 AM, chris wrote:
> On 12/16/22 11:57, Mark Daniel wrote:
>> Now, before everyone piles on, I understand the procedure provides an
>> indicative/comparative/finger-in-the-air measurement of the relative
>> performance of a VMS CPU relative to "the original VAX processor".
>
> The spec.org site used to be the best place for that sort of thing
> and where iirc, the original work to define 1 vup was done. Still
> running and might be worth looking at. Truth is though, gains have
> been incrementally minimal for single core, with multicore
> taking up the banner since.
>
> Here, in the days when I used the Tex package, a good rough guide
> was the number of source pages compiled per minute. Microvax II,
> about 4 ppm, First Sun workstation, about 20 ppm...

SPEC is diffferent from VUPS.

But VUPS, SPEC 89 and SPEC 92 are all VAX 780 based.

SPEC 95 is SparcStation 10 and SPEC 2000 is Sparc Ultra 10 based.

(all according to old notes I made like 20 years ago)

Arne

Re: VUPS.COM relevance for modern CPUs

<tni1jp$1med$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!jazQyxryRFiI4FEZ51SAvA.user.46.165.242.75.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.os.vms
Subject: Re: VUPS.COM relevance for modern CPUs
Date: Fri, 16 Dec 2022 15:07:37 +0000
Organization: Aioe.org NNTP Server
Message-ID: <tni1jp$1med$1@gioia.aioe.org>
References: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4>
<tnhua8$4up$1@gioia.aioe.org> <tni0hl$1702$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="55757"; posting-host="jazQyxryRFiI4FEZ51SAvA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101
Thunderbird/102.3.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-GB
 by: chris - Fri, 16 Dec 2022 15:07 UTC

On 12/16/22 14:49, Arne Vajhøj wrote:
> On 12/16/2022 9:11 AM, chris wrote:
>> On 12/16/22 11:57, Mark Daniel wrote:
>>> Now, before everyone piles on, I understand the procedure provides an
>>> indicative/comparative/finger-in-the-air measurement of the relative
>>> performance of a VMS CPU relative to "the original VAX processor".
>>
>> The spec.org site used to be the best place for that sort of thing
>> and where iirc, the original work to define 1 vup was done. Still
>> running and might be worth looking at. Truth is though, gains have
>> been incrementally minimal for single core, with multicore
>> taking up the banner since.
>>
>> Here, in the days when I used the Tex package, a good rough guide
>> was the number of source pages compiled per minute. Microvax II,
>> about 4 ppm, First Sun workstation, about 20 ppm...
>
> SPEC is diffferent from VUPS.
>
> But VUPS, SPEC 89 and SPEC 92 are all VAX 780 based.
>
> SPEC 95 is SparcStation 10 and SPEC 2000 is Sparc Ultra 10 based.
>
> (all according to old notes I made like 20 years ago)
>
> Arne
>
>

I should try looking again. Pretty much bang up to date afaics...

Chris

Re: VUPS.COM relevance for modern CPUs

<tniebk$3e62f$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: VUPS.COM relevance for modern CPUs
Date: Fri, 16 Dec 2022 13:44:27 -0500
Organization: A noiseless patient Spider
Lines: 88
Message-ID: <tniebk$3e62f$1@dont-email.me>
References: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4>
<tnhrvp$3clp0$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 16 Dec 2022 18:45:08 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="4a746c37a8be1ea47a6f55e97f779ce7";
logging-data="3610703"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX186V8xDwvdGNIoVL9rfXfDbIUfiPDqtTFQ="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:m0sL1FxahBYGfQ6GCug/ugRn7vc=
In-Reply-To: <tnhrvp$3clp0$1@dont-email.me>
 by: Dave Froble - Fri, 16 Dec 2022 18:44 UTC

On 12/16/2022 8:31 AM, Simon Clubley wrote:
> On 2022-12-16, Mark Daniel <mark.daniel@wasd.vsm.com.au> wrote:
>>
>> It seems to be implemented as a tight DCL loop that executes almost
>> entirely in inner modes (I'm sure Brian can explain why).
>>
>
> Unless CPU instructions execute at a different rate in inner modes,
> that by itself should make no difference. However, there is one area
> in which that could maybe matter for x86-64. See below.
>
>> $ start_cputime = f$getjpi(0,"CPUTIM")
>> $ loop_index = 0
>> $ 10$:
>> $ loop_index = loop_index + 1
>> $ if loop_index .ne. init_loop_maximum then goto 10$
>> $ end_cputime = f$getjpi(0,"CPUTIM")
>>
>> |Combined for 2 CPUs 0 50 100 150 200
>> | Interrupt State | |
>> | MP Synchronization | |
>> | Kernel Mode 21 |???? |
>> | Executive Mode 21 |???? |
>> | Supervisor Mode 58 |??????????? |
>> | User Mode | |
>> | Compatibility Mode | |
>> | Idle Time 99 |??????????????????? |
>>
>> 100% (or all-but) of this execution appears to be in inner modes.
>> Although X86 (above) seems to to have much more Kernel than other
>> architectures, e.g. IA64 below). There is no USER mode displayed in either.
>>
>
> And that's the difference (and what you are seeing is what I would expect).
>
> Don't forget that Executive and Supervisor modes on x86-64 VMS are purely
> an illusion and don't forget that effort is expended in Kernel mode to
> switch to and from the emulation of those modes.
>
>>
>> Are the Alpha tweaks sufficient to allow relevance for all 64bit CPUs?
>>
>> Are further tweaks required to make measurements on Itania relevant?
>>
>> And of course the same question for the successor to all three
>> architectures?
>>
>
> I think you are now seeing the limits of trying to do this in DCL.
>
> Given all the Executive and Supervisor mode overheads in x86-64 VMS,
> I think the only sensible solution is to implement this as a user-mode
> compiled program so that you really are testing the relative CPU performance.
>
> You are certainly going to see issues when trying to compare Intel with
> AMD processors for example (due to the lack of PCID on AMD processors).
>
> I was going to compare VUPS.COM to the BogoMIPS measurement used on Linux,
> but there are issues addressed during the calculation of BogoMIPS that
> cannot be addressed when trying to do this at DCL level. The following is
> a pretty good summary of how BogoMIPS works:
>
> https://en.wikipedia.org/wiki/BogoMips
>
> BTW, there is one very interesting thing mentioned in the above article
> that I had not considered until now when it comes to VMS on x86-64:
>
> Does x86-64 VMS implement dynamic frequency scaling or does it run the
> CPUs flat out at 100% of maximum speed all the time ?
>
> As a final note, VUPS.COM only tests relative CPU performance. Should there
> now be additional testing programs to test I/O subsystem performance ?
>
> Simon.
>

Of course there can be more specific, and accurate, means of such measurements.
But as Volker mentioned, what was desired was a rough wild ass gestimate of what
one might expect. For example, if the same code run on system "B" was twice as
fast as on system "A", then one might reasonable expect that system "B" would do
more work than system "A". Many times that is adequate.

--
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: VUPS.COM relevance for modern CPUs

<tniji3$3eira$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: VUPS.COM relevance for modern CPUs
Date: Fri, 16 Dec 2022 15:13:55 -0500
Organization: HoffmanLabs LLC
Lines: 30
Message-ID: <tniji3$3eira$1@dont-email.me>
References: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader01.eternal-september.org; posting-host="08c06791f5ddb5a449cb985014bdde05";
logging-data="3623786"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18SYTRoHhk4GJpN+veHyUGYFSuiPHl51u0="
User-Agent: Unison/2.2
Cancel-Lock: sha1:G2e/QPtcfJrcx0ZVXjs14V0IDzc=
 by: Stephen Hoffman - Fri, 16 Dec 2022 20:13 UTC

On 2022-12-16 12:27:30 +0000, Mark Daniel said:

> Now, before everyone piles on, I understand the procedure provides an
> indicative/comparative/finger-in-the-air measurement of the relative
> performance of a VMS CPU relative to "the original VAX processor".

Around the introduction of Alpha, DEC punted on VUPS.

VUPS wasn't particularly representative across VAX. With Alpha, less so.

There was a while where SPEC was occasionally used, and IIRC
occasionally even some TPC benchmarks for database-related, but tended
to misrepresent system performance.

This was all part of the genesis of the DEC customer benchmarking and
test lab at DEC ZKO Nashua; test the actual customer apps on the actual
servers.

For those that do want pictures, some performance charts:
http://www.cs.columbia.edu/~martha/courses/3827/au14/advanced-topics.pdf
http://www.jcmit.net/cpu-performance.htm
http://www.roylongbottom.org.uk/whetstone.htm

And then there's this:
Raspberry Pi 2 at 1 GHz offers 4,744 Dhrystone MIPS, as compared with a
VAX-11/780 offering a single, solitary MIP.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: VUPS.COM relevance for modern CPUs

<do7nL.2240620$SIb3.84393@fx05.ams4>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx05.ams4.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.5.1
Subject: Re: VUPS.COM relevance for modern CPUs
Content-Language: en-US
Newsgroups: comp.os.vms
References: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4>
From: mark.dan...@wasd.vsm.com.au (Mark Daniel)
In-Reply-To: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 87
Message-ID: <do7nL.2240620$SIb3.84393@fx05.ams4>
X-Complaints-To: abuse@eweka.nl
NNTP-Posting-Date: Fri, 16 Dec 2022 23:43:05 UTC
Organization: Eweka Internet Services
Date: Sat, 17 Dec 2022 10:13:05 +1030
X-Received-Bytes: 3858
 by: Mark Daniel - Fri, 16 Dec 2022 23:43 UTC

On 16/12/2022 10:27 pm, Mark Daniel wrote:
> Now, before everyone piles on, I understand the procedure provides an
> indicative/comparative/finger-in-the-air measurement of the relative
> performance of a VMS CPU relative to "the original VAX processor".
8< snip 8<

Thanks to all those who contributed to this thread.

The followup that caught my eye was from Simon Clubley who provided an
entirely convincing explanation for the elevated X86 Kernel mode.

Also his pointer to BogoMips. Most interesting. I read the FAQ and
accessed the github code. Quite straighforward. Might be a good
replacement as a general performance metric.

https://github.com/vitalyvch/Bogo/blob/BogoMIPS_v1.3/bogomips.c

So taking the example general use implementation, modified it for
building on VMS (and added some bits I find useful).

The only bit I am less sure of is the suppression of optimisation. The
above example uses a GCC-ism

| for (i = loops; !!(i > 0); --i)
| asm volatile ("" ::: "memory");

which I replaced with

|#pragma optimize save
|#pragma optimize level=0
|/* portable version */
|static void delay(long loops)
|{
| long i;
| for (i = loops; !!(i > 0); --i);
|}
|#pragma optimize restore

Anyway, the results were interesting (to say the least):

|$ mcr []bogomips
|HP rx2660 (1.40GHz/6.0MB) 4 CPUs 14335MB V8.4-2L1
|Calibrating delay loop.. ok - 692.73 BogoMips
|$ @vups
|HP rx2660 (1.40GHz/6.0MB) with 4 CPU and 14335MB running VMS V8.4-2L1
|INFO: Preventing endless loop (10$) on fast CPUs
|Approximate System VUPs Rating : 486.3 ( min: 483.8 max: 488.8 )

**
|$ mcr []bogomips
|Digital Personal WorkStation 1 CPU 1536MB V8.4-2L1
|Calibrating delay loop.. ok - 497.10 BogoMips
|$ @vups
|Digital Personal WorkStation with 1 CPU and 1536MB running VMS V8.4-2L1
|Approximate System VUPs Rating : 150.9 ( min: 149.4 max: 151.8 )

|$ mcr []bogomips
|AlphaServer DS20 500 MHz 2 CPUs 1536MB V8.4-2L2
|Calibrating delay loop.. ok - 488.06 BogoMips
|$ @vups
|AlphaServer DS20 500 MHz with 2 CPU and 1536MB running VMS V8.4-2L2
|Approximate System VUPs Rating : 250.7 ( min: 249.8 max: 251.2 )

|$ mcr []bogomips
|innotek GmbH VirtualBox 2 CPUs 7574MB V9.2
|Calibrating delay loop.. ok - 185.12 BogoMips
|$ @dvups
|innotek GmbH VirtualBox with 2 CPU and 7574MB running VMS V9.2
|Approximate System VUPs Rating : 275.9 ( min: 269.2 max: 286.6 )

For anyone interested my VMS bogomips.c can be found at

https://wasd.vsm.com.au/wasd_tmp/bogomips.c

** Interestingly, the PWS BogoMips matches the same model reported in
the mini-Howto list of results:

> 21164A/500 PWS 494.88 Kenny Gryp <gryp@_dakin.be>
> 21164A/500 PWS 497.02 Robert Harley <robert.harley@_inria.fr>

https://www.clifton.nl/index.html?bogomips.html

--
Anyone, who using social-media, forms an opinion regarding anything
other than the relative cuteness of this or that puppy-dog, needs
seriously to examine their critical thinking.

Re: VUPS.COM relevance for modern CPUs

<VeSnL.2204067$MJk2.2163427@fx06.ams4>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx06.ams4.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.6.0
Subject: Re: VUPS.COM relevance for modern CPUs
Content-Language: en-US
Newsgroups: comp.os.vms
References: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4>
<do7nL.2240620$SIb3.84393@fx05.ams4>
From: mark.dan...@wasd.vsm.com.au (Mark Daniel)
In-Reply-To: <do7nL.2240620$SIb3.84393@fx05.ams4>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 47
Message-ID: <VeSnL.2204067$MJk2.2163427@fx06.ams4>
X-Complaints-To: abuse@eweka.nl
NNTP-Posting-Date: Mon, 19 Dec 2022 05:01:41 UTC
Organization: Eweka Internet Services
Date: Mon, 19 Dec 2022 15:31:41 +1030
X-Received-Bytes: 2974
 by: Mark Daniel - Mon, 19 Dec 2022 05:01 UTC

On 17/12/2022 10:13 am, Mark Daniel wrote:
> On 16/12/2022 10:27 pm, Mark Daniel wrote:
>> Now, before everyone piles on, I understand the procedure provides an
>> indicative/comparative/finger-in-the-air measurement of the relative
>> performance of a VMS CPU relative to "the original VAX processor".
> 8< snip 8<
>
> Thanks to all those who contributed to this thread.
>
> The followup that caught my eye was from Simon Clubley who provided an
> entirely convincing explanation for the elevated X86 Kernel mode.
>
> Also his pointer to BogoMips.  Most interesting.  I read the FAQ and
> accessed the github code.  Quite straighforward.  Might be a good
> replacement as a general performance metric.
>
> https://github.com/vitalyvch/Bogo/blob/BogoMIPS_v1.3/bogomips.c
8< snip 8<

For general VMS comparative usage something more VMS-measuring is
needed. I looked about the 'net and nothing sprang out. I wonder what
VSI are using for metrics on X86 development? Anything lurking in the
DECUS/Freeware repositories I missed?

Anyway, in the absence of anything else, I was thinking about what may
consume "non-productive" VMS cycles (i.e. non-USER mode crunching :-)
and all I could think of were the transitions between USER, EXEC and
KERNEL modes. As required by RMS, $QIO, drivers, etc., etc. No SUPER
modes measured here.

With this in mind I knocked-up a small program to repeatedly call a
function using $CMEXEC which calls a function using $CMKRNL and that is
that. It measures how much effort is required compared to the simple
USER mode loop and reports it as b[ogo]VUPs.

https://wasd.vsm.com.au/wasd_tmp/bogovups.c

The real disappointment is my X86 VM. The rest of the results seem in
line with expectations.

PS. Looking for ideas, suggestions, criticism(s), etc. here...

--
Anyone, who using social-media, forms an opinion regarding anything
other than the relative cuteness of this or that puppy-dog, needs
seriously to examine their critical thinking.

Re: VUPS.COM relevance for modern CPUs

<tnpok9$a4lm$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VUPS.COM relevance for modern CPUs
Date: Mon, 19 Dec 2022 13:23:21 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <tnpok9$a4lm$2@dont-email.me>
References: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4> <do7nL.2240620$SIb3.84393@fx05.ams4> <VeSnL.2204067$MJk2.2163427@fx06.ams4>
Injection-Date: Mon, 19 Dec 2022 13:23:21 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="a31d26eff388297fc648ac916ac0a7d8";
logging-data="332470"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18n7wbVYBdv59s80dcd2mokUv6MRIfFXHY="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:jGEeYvJADgnbDe5TjEsb2sivHFs=
 by: Simon Clubley - Mon, 19 Dec 2022 13:23 UTC

On 2022-12-19, Mark Daniel <mark.daniel@wasd.vsm.com.au> wrote:
>
> With this in mind I knocked-up a small program to repeatedly call a
> function using $CMEXEC which calls a function using $CMKRNL and that is
> that. It measures how much effort is required compared to the simple
> USER mode loop and reports it as b[ogo]VUPs.
>
> https://wasd.vsm.com.au/wasd_tmp/bogovups.c
>
> The real disappointment is my X86 VM. The rest of the results seem in
> line with expectations.
>

What numbers did you see ?

> PS. Looking for ideas, suggestions, criticism(s), etc. here...
>

The tests still "feel" rather artificial.

My suggested alternative would be to write actual files away to disk
using RMS sequential files and also indexed files. Maybe read them
back as well.

Repeat the sequential files test using direct QIO access and see what
performance difference that gives when you bypass the transition to
executive mode.

(Yes, I know, RMS will add its own fixed overheads, but you will still
be able to see a percentage difference across the various machines you
are testing on and whether x86-64 VMS imposes a much higher performance
overhead.)

One obvious problem is that you will have to address issues round
caching in your tests.

Simon.

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

Re: VUPS.COM relevance for modern CPUs

<tnpt9r$8tnt$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: jan-erik...@telia.com (Jan-Erik Söderholm)
Newsgroups: comp.os.vms
Subject: Re: VUPS.COM relevance for modern CPUs
Date: Mon, 19 Dec 2022 15:43:08 +0100
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <tnpt9r$8tnt$1@dont-email.me>
References: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4>
<do7nL.2240620$SIb3.84393@fx05.ams4> <VeSnL.2204067$MJk2.2163427@fx06.ams4>
<tnpok9$a4lm$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 19 Dec 2022 14:43:07 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="60bad93f4abb0d90371835786ab0e8cc";
logging-data="292605"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19sF9NdxrtpGPeNVPGVGHjr"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.5.0
Cancel-Lock: sha1:yey31SdjxMHmXpO3nr8Hmj7fNQE=
In-Reply-To: <tnpok9$a4lm$2@dont-email.me>
Content-Language: sv
 by: Jan-Erik Söderholm - Mon, 19 Dec 2022 14:43 UTC

Den 2022-12-19 kl. 14:23, skrev Simon Clubley:
> On 2022-12-19, Mark Daniel <mark.daniel@wasd.vsm.com.au> wrote:
>>
>> https://wasd.vsm.com.au/wasd_tmp/bogovups.c
>>
>
> What numbers did you see ?

They are in the C file on the link above.

Re: VUPS.COM relevance for modern CPUs

<0d96f0ec-acff-49b3-a603-e1a567f092een@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:5233:b0:6fe:fb09:ec2e with SMTP id dc51-20020a05620a523300b006fefb09ec2emr4042979qkb.214.1671461954310;
Mon, 19 Dec 2022 06:59:14 -0800 (PST)
X-Received: by 2002:a05:620a:5b:b0:6ff:a152:c421 with SMTP id
t27-20020a05620a005b00b006ffa152c421mr881169qkt.204.1671461953833; Mon, 19
Dec 2022 06:59:13 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.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: Mon, 19 Dec 2022 06:59:13 -0800 (PST)
In-Reply-To: <tnpok9$a4lm$2@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:4040:5ed8:3d00:ed44:fc6d:4e3a:cf56;
posting-account=Ysq9BAoAAACGX1EcMMPkdNg4YcTg0TxG
NNTP-Posting-Host: 2600:4040:5ed8:3d00:ed44:fc6d:4e3a:cf56
References: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4> <do7nL.2240620$SIb3.84393@fx05.ams4>
<VeSnL.2204067$MJk2.2163427@fx06.ams4> <tnpok9$a4lm$2@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0d96f0ec-acff-49b3-a603-e1a567f092een@googlegroups.com>
Subject: Re: VUPS.COM relevance for modern CPUs
From: dansabrs...@yahoo.com (abrsvc)
Injection-Date: Mon, 19 Dec 2022 14:59:14 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3602
 by: abrsvc - Mon, 19 Dec 2022 14:59 UTC

On Monday, December 19, 2022 at 8:23:23 AM UTC-5, Simon Clubley wrote:
> On 2022-12-19, Mark Daniel <mark....@wasd.vsm.com.au> wrote:
> >
> > With this in mind I knocked-up a small program to repeatedly call a
> > function using $CMEXEC which calls a function using $CMKRNL and that is
> > that. It measures how much effort is required compared to the simple
> > USER mode loop and reports it as b[ogo]VUPs.
> >
> > https://wasd.vsm.com.au/wasd_tmp/bogovups.c
> >
> > The real disappointment is my X86 VM. The rest of the results seem in
> > line with expectations.
> >
> What numbers did you see ?
> > PS. Looking for ideas, suggestions, criticism(s), etc. here...
> >
> The tests still "feel" rather artificial.
>
> My suggested alternative would be to write actual files away to disk
> using RMS sequential files and also indexed files. Maybe read them
> back as well.
>
> Repeat the sequential files test using direct QIO access and see what
> performance difference that gives when you bypass the transition to
> executive mode.
>
> (Yes, I know, RMS will add its own fixed overheads, but you will still
> be able to see a percentage difference across the various machines you
> are testing on and whether x86-64 VMS imposes a much higher performance
> overhead.)
>
> One obvious problem is that you will have to address issues round
> caching in your tests.
> Simon.
>
> --
> Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
> Walking destinations on a map are further away than they appear.
Why would you want I/O involved in a measurement of relative CPU power? That makes no sense. The VUPs rating has always been a relative CPU performance test. You can argue whether User mode vs other modes makes sense. I suppose that using Mark's updated program may make sense given that the newer versions of OpenVMS use software for some functions (modes really). I don't believe that this is accurate as it will compare hardware vs software between a few models.

I would be interested in (and will likely test) this new option in the emulated environment. It may be a more consistent comparison in this environment.

Dan

Re: VUPS.COM relevance for modern CPUs

<tnqbb2$djve$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VUPS.COM relevance for modern CPUs
Date: Mon, 19 Dec 2022 18:42:42 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <tnqbb2$djve$2@dont-email.me>
References: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4> <do7nL.2240620$SIb3.84393@fx05.ams4> <VeSnL.2204067$MJk2.2163427@fx06.ams4> <tnpok9$a4lm$2@dont-email.me> <tnpt9r$8tnt$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 19 Dec 2022 18:42:42 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="a31d26eff388297fc648ac916ac0a7d8";
logging-data="446446"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18kpA6V63+fnOuMcYH7Z/HAq8nnXW5ulUE="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:chF6JiJd7kk1ulA/4hdYREPDlBw=
 by: Simon Clubley - Mon, 19 Dec 2022 18:42 UTC

On 2022-12-19, Jan-Erik Söderholm <jan-erik.soderholm@telia.com> wrote:
> Den 2022-12-19 kl. 14:23, skrev Simon Clubley:
>> On 2022-12-19, Mark Daniel <mark.daniel@wasd.vsm.com.au> wrote:
>>>
>>> https://wasd.vsm.com.au/wasd_tmp/bogovups.c
>>>
>>
>> What numbers did you see ?
>
>
> They are in the C file on the link above.
>

Dammit. I somehow managed to miss that in the comments while looking at
the rest of the code. :-(

Sorry.

Thanks, Jan-Erik.

Simon.

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

Re: VUPS.COM relevance for modern CPUs

<tnqcvg$dquv$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VUPS.COM relevance for modern CPUs
Date: Mon, 19 Dec 2022 19:10:40 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 71
Message-ID: <tnqcvg$dquv$1@dont-email.me>
References: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4> <do7nL.2240620$SIb3.84393@fx05.ams4> <VeSnL.2204067$MJk2.2163427@fx06.ams4> <tnpok9$a4lm$2@dont-email.me> <0d96f0ec-acff-49b3-a603-e1a567f092een@googlegroups.com>
Injection-Date: Mon, 19 Dec 2022 19:10:40 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="a31d26eff388297fc648ac916ac0a7d8";
logging-data="453599"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/g3lf57y2sviFhk/gWpS9N+CIa39rHjrU="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:iIE/1XafgcUz56J/J/Xhl5MCZlc=
 by: Simon Clubley - Mon, 19 Dec 2022 19:10 UTC

On 2022-12-19, abrsvc <dansabrservices@yahoo.com> wrote:
> On Monday, December 19, 2022 at 8:23:23 AM UTC-5, Simon Clubley wrote:
>> On 2022-12-19, Mark Daniel <mark....@wasd.vsm.com.au> wrote:
>> >
>> > With this in mind I knocked-up a small program to repeatedly call a
>> > function using $CMEXEC which calls a function using $CMKRNL and that is
>> > that. It measures how much effort is required compared to the simple
>> > USER mode loop and reports it as b[ogo]VUPs.
>> >
>> > https://wasd.vsm.com.au/wasd_tmp/bogovups.c
>> >
>> > The real disappointment is my X86 VM. The rest of the results seem in
>> > line with expectations.
>> >
>> What numbers did you see ?
>> > PS. Looking for ideas, suggestions, criticism(s), etc. here...
>> >
>> The tests still "feel" rather artificial.
>>
>> My suggested alternative would be to write actual files away to disk
>> using RMS sequential files and also indexed files. Maybe read them
>> back as well.
>>
>> Repeat the sequential files test using direct QIO access and see what
>> performance difference that gives when you bypass the transition to
>> executive mode.
>>
>> (Yes, I know, RMS will add its own fixed overheads, but you will still
>> be able to see a percentage difference across the various machines you
>> are testing on and whether x86-64 VMS imposes a much higher performance
>> overhead.)
>>
>> One obvious problem is that you will have to address issues round
>> caching in your tests.
>>
> Why would you want I/O involved in a measurement of relative CPU power? That makes no sense. The VUPs rating has always been a relative CPU performance test. You can argue whether User mode vs other modes makes sense. I suppose that using Mark's updated program may make sense given that the newer versions of OpenVMS use software for some functions (modes really). I don't believe that this is accurate as it will compare hardware vs software between a few models.
>

Because Mark was reporting bad performance on x86-64 VMS compared to his
other machines, but are the results artifically bad ?

We already know there is going to be an overhead because of the need to
emulate executive and supervisor modes on x86-64 VMS, but Mark's results
don't cover the elapsed time taken by doing "real" work while in executive
mode.

Now that I have seen the numbers (thanks Jan-Erik :-)), they would appear
to be not only bad in general, but bad even when compared to Alpha (provided
Mark's VirtualBox instance isn't somehow constraining performance and
assuming he is running it on modern x86-64 hardware).

As such, doing real work in executive mode, and then comparing that
performance to direct QIO calls, might give better insights into more
real-world performance results.

Also, to help eliminate differences in disk hardware performance, might
it be a good idea to run those tests on a RAM disk instead of a physical
disk ?

Regarding your comment about testing in an emulated environment, don't
forget that VirtualBox is NOT an emulator, but a virtualisation mechanism.

That means operating systems running under it should be running at close
to native hardware performance speeds and it means you should be testing
the x86-64 performance against physical Alpha machines, not emulated ones.

Simon.

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

Re: VUPS.COM relevance for modern CPUs

<fb6862f7-8b7b-41ff-96bc-8dead78416abn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a37:711:0:b0:6fe:c86a:c1c4 with SMTP id 17-20020a370711000000b006fec86ac1c4mr12500152qkh.518.1671477569490;
Mon, 19 Dec 2022 11:19:29 -0800 (PST)
X-Received: by 2002:a05:622a:6114:b0:3a5:350b:b6d6 with SMTP id
hg20-20020a05622a611400b003a5350bb6d6mr31119427qtb.130.1671477569342; Mon, 19
Dec 2022 11:19:29 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.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: Mon, 19 Dec 2022 11:19:29 -0800 (PST)
In-Reply-To: <tnqcvg$dquv$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:4040:5ed8:3d00:ed44:fc6d:4e3a:cf56;
posting-account=Ysq9BAoAAACGX1EcMMPkdNg4YcTg0TxG
NNTP-Posting-Host: 2600:4040:5ed8:3d00:ed44:fc6d:4e3a:cf56
References: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4> <do7nL.2240620$SIb3.84393@fx05.ams4>
<VeSnL.2204067$MJk2.2163427@fx06.ams4> <tnpok9$a4lm$2@dont-email.me>
<0d96f0ec-acff-49b3-a603-e1a567f092een@googlegroups.com> <tnqcvg$dquv$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fb6862f7-8b7b-41ff-96bc-8dead78416abn@googlegroups.com>
Subject: Re: VUPS.COM relevance for modern CPUs
From: dansabrs...@yahoo.com (abrsvc)
Injection-Date: Mon, 19 Dec 2022 19:19:29 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2292
 by: abrsvc - Mon, 19 Dec 2022 19:19 UTC

>
> Regarding your comment about testing in an emulated environment, don't
> forget that VirtualBox is NOT an emulator, but a virtualisation mechanism..
>
> That means operating systems running under it should be running at close
> to native hardware performance speeds and it means you should be testing
> the x86-64 performance against physical Alpha machines, not emulated ones..
> Simon.
>
I never said that the tests run by Mark were done on an emulated environment. Don't infer things that are not there.

What I suggested was that it would be interesting to see what the use of his "new" option would show on an emulated system. No mention of anything other than that. I still think it would be interesting to see if the correlation of "real" to emulated holds using Mark's test when compared to using the original VUPS procedure.

Dan

Re: VUPS.COM relevance for modern CPUs

<tnqdqv$dquv$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VUPS.COM relevance for modern CPUs
Date: Mon, 19 Dec 2022 19:25:19 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <tnqdqv$dquv$2@dont-email.me>
References: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4> <do7nL.2240620$SIb3.84393@fx05.ams4> <VeSnL.2204067$MJk2.2163427@fx06.ams4> <tnpok9$a4lm$2@dont-email.me> <0d96f0ec-acff-49b3-a603-e1a567f092een@googlegroups.com> <tnqcvg$dquv$1@dont-email.me> <fb6862f7-8b7b-41ff-96bc-8dead78416abn@googlegroups.com>
Injection-Date: Mon, 19 Dec 2022 19:25:19 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="a31d26eff388297fc648ac916ac0a7d8";
logging-data="453599"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+gAEgtO9Wa7GUoN8lePc1ltFUHoeGoX5M="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:0T0Laq5u6Vq7sj/03bpssaaCL78=
 by: Simon Clubley - Mon, 19 Dec 2022 19:25 UTC

On 2022-12-19, abrsvc <dansabrservices@yahoo.com> wrote:
>
>>
>> Regarding your comment about testing in an emulated environment, don't
>> forget that VirtualBox is NOT an emulator, but a virtualisation mechanism.
>>
>> That means operating systems running under it should be running at close
>> to native hardware performance speeds and it means you should be testing
>> the x86-64 performance against physical Alpha machines, not emulated ones.
>> Simon.
>>
> I never said that the tests run by Mark were done on an emulated environment. Don't infer things that are not there.
>
> What I suggested was that it would be interesting to see what the use of his "new" option would show on an emulated system. No mention of anything other than that. I still think it would be interesting to see if the correlation of "real" to emulated holds using Mark's test when compared to using the original VUPS procedure.
>

Dan, you are _way_ too quick to read bad things into my comments. :-(

Read the quoted comment above again, and you will see I am talking about
the emulator tests _you_ are planning to do and I was pointing out that
Mark's tests should have been done at somewhere close to his native
hardware speed.

Simon.

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

Re: VUPS.COM relevance for modern CPUs

<tnqfll$e3of$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: craigbe...@nospam.mac.com (Craig A. Berry)
Newsgroups: comp.os.vms
Subject: Re: VUPS.COM relevance for modern CPUs
Date: Mon, 19 Dec 2022 13:56:36 -0600
Organization: A noiseless patient Spider
Lines: 75
Message-ID: <tnqfll$e3of$1@dont-email.me>
References: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4>
<do7nL.2240620$SIb3.84393@fx05.ams4> <VeSnL.2204067$MJk2.2163427@fx06.ams4>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 19 Dec 2022 19:56:37 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="c75514ff9c09ec6835363b36cbc473a0";
logging-data="462607"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/tqOe8lynMfp0ZOjUg+N3qchHt8Jw1R/8="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.6.0
Cancel-Lock: sha1:PB7BzKsKJHnm6kt8OPqomd59W5Y=
Content-Language: en-US
In-Reply-To: <VeSnL.2204067$MJk2.2163427@fx06.ams4>
 by: Craig A. Berry - Mon, 19 Dec 2022 19:56 UTC

On 12/18/22 11:01 PM, Mark Daniel wrote:
> On 17/12/2022 10:13 am, Mark Daniel wrote:
>> On 16/12/2022 10:27 pm, Mark Daniel wrote:
>>> Now, before everyone piles on, I understand the procedure provides an
>>> indicative/comparative/finger-in-the-air measurement of the relative
>>> performance of a VMS CPU relative to "the original VAX processor".
>> 8< snip 8<
>>
>> Thanks to all those who contributed to this thread.
>>
>> The followup that caught my eye was from Simon Clubley who provided an
>> entirely convincing explanation for the elevated X86 Kernel mode.
>>
>> Also his pointer to BogoMips.  Most interesting.  I read the FAQ and
>> accessed the github code.  Quite straighforward.  Might be a good
>> replacement as a general performance metric.
>>
>> https://github.com/vitalyvch/Bogo/blob/BogoMIPS_v1.3/bogomips.c
> 8< snip 8<
>
> For general VMS comparative usage something more VMS-measuring is
> needed.  I looked about the 'net and nothing sprang out.  I wonder what
> VSI are using for metrics on X86 development?  Anything lurking in the
> DECUS/Freeware repositories I missed?
>
> Anyway, in the absence of anything else, I was thinking about what may
> consume "non-productive" VMS cycles (i.e. non-USER mode crunching :-)
> and all I could think of were the transitions between USER, EXEC and
> KERNEL modes.  As required by RMS, $QIO, drivers, etc., etc.  No SUPER
> modes measured here.
>
> With this in mind I knocked-up a small program to repeatedly call a
> function using $CMEXEC which calls a function using $CMKRNL and that is
> that.  It measures how much effort is required compared to the simple
> USER mode loop and reports it as b[ogo]VUPs.
>
> https://wasd.vsm.com.au/wasd_tmp/bogovups.c
>
> The real disappointment is my X86 VM.  The rest of the results seem in
> line with expectations.
>
> PS.  Looking for ideas, suggestions, criticism(s), etc. here...

It's pretty hard to know what this means, if anything. I'll assume your
VirtualBox host is a speedy recent Intel machine with all the cpu
capabilities VMS prefers? (not an M1 Mac emulating x86 I hope!).

It may be that the cross compiler doesn't have optimizations turned on.
It may be that there is a ton of debugging code in the OS that will
eventually get turned off. It may be mode switching is genuinely slow
on x86.

If the latter is the main culprit, I suspect it will play out the same
way alignment faults did on Itanium. They were horrible for the things
affected, but not everything was affected, and not everything that was
affected was affected equally. And multiple different fixes to
compilers, products, and the OS itself eventually mitigated them to
where they became a non-problem for most people most of the time, but it
took a couple years.

The last time I remember anyone from VSI saying anything about
performance was that they hadn't even started looking at it yet. That
may have been over a year ago, but I suspect they still haven't -- just
too much else to do. The word "performance" does not appear on the roadmap.

Somehow I got the impression that enabling compiler optimizations would
be deferred until after native compilers were available. (I may have
that wrong, possibly from a vague memory of the order in which things
happened for previous ports). Not that one couldn't enable optimizations
in a cross compiler, but just that they are working in priority order,
and having native compilers (and more compilers, such as BASIC) is a
much higher priority than performance at this point. You can't even
port from Alpha to x86 right now without buying an Itanium, and I doubt
very many Alpha customers would consider doing that.

Re: VUPS.COM relevance for modern CPUs

<x76oL.2065418$WRz3.830514@fx03.ams4>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx03.ams4.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.6.0
From: mark.dan...@wasd.vsm.com.au (Mark Daniel)
Subject: Re: VUPS.COM relevance for modern CPUs
Newsgroups: comp.os.vms
References: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4>
<do7nL.2240620$SIb3.84393@fx05.ams4> <VeSnL.2204067$MJk2.2163427@fx06.ams4>
<tnpok9$a4lm$2@dont-email.me>
<0d96f0ec-acff-49b3-a603-e1a567f092een@googlegroups.com>
<tnqcvg$dquv$1@dont-email.me>
Content-Language: en-US
In-Reply-To: <tnqcvg$dquv$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 127
Message-ID: <x76oL.2065418$WRz3.830514@fx03.ams4>
X-Complaints-To: abuse@eweka.nl
NNTP-Posting-Date: Mon, 19 Dec 2022 23:06:05 UTC
Organization: Eweka Internet Services
Date: Tue, 20 Dec 2022 09:36:04 +1030
X-Received-Bytes: 6872
 by: Mark Daniel - Mon, 19 Dec 2022 23:06 UTC

On 20/12/2022 5:40 am, Simon Clubley wrote:
> On 2022-12-19, abrsvc <dansabrservices@yahoo.com> wrote:
>> On Monday, December 19, 2022 at 8:23:23 AM UTC-5, Simon Clubley wrote:
>>> On 2022-12-19, Mark Daniel <mark....@wasd.vsm.com.au> wrote:
>>>>
>>>> With this in mind I knocked-up a small program to repeatedly call a
>>>> function using $CMEXEC which calls a function using $CMKRNL and that is
>>>> that. It measures how much effort is required compared to the simple
>>>> USER mode loop and reports it as b[ogo]VUPs.
>>>>
>>>> https://wasd.vsm.com.au/wasd_tmp/bogovups.c
>>>>
>>>> The real disappointment is my X86 VM. The rest of the results seem in
>>>> line with expectations.
>>>>
>>> What numbers did you see ?
>>>> PS. Looking for ideas, suggestions, criticism(s), etc. here...
>>>>
>>> The tests still "feel" rather artificial.

Certainly they are artificial. I really didn't want to write a test
suite, just a simple measuring stick for a quick comparison of
platforms. For performance testing the only real metric is "the
application" or a representative code base.

>>> My suggested alternative would be to write actual files away to disk
>>> using RMS sequential files and also indexed files. Maybe read them
>>> back as well.
>>>
>>> Repeat the sequential files test using direct QIO access and see what
>>> performance difference that gives when you bypass the transition to
>>> executive mode.
>>>
>>> (Yes, I know, RMS will add its own fixed overheads, but you will still
>>> be able to see a percentage difference across the various machines you
>>> are testing on and whether x86-64 VMS imposes a much higher performance
>>> overhead.)
>>>
>>> One obvious problem is that you will have to address issues round
>>> caching in your tests.
>>>
>> Why would you want I/O involved in a measurement of relative CPU power? That makes no sense. The VUPs rating has always been a relative CPU performance test. You can argue whether User mode vs other modes makes sense. I suppose that using Mark's updated program may make sense given that the newer versions of OpenVMS use software for some functions (modes really). I don't believe that this is accurate as it will compare hardware vs software between a few models.

Agreed. Not for a "simple measuring stick" (to quote myself).

Disagree. It compares *VMS* performance. Not necessarily just CPU
power (which is the thrust of BogoMips) but a combination of
hardware/bus/software.

> Because Mark was reporting bad performance on x86-64 VMS compared to his
> other machines, but are the results artifically bad ?

X86 actually performs quite responsively, so this is a fair question.

My EXEC mode function calling a KERNEL mode function is pretty intense.
Perhaps it would be better calling KERNEL mode every tenth time. Or
some combination such as that. I have no information on the respective
call rates apart from @VUPS.COM which on my Alpha shows

| Executive Mode 18 |▒▒▒▒▒▒▒
| Supervisor Mode 81 |▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒

and on the X86 VM

Combined for 2 CPUs
| Kernel Mode 22 |▒▒▒▒
| Executive Mode 16 |▒▒▒
| Supervisor Mode 62 |▒▒▒▒▒▒▒▒▒▒▒▒
| Idle Time 100 |▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒

Of course there is no SUPER mode in my code.

The numbers certainly support the idea that X86 inner-modes are
"emulated" in some way, mediated by KERNEL mode processing.

> We already know there is going to be an overhead because of the need to
> emulate executive and supervisor modes on x86-64 VMS, but Mark's results
> don't cover the elapsed time taken by doing "real" work while in executive
> mode.

Quite deliberately. It was intended to measure only the overhead of
inner-mode calls. Is this fair and equitable? Who knows?

> Now that I have seen the numbers (thanks Jan-Erik :-)), they would appear
> to be not only bad in general, but bad even when compared to Alpha (provided
> Mark's VirtualBox instance isn't somehow constraining performance and
> assuming he is running it on modern x86-64 hardware).

A pre-loved AU$300.00 Dell SFF bought via eBay -- Optiplex 9020,
Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz RAM 16.0 GB, Windows 10 Pro
Version 22H2 Installed 17/03/2021, VirtualBox 6.1.40. A nice little
system for the money.

> As such, doing real work in executive mode, and then comparing that
> performance to direct QIO calls, might give better insights into more
> real-world performance results.
>
> Also, to help eliminate differences in disk hardware performance, might
> it be a good idea to run those tests on a RAM disk instead of a physical
> disk ?

Not interested in I/O.

Doesn't meet the project criterion of quick (and dirty) platform
comparison (a la VUPS.COM). Perhaps this approach is fraught with all
sorts of limitations and attention should be redirected to VUPS.COM.

> Regarding your comment about testing in an emulated environment, don't
> forget that VirtualBox is NOT an emulator, but a virtualisation mechanism.

Certainly.

> That means operating systems running under it should be running at close
> to native hardware performance speeds and it means you should be testing
> the x86-64 performance against physical Alpha machines, not emulated ones.

As a performance comparison tool, why not?

> Simon.

Thanks for your (plural) interest.

--
Anyone, who using social-media, forms an opinion regarding anything
other than the relative cuteness of this or that puppy-dog, needs
seriously to examine their critical thinking.

Re: VUPS.COM relevance for modern CPUs

<tnqv2q$17fg$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VUPS.COM relevance for modern CPUs
Date: Mon, 19 Dec 2022 19:19:36 -0500
Organization: Aioe.org NNTP Server
Message-ID: <tnqv2q$17fg$1@gioia.aioe.org>
References: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4>
<do7nL.2240620$SIb3.84393@fx05.ams4> <VeSnL.2204067$MJk2.2163427@fx06.ams4>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="40432"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Arne Vajhøj - Tue, 20 Dec 2022 00:19 UTC

On 12/19/2022 12:01 AM, Mark Daniel wrote:
> On 17/12/2022 10:13 am, Mark Daniel wrote:
>> Also his pointer to BogoMips.  Most interesting.  I read the FAQ and
>> accessed the github code.  Quite straighforward.  Might be a good
>> replacement as a general performance metric.
>>
>> https://github.com/vitalyvch/Bogo/blob/BogoMIPS_v1.3/bogomips.c
> 8< snip 8<
>
> For general VMS comparative usage something more VMS-measuring is
> needed.  I looked about the 'net and nothing sprang out.  I wonder what
> VSI are using for metrics on X86 development?  Anything lurking in the
> DECUS/Freeware repositories I missed?
>
> Anyway, in the absence of anything else, I was thinking about what may
> consume "non-productive" VMS cycles (i.e. non-USER mode crunching :-)
> and all I could think of were the transitions between USER, EXEC and
> KERNEL modes.  As required by RMS, $QIO, drivers, etc., etc.  No SUPER
> modes measured here.
>
> With this in mind I knocked-up a small program to repeatedly call a
> function using $CMEXEC which calls a function using $CMKRNL and that is
> that.  It measures how much effort is required compared to the simple
> USER mode loop and reports it as b[ogo]VUPs.
>
> https://wasd.vsm.com.au/wasd_tmp/bogovups.c
>
> The real disappointment is my X86 VM.  The rest of the results seem in
> line with expectations.
>
> PS.  Looking for ideas, suggestions, criticism(s), etc. here...

First, then I assume neither your code nor VMS
itself are optimized - I believe John Reagan said that
the cross compilers do not optimize much.

But besides that I am not convinced that the time spent to
do mode switches is a particular relevant test. It should
never be a large enough part of total CPU usage to
matter much.

In general the CPU bottlenecks should be in
user mode. So back to BogoMips or DhryStone/WhetStone
or SPEC or whatever.

If something in VMS should be tested then I think a more
relevant test would be to test what the scheduler can handle.
When does overhead start hurting throughput - 500 threads?
1000 threads? 2000 threads? 4000 threads? 8000 threads?

Arne

Re: VUPS.COM relevance for modern CPUs

<af78da66-7f29-40ee-8a7d-15a30a910d1dn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:7382:0:b0:3a8:2e9f:6ae9 with SMTP id t2-20020ac87382000000b003a82e9f6ae9mr504553qtp.293.1671505809411;
Mon, 19 Dec 2022 19:10:09 -0800 (PST)
X-Received: by 2002:a0c:c790:0:b0:4c6:608c:6b2c with SMTP id
k16-20020a0cc790000000b004c6608c6b2cmr70027484qvj.130.1671505809193; Mon, 19
Dec 2022 19:10:09 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.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: Mon, 19 Dec 2022 19:10:08 -0800 (PST)
In-Reply-To: <tnqv2q$17fg$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=73.8.13.83; posting-account=YO3NpQoAAACSF6HMhCwn-sX_rDcW0jdj
NNTP-Posting-Host: 73.8.13.83
References: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4> <do7nL.2240620$SIb3.84393@fx05.ams4>
<VeSnL.2204067$MJk2.2163427@fx06.ams4> <tnqv2q$17fg$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <af78da66-7f29-40ee-8a7d-15a30a910d1dn@googlegroups.com>
Subject: Re: VUPS.COM relevance for modern CPUs
From: bobkap...@yahoo.com (Bob)
Injection-Date: Tue, 20 Dec 2022 03:10:09 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1528
 by: Bob - Tue, 20 Dec 2022 03:10 UTC

Years (decades?) ago I grabbed a copy of VUPS.COM out of the startup code for a layered product; Diskeeper IIRC. It's not very large, but I'm not sure if it's proper to share what must have been copyrighted code.
Results didn't exactly match published specs, but they helped fill in the gaps for systems that were never on the old VUPS list.

-Bob

Re: VUPS.COM relevance for modern CPUs

<f6efd623-ecea-4d96-81b8-d4193d1d3f1cn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a37:68c3:0:b0:6fa:f354:939f with SMTP id d186-20020a3768c3000000b006faf354939fmr87298qkc.57.1671538388443;
Tue, 20 Dec 2022 04:13:08 -0800 (PST)
X-Received: by 2002:ac8:6644:0:b0:3a7:eb35:fbf8 with SMTP id
j4-20020ac86644000000b003a7eb35fbf8mr9751857qtp.457.1671538388079; Tue, 20
Dec 2022 04:13:08 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.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: Tue, 20 Dec 2022 04:13:07 -0800 (PST)
In-Reply-To: <x76oL.2065418$WRz3.830514@fx03.ams4>
Injection-Info: google-groups.googlegroups.com; posting-host=2003:c0:8f20:b87:f934:5dd2:598d:34b;
posting-account=cHmS7AoAAACMYAFH9kP9m4l8qjrXLvte
NNTP-Posting-Host: 2003:c0:8f20:b87:f934:5dd2:598d:34b
References: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4> <do7nL.2240620$SIb3.84393@fx05.ams4>
<VeSnL.2204067$MJk2.2163427@fx06.ams4> <tnpok9$a4lm$2@dont-email.me>
<0d96f0ec-acff-49b3-a603-e1a567f092een@googlegroups.com> <tnqcvg$dquv$1@dont-email.me>
<x76oL.2065418$WRz3.830514@fx03.ams4>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f6efd623-ecea-4d96-81b8-d4193d1d3f1cn@googlegroups.com>
Subject: Re: VUPS.COM relevance for modern CPUs
From: volker_h...@hotmail.com (Volker Halle)
Injection-Date: Tue, 20 Dec 2022 12:13:08 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2348
 by: Volker Halle - Tue, 20 Dec 2022 12:13 UTC

Mark,

on my Intel i5-9600K @3.7 GHz with 6 Cores, Windows 10 Pro 22H2 with VMware Player 16, running my VUPS.COM reports about 730 VUPS with VSI OpenVMS x86-64 V9.2 with 2 vCPUs.

$ MONI MODE/INT=1/AVERAGE reports about 10% Kernel, 21% Exec and 51% Supervisor mode while running VUPS.COM

Running a simple LOOP.COM

$ i=0
$loop:
$ i=i+1
$ GOTO loop

consumes 22% Kernel, 33% Exec and 45% Supervisor mode

Running the same LOOP.COM procedure on an OpenVMS V8.2 rx2600 1.3 GHz (1 CPU) consumes: 8% Kernel, 31% Exec and 61% Supervisor mode.
Running VUPS.COM on that Itanium reports about 1762 VUPS with 5% Kernel, 17% Exec and 77% Supervisor mode.

The 'CPU work' is done in Supervisor mode in a small loop in VUPS.COM, Exec and Kernel could be considered (necessary) 'overhead' and this 'overhead' is more significant on x86-64.

AFAIK VSI has not yet publicized any performance data and may still be concentrating on function vs. performance.

Volker.

Re: VUPS.COM relevance for modern CPUs

<tnseol$4pv$1@news.misty.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.185.159.157.200!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: VUPS.COM relevance for modern CPUs
Date: Tue, 20 Dec 2022 14:53:24 +0100
Organization: MGT Consulting
Message-ID: <tnseol$4pv$1@news.misty.com>
References: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4>
<do7nL.2240620$SIb3.84393@fx05.ams4> <VeSnL.2204067$MJk2.2163427@fx06.ams4>
<tnpok9$a4lm$2@dont-email.me>
<0d96f0ec-acff-49b3-a603-e1a567f092een@googlegroups.com>
<tnqcvg$dquv$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 20 Dec 2022 13:53:25 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="185.159.157.200";
logging-data="4927"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.13.1
Content-Language: en-US
In-Reply-To: <tnqcvg$dquv$1@dont-email.me>
 by: Johnny Billquist - Tue, 20 Dec 2022 13:53 UTC

On 2022-12-19 20:10, Simon Clubley wrote:
> On 2022-12-19, abrsvc <dansabrservices@yahoo.com> wrote:
>> On Monday, December 19, 2022 at 8:23:23 AM UTC-5, Simon Clubley wrote:
>>> On 2022-12-19, Mark Daniel <mark....@wasd.vsm.com.au> wrote:
>>>>
>>>> With this in mind I knocked-up a small program to repeatedly call a
>>>> function using $CMEXEC which calls a function using $CMKRNL and that is
>>>> that. It measures how much effort is required compared to the simple
>>>> USER mode loop and reports it as b[ogo]VUPs.
>>>>
>>>> https://wasd.vsm.com.au/wasd_tmp/bogovups.c
>>>>
>>>> The real disappointment is my X86 VM. The rest of the results seem in
>>>> line with expectations.
>>>>
>>> What numbers did you see ?
>>>> PS. Looking for ideas, suggestions, criticism(s), etc. here...
>>>>
>>> The tests still "feel" rather artificial.
>>>
>>> My suggested alternative would be to write actual files away to disk
>>> using RMS sequential files and also indexed files. Maybe read them
>>> back as well.
>>>
>>> Repeat the sequential files test using direct QIO access and see what
>>> performance difference that gives when you bypass the transition to
>>> executive mode.
>>>
>>> (Yes, I know, RMS will add its own fixed overheads, but you will still
>>> be able to see a percentage difference across the various machines you
>>> are testing on and whether x86-64 VMS imposes a much higher performance
>>> overhead.)
>>>
>>> One obvious problem is that you will have to address issues round
>>> caching in your tests.
>>>
>> Why would you want I/O involved in a measurement of relative CPU power? That makes no sense. The VUPs rating has always been a relative CPU performance test. You can argue whether User mode vs other modes makes sense. I suppose that using Mark's updated program may make sense given that the newer versions of OpenVMS use software for some functions (modes really). I don't believe that this is accurate as it will compare hardware vs software between a few models.
>>
>
> Because Mark was reporting bad performance on x86-64 VMS compared to his
> other machines, but are the results artifically bad ?
>
> We already know there is going to be an overhead because of the need to
> emulate executive and supervisor modes on x86-64 VMS, but Mark's results
> don't cover the elapsed time taken by doing "real" work while in executive
> mode.

The overhead would only be something that hits a little at mode
switching. While just executing code, the cost of not having executive
and supervisor in hardware should be zero.

And I agree that doing I/O usually means you won't see much of what the
CPU performance actually looks like.

Johnny

Re: VUPS.COM relevance for modern CPUs

<e9b4022c-eaa3-4283-b553-ed2173d88882n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:7777:0:b0:3a8:1916:d6c1 with SMTP id h23-20020ac87777000000b003a81916d6c1mr1317659qtu.625.1671544599405;
Tue, 20 Dec 2022 05:56:39 -0800 (PST)
X-Received: by 2002:ac8:5fd6:0:b0:3a5:6961:e1b5 with SMTP id
k22-20020ac85fd6000000b003a56961e1b5mr88843125qta.598.1671544599183; Tue, 20
Dec 2022 05:56:39 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.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: Tue, 20 Dec 2022 05:56:38 -0800 (PST)
In-Reply-To: <VeSnL.2204067$MJk2.2163427@fx06.ams4>
Injection-Info: google-groups.googlegroups.com; posting-host=217.91.122.53; posting-account=rjF0WAoAAAC39hl8XmA2ge39LAbz78Ru
NNTP-Posting-Host: 217.91.122.53
References: <M2ZmL.1823799$JNZ4.1069143@fx12.ams4> <do7nL.2240620$SIb3.84393@fx05.ams4>
<VeSnL.2204067$MJk2.2163427@fx06.ams4>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e9b4022c-eaa3-4283-b553-ed2173d88882n@googlegroups.com>
Subject: Re: VUPS.COM relevance for modern CPUs
From: gru...@isidata.de (Andreas Gruhl)
Injection-Date: Tue, 20 Dec 2022 13:56:39 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4494
 by: Andreas Gruhl - Tue, 20 Dec 2022 13:56 UTC

Mark Daniel schrieb am Montag, 19. Dezember 2022 um 06:01:45 UTC+1:
> On 17/12/2022 10:13 am, Mark Daniel wrote:
> > On 16/12/2022 10:27 pm, Mark Daniel wrote:
> >> Now, before everyone piles on, I understand the procedure provides an
> >> indicative/comparative/finger-in-the-air measurement of the relative
> >> performance of a VMS CPU relative to "the original VAX processor".
> > 8< snip 8<
> >
> > Thanks to all those who contributed to this thread.
> >
> > The followup that caught my eye was from Simon Clubley who provided an
> > entirely convincing explanation for the elevated X86 Kernel mode.
> >
> > Also his pointer to BogoMips. Most interesting. I read the FAQ and
> > accessed the github code. Quite straighforward. Might be a good
> > replacement as a general performance metric.
> >
> > https://github.com/vitalyvch/Bogo/blob/BogoMIPS_v1.3/bogomips.c
> 8< snip 8<
>
> For general VMS comparative usage something more VMS-measuring is
> needed. I looked about the 'net and nothing sprang out. I wonder what
> VSI are using for metrics on X86 development? Anything lurking in the
> DECUS/Freeware repositories I missed?
>
> Anyway, in the absence of anything else, I was thinking about what may
> consume "non-productive" VMS cycles (i.e. non-USER mode crunching :-)
> and all I could think of were the transitions between USER, EXEC and
> KERNEL modes. As required by RMS, $QIO, drivers, etc., etc. No SUPER
> modes measured here.
>
> With this in mind I knocked-up a small program to repeatedly call a
> function using $CMEXEC which calls a function using $CMKRNL and that is
> that. It measures how much effort is required compared to the simple
> USER mode loop and reports it as b[ogo]VUPs.
>
> https://wasd.vsm.com.au/wasd_tmp/bogovups.c
>
> The real disappointment is my X86 VM. The rest of the results seem in
> line with expectations.
>
> PS. Looking for ideas, suggestions, criticism(s), etc. here...
> --
I ran your program in two of our own environments with the following rsults:

|AlphaServer ES45 Model 1B 4 CPUs 16384MB V8.4-2L2
|Calculating IPS...
|321.000000 cpu-ticks, 3.279087 seconds, 609925873 / second
|Calculating bVUPs...
|1645.000000 cpu-ticks, 16.614445 seconds, 370.8 bVUPs
|9157.000000 cpu-ticks, 91.599084 seconds, 10.8 bVUPs

|HP DL380 2.6 GHz VMware, Inc. 4 CPUs 15868MB V9.2
|Calculating IPS...
|459.000000 cpu-ticks, 4.589954 seconds, 435734205 / second
|Calculating bVUPs...
|7470.000000 cpu-ticks, 74.799252 seconds, 58.3 bVUPs
Sorry to say, but your bVUPs computation is not very useful.
This is because you divide dins [instructions/sec] by dticks [0.01 sec].
Insead of being dimensionless (like a good VUP ought to be)
your result has the physical unit of [ 1/sec²].
My own interpretation of the figures given above is:
X86 integer performance reaches 71% of ES45 (321/459 Ticks)
X86 change mode performance reaches 22% of ES45 (1645/7470 Ticks)

This not bad given the fact, that the C crosscompiler currently attempts no
optimization at all (as I know from an extraordinarily well informed source).
Andreas

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor