CS 3733 Operating Systems Recitation Session I1
In this session you will become familiar a simulator for doing
virtual address translation.
A demo of the simulator was be given in class.
In this recitations you will do as many of the single level page
table examples as possible.
Show the TA what you have accomplished.
- You can run this either from Linux or Windows.
To run on our Linux machines:
- Read this if running from VDI
- Log on to your Linux Account.
- Create a directory called recI under your CS 3733 directory.
- Create a logs subdirectory of RecI.
- Copy the files runaddress
and addressconfig into your
RecI directory.
- Make the runaddress script executable:
chmod 755 runaddress
- Execute the runaddress script to start the simulator.
To run from windows directly:
- Download this zip file into a directory called RecI.
You can get a copy of this tar file by executin g the command:
wget /simulators/zipfiles/address.zip
- If you are using VDI, make sure this is on your V drive.
- Unzip the contents to recI.
- Create a logs subdirectory of RecI.
- Run the simulator by double clicking on runaddress.bat
- If asked to edit a file, you can use notepad.
- 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.
- The tests are in a random order. Do as many of the
single level page table tests as you can. The other will be done in anoter recitation.
- 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 during 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,
but try to understand what is being done.
- Show the TA your log file(s).