Computer Science 330
Operating Systems
Fall 2025, Siena University
Lecture 0x06: CPU Scheduling Wrapup; Threads
Date: Friday, September 26, 2025
Agenda
- Announcements
- The next readings/activities from OS zyBook: Chapter 9,
Sections 2-4, due Friday, October 3 (though it would be helpful
to look at 9.2 by Monday if you can)
- Exam 1 info
- during class Monday, October 6
- all pencil and paper
- short answers, terminology, work through examples, thought questions
- you may use your zyBook and all materials on the course web site/Canvas
- you may refer to your own labs and project code
- topics up to Monday's class (will set topic cutoff for sure at that point)
- Looking at OS zyBook Chapter 7 exercises
- CPU Scheduling real-world examples
- Traditional SysV scheduling
- Fair-share scheduling
- Multiple processors/cores
- Solaris scheduling
- Linux O(1) scheduling
- Linux Completely Fair Scheduler
- FreeBSD: BSD 4.4 and ULE
- Lab 3: Introduction to pthreads [HTML] [PDF]
- Programming Project 1: CPU Scheduler Simulation [HTML] [PDF]
Terminology
- lottery scheduling
- processor affinity