© 1983 by British Computer Society
| ||||||||||||||||||||||||||||||||||||||||||||||||||
Computer System Evaluation Through Supervisor Replication
Computing Science Department, The University of Glasgow, Glasgow, UK
A class of tools that can be used for both computer system simulation and implementation is considered. Such tools can be viewed as two-level simulation programs. The outer level replicates the kernel of the operating system, contains the simulation control program and the event routines and is driven by events that are external and internal to the real computer system. The supervisor processes are replicated by coroutines, which obey the same code that these processes would obey in the real system. All user processes are modelled using a reentrant coroutine that forms the inner-level simulator. The two levels are interfaced by routines that trap the primitive calls issued by both user and systems processes and schedule the corresponding events. Shadow tables associate the simulation entities with the real system variables. The tools can be used both for designing computer systems and for determining their efficiency.
Received June 1982.
* Computing Science Department, The University of Glasgow, Glasgow G12 8QQ, UK