From owner-pups@minnie.cs.adfa.edu.au Fri Jan 21 13:18:10 2000
Received: (from major@localhost)
	by minnie.cs.adfa.edu.au (8.9.3/8.9.3) id NAA35562
	for pups-liszt; Fri, 21 Jan 2000 13:17:02 +1100 (EST)
Received: from henry.cs.adfa.edu.au (henry.cs.adfa.edu.au [131.236.21.158])
	by minnie.cs.adfa.edu.au (8.9.3/8.9.3) with ESMTP id NAA35558
	for <pups@minnie.cs.adfa.edu.au>; Fri, 21 Jan 2000 13:16:41 +1100 (EST)
Received: (from wkt@localhost)
	by henry.cs.adfa.edu.au (8.9.2/8.9.3) id NAA53527;
	Fri, 21 Jan 2000 13:16:40 +1100 (EST)
From: Warren Toomey <wkt@cs.adfa.edu.au>
Message-Id: <200001210216.NAA53527@henry.cs.adfa.edu.au>
Subject: Re: Emulators
In-Reply-To: <034201bf63ad$8ad414b0$5d01a8c0@p2350> from emanuel stiebler at "Jan 20, 2000  6:19:18 pm"
To: pups@minnie.cs.adfa.edu.au (Unix Heritage Society)
Date: Fri, 21 Jan 2000 13:16:40 +1100 (EST)
Cc: wkt@cs.adfa.edu.au
Reply-To: wkt@cs.adfa.edu.au
X-Mailer: ELM [version 2.4ME+ PL43 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-pups@minnie.cs.adfa.edu.au
Precedence: bulk

In article by emanuel stiebler:
> Hi,
> Anybody here, who made some benchmarks of the different simulators (supnik,
> apout, ...)
> 
> What I'm looking for is something like:
> supnik version xxx on pentium 2 350 MHz using linux, is xxx times faster
> than a 11/73.
> 
> cheers & thanks,
> emanuel

Here's my no-numbers-just-gut-feelings of the various PDP-11 emulators.
John Wilson's Ersatz is probably the fastest; it's written in assembly
code, and so gains a fair bit that way.

Second would be the Begemot emulator. They've unrolled the instruction
decode loop heavily, and that helps a lot.

Bob Supnik's emulator would be the slowest of the three. However, it's
still not that slow, may 1/3 the speed of Ersatz.

Apout can't be compared to the above 3 emulators, because it doesn't emulate
peripherals nor supervisor mode. User-mode instructions run at about the
same speed as Supnik's emulator, but system calls are done by native code.

The sole benchmark I have is: FreeBSD identifies my desktop box as
Pentium II/Xeon/Celeron (348.93-MHz 686-class CPU). Using Apout, I can
compile the 2.11BSD GENERIC kernel in 4 minutes 15 seconds.

I'll try building Supnik and Begemot and getting comparative results.

Last comment: all the simulators have strengths & shortcomings, and that
applies not just to ease of use but also to CPU, I/O performance etc. You
really have to try them all & find the one that suits you.

	Warren

