PDP-11 benchmark

When you run it, you'll see after 10 seconds a value in hex: that's the number of iterations it could do in 10 seconds. It expects a working kw11-l in the system.

If you like you can assemble the source with e.g. this assembler. You can also run the .bin-file directly in e.g. simh like this:

set cpu 11/70
SET CLK 50HZ
load benchmark.bin
go
Please consider compiling the emulator with e.g. -march=native as that often speeds things up quite a bit.
Note: in this example the system-type is configured as an 11/70, but an 11/34, 40 and 45 should work as well. Maybe others too that I did not try (via simh).

The program should be loaded at address 01000 (octal) and executed from that address as well.

Note that there are two tests with the "with mmu"-version having the "highest priority" :-).

with mmu

without mmu

results

Higher is better

c/c++ programs were compiled with -Ofast -march=native -mtune=native (like simh)
python3 programs were tested under pypy

cpuemulator or systemspeed without mmuWITH mmuraw without mmuraw WITH mmu
AMD Ryzen 9 7950X3DErsatz-11 v7.318265.27%13109.96%00872149003036d3
AMD Ryzen 9 7950X3Dsimh v3.8-113877.97%6116.54%0066ac0200167ea0
AMD Ryzen 9 7950X3Dp11 2.10i11947.32%5285.23%0058637c00136ff6
AMD Ryzen 9 7950X3DKek (git af29aa9)5500.74%3779.93%0028b20f000de6bf
AMD Ryzen 9 7950X3D/ChromeP.Nankervis (git 605cc23)4644.76%3223.63%00225ce4000bdaff
Raspberry Pi 5Kek (git 493a9f9)1872.94%1737.63%000ddb3b000663f3
AMD Ryzen 9 7950X3DNWebber (git 485cdcc)1363.93%584.72%000a173200022682
Teensy 4.1Kek (git 493a9f9)135.61%117.46%000100d700006e96
PDP-11/70+ HyperCache & PEP-70100%100%0000bd6400005e26
PDP-11/53KDJ11-SD65.56%62.28%00007c2d00003aa2
PDP-11/7362.18%59.52%000075c20000380a
ESP32-P4Kek (git 1ff1f61)57.97%50.92%00006dca00002ff1
PDP-11/23KDJ11-A52.69%50.44%000063c900002f7c
ESP32-S3Kek (git 493a9f9)32.84%27.99%00003e3300001a5a
ESP32Kek (git 493a9f9)27.48%22.82%0000340d0000157c
Micro-PDP-11/23KDF11-B M818923.6%22.3%00002cb3000014fe
RPI RP2350Kek (git 493a9f9)13.95%12.85%00001a6a00000c18
ESP32-S2Kek (git 493a9f9)12.62%10.44%000017e5000009d5

A big thanks to Jacob Ritorto who ran my benchmark on a real PDP-11/70 (with accelerator).
Also a big thanks to Hans Hübner for the run on an 11/23, 11/53 and an 11/73.
Note: data of other real PDP-11 systems is welcome!

example output




For contact info, see this page.

numerus visitantium: CMXCVIII


bad crawlers