CS 3733 Operating Systems, Fall 2004 Recitation Session 12


Beginning week of November 22. In this session you will become familiar a new simulator for doing virtual address translation.

A demo of the simulator will be given in class on Tuesday, November 23.
The simulator program is still under development and may not work exactly as planned.
Do as much of this assignment as you can in one recitation period.
Show the TA what you have accomplished.

The files needed to this recitation may not be available until Tuesday afternoon.

  1. Create a Rec12 directory.
  2. Create a logs subdirectory of Rec12.
  3. Copy the files runaddress and addressconfig into your Rec12 directory.
  4. Make the runaddress script executable:
    chmod 755 runaddress
  5. Execute the runaddress script to start the simulator.
  6. If all goes well you will see the main simulator window appear.
    Exit the simulator using the quit button in the lower left corner.
  7. Edit the addressconfig file so that the user line contains your name.
  8. Run the simulator again.
  9. There are two sets of tests, 5 tests using a single level page table and 7 tests using a two-level page table.
  10. The tests are in a random order. Do as many as you can.
  11. Make sure you start by opening the log file using the Open Log button.
  12. Each time you open the log file a log file with a distinct name is created in the logs directory.
  13. The log file is filled in each time a test is successfully completed.
  14. The simulator keeps track of which tests you have completed diring each session.
    If you quit the simulator and start it again, you will need to remember which tests you have completed so you do not redo them.
  15. Feel free to use as many of the Lifelines as you need, and use the Perform This Step button in the lifeline if necessary.
  16. When you are done, move the log files to your web directory and put a link to each of them on your course web page.
  17. Show the TA that you have done this.