CS 3733 Operating Systems, Spring 2007 Recitation Session 12
Week of April 23.
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.
Do as much of this assignment as you can in one recitation period.
Show the TA what you have accomplished.
- Create a Rec12 directory.
- Create a logs subdirectory of Rec12.
- Copy the files runaddress
and addressconfig into your
Rec12 directory.
- Make the runaddress script executable:
chmod 755 runaddress
- Execute the runaddress script to start the simulator.
- If all goes well you will see the main simulator window appear.
Exit the simulator using the quit button in the lower left corner.
- Edit the addressconfig file so that the user line
contains your name.
- Run the simulator again.
- There are two sets of tests, 5 tests using a single level page table and
7 tests using a two-level page table.
- Note that for the 2-level page table, if the valid bit is clear in
a page table entry:
- in the top level page table it indicates an invalid reference.
- in the second level page table is indicates a page fault.
- The tests are in a random order. Do as many as you can.
- Make sure you start by opening the log file using the Open Log
button.
- Each time you open the log file a log file with a distinct name is
created in the logs directory.
- The log file is filled in each time a test is successfully completed.
- 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.
- Feel free to use as many of the Lifelines as you need, and use the
Perform This Step button in the lifeline if necessary.
- 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.
- Show the TA that you have done this.