Sim Java + Sim Diag Test

A simple work farm

A simulation of a simple work farm. The farmer sends out jobs to the three worker CPUs. When a CPU is busy with a job its work router (seen above it) passes new jobs on to the next CPU instead. If all the CPUs are busy then job will pass through all the routers and into the waste bucket. After a CPU finishes processing a job, it passes the result down to the work bucket, and signals its work router that it is free for more work.

The applet's source code.


Fred Howell - fwh@dcs.ed.ac.uk
Department of Computer Science
University of Edinburgh