| Title: | Operating Systems 2 |
|---|
| Code: | OS2 |
|---|
| Ac.Year: | ukončen 2005/2006 |
|---|
| Term: | Summer |
|---|
| Study plans: | |
|---|
| Language: | Czech |
|---|
| Private info: | http://www.fit.vutbr.cz/study/courses/OS2/private/ |
|---|
| Credits: | 6 |
|---|
| Completion: | examination (written) |
|---|
Type of instruction: | | Hour/sem | Lectures | Sem. Exercises | Lab. exercises | Comp. exercises | Other |
|---|
| Hours: | 39 | 0 | 0 | 8 | 18 |
|---|
| | Examination | Tests | Exercises | Laboratories | Other |
|---|
| Points: | 57 | 15 | 0 | 0 | 28 |
|---|
|
|---|
| Guarantee: | Lampa Petr, Ing., CC |
|---|
| Lecturer: | Lampa Petr, Ing., CC |
| Instructor: | Kašpárek Tomáš, Ing., CC |
|---|
| Faculty: | Faculty of Information Technology BUT |
|---|
| Department: | Computer Centre FIT BUT |
|---|
| Prerequisites: | |
|---|
| | | Learning objectives: |
|---|
The goal is to acquaint students with the principles and concepts that are used as a basis of modern operating systems kernels. | | Description: |
|---|
Basic concepts, operating system kernel, kernel structure. Parallel programming and synchronization withe a view to kernel synchronization. Deadlock, deadlock detection and prevention. Scheduling algorithms for uniprocessor systems. Memory management, virtual memory, paging, virtual memory implementation. Input/Output, synchronous and asynchronous I/O, drivers, optimalization of disk operations, File systems, disk space allocation, metadata structures, failure recovery, file system examples. Security and protection. | | Knowledge and skills required for the course: |
|---|
C language programming in Unix environment, computer architecture, Intel x86 assembler, basic principles of operating systems. | | Subject specific learning outcomes and competences: |
|---|
Students are acquainted with the parallel programming using POSIX threads, usage of synchronization primitives, virtual memory and file system. | | Generic learning outcomes and competences: |
|---|
A deeper understanding of computer systems and system programming. | | Syllabus of lectures: |
|---|
- Kernel structure, interface, system calls, context switch, interrupts,
- System interface, Unix systems interface, standardization, SVID, XPG,
- Paralel programming, synchronization, synchronization mechanisms,
- Scheduling, strategy, implementation, batch, real-time, time sharing
- Processes and threads, POSIX threads, synchronization, signals, process
- Files systems, organization, space allocation, free space allocation,
- Virtual memory, TLB, cache, page tables, examples (ix86, MIPS, 680x0),
- Input and output, drivers, synchronous and asynchronous operations, Unix
- Programming environment, libraries, dynamic libraries, binary formats,
- Security and protection, system access, data protection.
| | Syllabus of computer exercises: |
|---|
- Unix programming environment - gcc, ld, gdb, make.
- Parallel system verification - spin and PROMELA.
- Running processes, process state, job control.
- Inter process communication in Unix - shared memory, message queue, semaphores.
| | Syllabus - others, projects and individual work of students: |
|---|
- Verification of parallel algorithm using spin.
- Fork and sychronization.
- Message passing in Unix.
- Signals and signal handling.
| | Fundamental literature: |
|---|
- Andrews, G.R.: Foundations of Multithreaded, Parallel, and Distributed Programming, Addison-Wesley, 2000, ISBN 0-201-35752-6
- Vahalia, U.: Unix Internals: The New Frontiers, Prentice-Hall, 1996, ISBN 0-13-101908-2
- Schimmel, K.: UNIX Systems for Modern Architectures: Symmetric Multiprocessing and Caching for Kernel Programmers, Addison-Wesley, 1994, ISBN 0-201-63338-8
- McKusick, M.K., Bostic, K., Karels, M.,J., Quaterman, J.S.: The Design and Implementation of the 4.4BSD Operating System, Addison-Wesley, 1996, ISBN 0-201-54979-4
| | Study literature: |
|---|
- Bic, L., Shaw, A.C.: Operating Systems Principles, Prentice-Hall, 2003, ISBN 0-13-026611-6
- Tannenbaum, A.S.: The Modern Operating Systems, Prentice-Hall, 2001, ISBN 0-13-031358-0
| | Progress assessment: |
|---|
Written mid-term exam (20 points) and submitted project in due date. | | |
|