CSS
430: Operating Systems
Spring 2008
T/Th 8:00-10:05pm
Room: UW1-010
Prof. Kelvin Sung
Kelvin Sung <ksung@u.washington.edu>, room UW1-339, phone 352-5420, office hours: Tuesday/Thursday 5:40-6:40 pm (or by appointment).
This course introduces the logical design of operating systems, especially focusing on the design in Java. Topics covered include processes, threads, CPU scheduling, synchronization, deadlocks, memory management, virtual memory, file systems, I/O systems, protection, and security used in the popular desktop and real-time operating systems.
CSS343.
|
Course Work |
Percentage |
|
Assignment 1 |
8% |
|
Assignment 2 |
8% |
|
Assignment 3 |
8% |
|
Final Project |
14% |
|
Class Participation |
2% (Guest Lecture) |
|
Weekly Quiz |
10% (Weekly on the Web) |
|
Midterm Exam |
25% |
|
Final Exam |
25% |
All programs except the final project are to be done independently. Any collaboration of work will result in severe penalty. You may discuss the problem statement and any clarification with each other, but any actual work to be turned in, must be done without collaboration.
The final project may be done by a team of two, (or three students if you cannot find a single partner), in which case each student must achieve an equally amount of work. (If you work with other two students, you must explain the reasons in your report. Otherwise you will receive only 2/3 of the full score.) For the detailed instructions, see the project assignment sheet.
Any homework is due at the beginning of class for both its hardcopy and softcopy on the due date. Both copies must be submitted. The submission may be postponed only in emergencies such as accidents, sickness, sudden business trips, and family emergencies, in which case you may turn in your homework late with a written proof. No make-up exams will be given except under exceptional circumstances. Barring emergencies, I must be informed before the exam.
To request academic accommodations due to a disability, please contact Disability Support Services (DSS) in UW1-181, (email: rlundborg@uwb.edu, Phone: 425-352-5307, TDD: 425-352-5303, and FAX: 425-352-5455). If you have a documented disability on file with the DSS office, please have your DSS counselor contact me and we can discuss accommodations.
The overall goal of CSS 430 is to learn fundamental concepts that are used in and applicable to a variety of operating systems. The course consists of three major concepts: (1) process management that schedules, executes, synchronizes with events, and terminates your application programs, (2) memory management that loads your programs in memory and allocates/de-allocates memory space they requested dynamically, and (3) file system that provides the mechanism for on-line storage of and access to both data and programs residing on the disks. The course also covers protection, (and security if time is allowed) which are essential to have the modern operating systems work in the Internet computing world. Through the course, we will use Java to illustrate many operating-system concepts. Using Java, you will implement each concept of process management, memory management, and file system. As with most technical courses, besides ability and motivation, it takes time to learn and master the subject. Expect to spend an additional 10 to 15 hours a week outside of class time on the average.
ssh -l your_linux_account uw1-320-lab.bothell.washington.edu
javac your_program1.java your_program2.java ...
Upon a successful compilation, you will get an your_program1.clas, your_program2.java ...
java your_program1
To run our ThreadOS simulator with your assignment, type:
java Boot
tar -cvf - your_program1.java your_program2.java > program1.tar * * * * * * (A space must be inserted at each of these * marks.)
|
Criteria |
Percentage |
|
Documentation of your report including explanations, illustrations, discussions, and output consideration |
30% |
|
Correctness of your program (Syntax errors, run-time errors, and/or incorrect answers will result in a significant number of points being deduced from your grade). Also reassure that you have used the algorithm as specified in each assignment |
50% |
|
Organization of your program (modularization, coding style, and an appropriate amount of comments) |
20% |
Note that this is an approximate ordering of topics. Chapters will take about the allotted time and not all sections in all chapters are covered.
|
Week |
Date |
Topics |
Chapters |
Assignment |
|
1 |
Apr 1 |
Introduction |
1 |
|
|
|
Apr 3 |
OS Structures |
2 |
|
|
2 |
Apr 8 |
Process Management |
3 |
|
|
|
Apr 10 |
|
|
|
|
3 |
Apr 15 |
Threads |
4 |
Program 1 due |
|
|
Apr 17 |
CPU Scheduling |
5 |
|
|
4 |
Apr 22 |
|
|
|
|
|
Apr 24 |
Process Synchronization |
6 |
|
|
5 |
Apr 29 |
Catch up |
|
Program 2 due |
|
|
May 1 |
Deadlocks |
7 |
|
|
6 |
May 6 |
Midterm exam in class |
Chap: 1-6 |
|
|
|
May 8 |
|
|
|
|
7 |
May 13 |
File-System Interface |
10 |
|
|
|
May 15 |
File-System Implementation |
11 (Except 11.8 – 11.10) |
|
|
8 |
May 20 |
Final Project Explanation |
|
Program 3 due |
|
|
May 22 |
|
|
|
|
9 |
May 27 |
Memory Management |
8 |
|
|
|
May 29 |
|
|
|
|
10 |
Jun 3 |
Virtual Memory |
9 |
|
|
|
Jun 5 |
Guest Lecture: Dave Probert |
Windows XP: as example |
Final Project Due |
|
11 |
Jun 10 |
Final exam in class |
Chap: 8 – 11 (Except 11.8 – 11.10) |
|
The materials (including lecture
notes and assignments) used in this course are based on the contents developed
by Professor Munehiro Fukuda.