vanheusden.com

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 (or a .

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.

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 mmu
AMD Ryzen 9 7950X3DErsatz-11 v7.388558813159763
AMD Ryzen 9 7950X3Dsimh v3.8-167287061474208
AMD Ryzen 9 7950X3Dp11 2.10i57926361273846
AMD Ryzen 9 7950X3DKek (git af29aa9)2667023911039
AMD Ryzen 9 7950X3D/ChromeP.Nankervis (git 605cc23)2252004776959
Raspberry Pi 5Kek (git 493a9f9)908091418803
AMD Ryzen 9 7950X3DNWebber (git 485cdcc)661298140930
Teensy 4.1Kek (git 493a9f9)6575128310
ESP32-S3Kek (git 493a9f9)159236746
ESP32Kek (git 493a9f9)133255500
RP2350Kek (git 493a9f9)67623096
ESP32-S2Kek (git 493a9f9)61172517

Note: when I have data of a real PDP-11 system then I'll add percentages: your help is welcome!

example output




For contact info, see this page.


bad crawlers