Coordinator: Blaise Liffick
Design and implementation of operating systems including types of operating systems, file systems, resource management, concurrent processes, deadlocks, memory management techniques, processor scheduling, disk scheduling, operating system security and system administration. Students expected to develop significant operating systems programming projects.
C- or higher in CSCI 362 and CSCI 370
- familiar with the basic components of an operating system.
- familiar with some of the classical operating systems issues
- able to study and modify an operating system.
- familiar with the structures of operating systems on various computer platforms.
- familiar with classical problems of concurrency and be able to develop programs using concurrency primitives.
- familiar with tasks of a system administrator on various platforms.
- familiar with security issues related to system protection.
Major Topics Covered
- Early Operating Systems
- Time Sharing
- Real-Time Systems
- Multi-Processor Systems
- Operating System Services
- Types of services
- The user view
- The operating system view
- The Critical Section Problem
- Classical Process Coordination Problems
- Interprocess Communications
- Concurrent Languages
- The problem.
- Memory Management
- Resident Monitors
- Garbage collection
- Placement strategies
- Virtual Memory
- Demand Paging
- Virtual Memory concepts
- Page Replacement Strategies
- Locality and the Working Set
- File Systems
- Access Methods
- Allocation Methods
- Directory Structures
- CPU Scheduling
- Multiprogramming Concepts
- Scheduling Strategies
- Performance Trade-offs
- Disk Scheduling
- Physical Characteristics
- First-Come-First-Serve Scheduling
- Sector Queuing
- Operating System Security.
- Issues in OS security, prevention, detection, monitoring.
- Viruses, worms, Trojan horses.
- Software packages for secure systems.
- System Administration.
- Issues in system administration.
- Adding users, peripherals, networks, email, Internet.
- Startup and shutdown procedures.
- Backup and restore facilities.
- System Accounting.
- Automating routine tasks using shell scripts.
- Other Topics.
- Example operating systems:
- Performance Issues.
- System Tuning.
Sample Laboratory Projects
- (2 weeks) Operating Systems Security Laboratory. The objective of this program is to gain experience in the following areas: (1) Using the Linux Workstations, (2) Writing in C and using Unix Operating System Calls, (3) Checking System security. Write a 'C' program that finds out if any users on the network in the lab have no passwords, find all users that use the same password as their
user names(Joe accounts), and find out the Super Userpassword.
- (3 weeks) Concurrent Processing Laboratory. The objective of this program is to gain experience in the following areas: (1) Concurrent Tasks/Processes, (2) Creation and Manipulation of Processes in the Unix Operating System, (3) Mutual Exclusion problems in the Kernel of an Operating System. Write the concurrent program in the lab handout to spawn three processes, one parent and two children. The two children are to write different messages to the pipe IPC facility. The parent is to continuously loop reading and printing the contents of the pipe. Experiment with various loads on the operating system and report your findings.
- (4 weeks) Memory Management Laboratory. The objective of this laboratory is to gain experience in the following areas: (1) Concurrent Tasks/Processes, (2) Memory Management in an Operating System, (3) Page Replacement Strategies in Memory Management. Write a concurrent program that simulates the various memory management page replacement techniques in Operating Systems. You will need to spawn five processes which are to request memory references from the kernel. The kernel will be the parent process. This kernel process will receive page references and manage the memory of the machine (simulate this with a data structure). Keep track of: Number of pages swapped out to disc, number of page faults, number of page reference no-faults, number of pages swapped IN that we just swapped OUT, and show the pages in memory. Memory will have 4 fixed pages. Each process has its own set of page references, Pl-A, P1-B, P1-C, etc. Process two will have P2-A, P2-B, P2-C, etc. Use three page replacement strategies: FIFO, LRU, LFU. Extra credit for using additional page replacement strategies. Experiment with varying data sets and report your findings.
- (2 weeks) Linux Operating System Administration/Management Laboratory. The objective of this program is to gain experience in the following areas: (1) Performing System Manager Tasks
.(2) Using the Linux Workstations. (3) Operating System and Network Management. Completely load the Linux operating system from its original CDROM to the hard drive on one of computers. Set up all tables, configuration files, network automountings, exports, disc partitions, swap space, set up the superuser password, and all initialization parameters that a system manager would have to do when loading an operating system from scratch. You must load from the CDROM various developer's modules in addition to the "end user" distribution. Do not do a Quick install; instead, do a Custom install where you put all the drives/File systems in one partition.
- (4 weeks) Concurrent Processing Laboratory. The objective of this program is to gain experience in the following areas: (1) Concurrent Tasks/Processes
.(2) Creation and Manipulation of Processes in the Unix Operating System, (3) Mutual Exclusion problems in the Kernel of an Operating System. Write a concurrent program to solve the Readers/Writers Mutual Exclusion Problem in Operating Systems. You will need to spawn five processes, (see lab handout materials).