Due at the start of class on Friday, April 9.
Turn in your writeup and the table showing the results of the 5 simulation.run files to cs411@engr.orst.edu. Send it all as a single simple email message (no attachments or special formats).
Follow these steps in learning to use the OSP Simulator.
> ls ~cs411/osp/demo
To run the demo, use the following command from your own directory:
> ~cs411/osp/demo/OSP.demo
This way of executing OSP requires that you supply the system parameters
interactively -- use the responses suggested in the following table.
| intensity of process creation | 5
| average CPU time | 60
| frequency of events | 7
| memory-related events | 1
| I/O related events | 7
| rsrc-related events | 1
| socket type | s
| CPU time quantum | 20
| prepaging | 0
| memory reference pattern | l *
| handling deadlocks | a
| simulation time | 40000
| snapshots | 1
| trace switch | 0
| interactive | n
| |
Your responses will be recorded in the file simulation.parameters. Output will be directed to the file simulation.run as long as you answered "n" to interactive mode; otherwise they will be pritned on the screen. The two simulation file names are used over and over, so copy the information to another file whenever you want to keep it.
< ~cs411/osp/demo/OSP.demo demo.parms
Save the file simulation.run as demo1.run so you can refer to it again. Use the
values to fill in the column demo1 in the table.
demo1 demo2 demo3 demo4 demo5 ===================================== system throughput total number of tracks swept average number of tracks swept per r/w request average turnaround time of I/O request