CS 3733 Operating Systems, Fall 2008 Recitation Session 11


November 26

In this session you will become familiar a simulator for doing virtual address translation.

A demo of the simulator was be given in class.
Do as much of this assignment as you can in one recitation period.
Show the TA what you have accomplished.

  1. Create a Rec11 directory.
  2. Create a logs subdirectory of Rec11.
  3. Copy the files runaddress and addressconfig into your Rec11 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. Note that for the 2-level page table, if the valid bit is clear in a page table entry:
  11. The tests are in a random order. Do as many as you can.
  12. Make sure you start by opening the log file using the Open Log button.
  13. Each time you open the log file a log file with a distinct name is created in the logs directory.
  14. The log file is filled in each time a test is successfully completed.
  15. 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.
  16. Feel free to use as many of the Lifelines as you need, and use the Perform This Step button in the lifeline if necessary.
  17. 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.
  18. Show the TA that you have done this.