Partial preview of the text
Download CSE 120 Final Review: Principles of Operating Systems - Prof. Geoffrey M. Voelker and more Exams Computer Science in PDF only on Docsity!
CSE 120
Principles of Operating
Systems
Spring 2009
Final Review
Geoffrey M. Voelker
Course Plugs
If you like CSE 120 topics, you might find some other courses
interesting next year
CSE 121: Operating Systems: Architecture and Implementation
CSE 123a & 123b: Networking
CSE 125: Software System Design and Implementation
CSE 127: Introduction to Computer Security
CSE 128: Concurrency (not sure if it’s taught next year)
Final Mechanics
Bulk of the final covers material after midterm
Memory management, file systems, advanced topics
Some material on concurrency, synchronization
Synch primitives, synch problems
Based upon lecture material, homeworks, and project
I will use at least one question from this review on the exam
Closed book, one 8.5”x11” sheet of notes
Yes, just one
Sample final on class web site
Again, please, do not cheat
Memory Management
Why is memory management useful?
Why do we have virtual memory if it is so complex?
What are the mechanisms for implementing MM?
Physical and virtual addressing
Partitioning, paging, and segmentation
Page tables, TLB
What are the policies related to MM?
Page replacement
What are the overheads related to providing memory
management?
Paging
How is paging different from partitioning?
What are the advantages/disadvantages of paging?
What are page tables?
What are page table entries (PTE)?
Know these terms
Virtual page number (VPN), page frame number (PFN), offset
Know how to break down virtual addresses into page
numbers, offset
How have you implemented paging in Nachos?
Page Table Entries
What is a page table entry? In Nachos?
What are all of the PTE bits used for?
Modify
Reference
Valid
Protection
Page Tables
Page tables introduce overhead
Space for storing them
Time to use them for translation
What techniques can be used to reduce their
overhead?
How do two-level (multi-level) page tables work?
TLBs
What problem does the TLB solve?
How do TLBs work?
Why are TLBs effective?
How are TLBs managed?
What happens on a TLB miss fault?
What is the difference between a hardware and
software managed TLB?
Advanced Mem Management
What is shared memory?
What is copy on write?
What are memory mapped files?
Page Replacement
What is the purpose of the page replacement
algorithm?
What application behavior does page replacement try
to exploit?
When is the page replacement algorithm used?
Understand
Belady’s (optimal), FIFO, LRU, Approximate LRU, LRU Clock,
Working Set, Page Fault Frequency
What is thrashing?
Disk Scheduling
How can disk scheduling improve performance?
What are the issues in disk scheduling?
Response time, throughput, fairness
Review
FCFS, SSTF, SCAN, C-SCAN
File Systems
Topics
Files
Directories
Sharing
Protection
Layouts
Buffer Cache
What is a file system?
Why are file systems useful (why do we have them)?
Protection
What is file protection used for?
How is it implemented?
What are access control lists (ACLs)?
What are capabilities?
What are the advantages/disadvantages of each?
File System Layouts
What are file system layouts used for?
What are the general strategies?
Contiguous, linked, indexed?
What are the tradeoffs for those strategies?
How do those strategies reflect file access methods?
What is an inode?
How are inodes different from directories?
How are inodes and directories used to do path resolution,
find files?