CSE422S: Operating Systems Organization (Fall 2006)
Lecture Slides and Handouts
- Lecture 17: File Systems
( pdf ),
Hot Topics ( pdf ),
Exam 2 ( pdf )
(Mon, Dec 11, 2006)
- Lecture 16: Basic I/O
( pdf )
(Wed, Nov 29, 2006)
- Lecture 15: Virtual Memory (Part 2)
( pdf )
(Mon/Wed, Nov 27/29, 2006)
- Lecture 14: Virtual Memory (Part 1)
( pdf )
(Mon, Nov 20, 2006)
- Lecture 13: Memory Management
( pdf )
(Mon/Mon, Nov 13/Nov 20, 2006)
- Lecture 12a: Project B
( pdf )
(Wed, Nov 18, 2006)
- Lecture 12: Threads
( pdf )
(Mon/Wed, Nov 6/8, 2006)
- Lecture 11: Unix Signals
( pdf )
(Mon/Wed, Oct 30/Nov 1, 2006)
- Lecture 10: Unix Pipes
( pdf )
(Wed, Oct 25, 2006)
- Lecture 9: CPU Scheduling
( pdf )
(Mon/Wed, Oct 23/25, 2006)
- Lecture 8: Deadlock
( pdf )
(Wed, Oct 18, 2006)
- Lecture 7: Classic Synchronization Problems
( pdf )
(Wed/Mon, Oct 11/16, 2006)
- Lecture 6: Homework 3 Discussion
( pdf )
(Mon, Oct 9, 2006)
- Lecture 5: Synchronization
( pdf )
(Mon/Wed/Mon, Oct 2/4/9, 2006)
- Lecture 4: Homework 2 Discussion
( Homework 2 )
(Wed, Sep 27, 2006)
- Lecture 3: Using an OS
( pdf )
(Wed/Mon, Sep 13/18, 2006)
- Lecture 2: Computer Architecture
( pdf )
(Wed/Mon, Sep 6/11, 2006)
- Lecture 1: Introduction ( pdf )
(Wed, Sep 30, 2006)
- Assessment 1 (Wed, Aug 30, 2006)
Homework Assignments
- Homework 9
- Homework 8
- Homework 7
- Homework 6
- Due Date: Wed, Nov 1 in class (or
by noon Fri, Nov 3 in my office)
- The assignment
( pdf ),
the FAQ ,
the Full Solution and
the Solution Comments
- Homework 6 Lecture
( pdf )
(Mon, Oct 30, 2006)
- Homework 5
- Homework 4
- Due Date: Wed, Oct 4 in class
- The assignment
( pdf ),
the FAQ , and
the Solution Comments
- Problem 1 Solution tar file
If you get the tar file and store it in hw4-1-sol.tar, you
can untar the file in the current directory using: tar xf hw4-1-sol.tar
- Be careful where you untar because the file names are the same
as those in the hw4-1.tar file below.
- This link will be removed in one week.
- Problem 1 tar file
If you get the tar file and store it in hw4-1.tar, you
can untar the file using: tar xf hw4-1.tar
Or get the files individually here:
Makefile,
stdinc.h,
xsshA.c.
Or get the zip file
and unzip it.
- Using <map>.
- Here is how map can
be used as a symbol table.
- test28.C is a test program
that shows how to map to a char *
- test28f.C is a test
program that shows how to map to a function.
Ignore this if you don't have any experience
with <map>.
- Homework 3
- Homework 2
- Due Date: Wed, Sep 20 in class
- The assignment
( pdf ),
the FAQ ,
the Full Solution
- Tar file
containing Makefile, membench.c, template.gp
that uses scripts and gnuplot to give you a
"one stop" method of running membench and getting
a postscript plot.
If you name the tar file
membench.tar,
- The command 'tar tf membench.tar' will list the
contents of the tar file.
- The command 'tar xf membench.tar'
will create the 3 files in the current directory.
- The command 'make' will build the executable and run
a sequence of commands that will culminate
in the creation of the file generic.ps that
is a postscript file containing the plot.
This file can be printed on a postscript printer
or viewed with the 'gv', 'gs' or 'ghostview' utility.
If using 'gs', try 'gs -sDEVICE=x11 generic.ps' when
trying to view the generic.ps postscript file.
- timeit.c file for Problem 8.
You will need to add a few lines to get it to compile and
run properly.
Homework 1
- Due Date: Wed, Sep 13, in class
- The assignment
( pdf ),
the FAQ ,
Problem 1 Code
- Three different solutions are in this
tar file
which you can extract using "tar xf hw1-3.tar.
It includes these files:
Projects
- Project B
- Project A
- The assignment
( pdf )
and the FAQ
- Due Dates:
- Mid: Mon., 2400 Hours, Oct 16
(Electronic submission only)
- Final: Mon, 2400 Hours, Oct 23
(Electronic submission) and
Tue, 1800 Hours (6 PM), Oct 24
(Hardcopy)
- Final Late Date (20 point penalty): Wed, 2400 Hours,
Nov 1 (Electronic submission) and
Thu, 1800 Hours (6 PM), Nov 2
(Hardcopy)
- A.txt
- guide.txt
- Scribe Notes (Unedited):
Scribe 1 (Oct 9),
Scribe 2 (Sep 27),
Scribe 3 (Sep 27)
- A short (somewhat amusing)
Coding Style Guide
- Example of
getopt for processing command-line arguments.
- The sample
Makefile . You will probably have
to modify it to suit your programs.
- Documentation Template
- Grading Form
This is only a guide.
- Perl script
which "cleans" your shar file.
If you are worried that your shar file is bad, you can
use the above perl script to see if the file is ok:
- REMINDER: Do NOT send non-ASCII files (e.g., word
documents, binaries).
- Read the documentation header in the script.
NOTE that you may have to change the pathname in
the first line of the script to point to the
location of your perl interpreter.
- Make your shar file (suppose it is called A.shar).
- Then, run "cleanshar.pl A.shar". If it finds anything
wrong, it will try to fix it and save the old copy.
cleanshar.pl only fixes non-conformant shar files.
It can not read your mind.
- Look at the contents of A.shar using less (more) or
an editor. You should see a list of your files.
- If you are still worried, then email the file to yourself:
mail -s "my shar test" YourLogin < A.shar.
- Read your email and save the email to a file IN A
DIRECTORY AWAY FROM YOUR SOURCE CODE (e.g., ~/tmp/A.email).
- Edit ~/tmp/A.email to remove mail headers, etc. and save
it to a file (e.g., A.shar). It's just your files with
some Bourne shell stuff surrounding it. There should be
a table of contents near the top that lists your files.
- Extract the files: cd ~/tmp; sh A.shar. The files should
be in your ~/tmp directory or whereever you are at this
point.
- Project A Test Files
You can get the test files in one of the three formats listed below.
Each file contains the same set of files.
Look at the README file for how I use them for testing.
Note that the instructions are structured for my use.
Quizzes
Exams