OS · written course
What the machine is doing while your program runs
What the machine is really doing while your program runs.
Start reading32 pages · about 170 minutes
By the end of this course
Your program thinks it owns the computer. It does not: it owns a convincing illusion, built by software that decides when it runs, what memory it can see, and what happens when it asks for a file. By the end you can read a scheduling table, compute a page fault rate, spot a deadlock and explain why your laptop slows to a crawl when memory runs out.
All 32 pages
- 1Eight programs, four cores, no waiting5 min read
- 2From power on to a login prompt5 min read
- 3The instruction your program is not allowed to run5 min read
- 4How a program asks for something it cannot do5 min read
- 5What a process actually is5 min read
- 6Running, waiting, and the cost of swapping5 min read
- 7Where a new process comes from5 min read
- 8Threads, and the shared memory that bites5 min read
- 9Choosing between the two5 min read
- 10Talking across the boundary5 min read
- 11When two threads touch the same thing5 min read
- 12Mutexes, semaphores and the bathroom key5 min read
- 13Three tools that look alike5 min read
- 14Three problems worth knowing by name6 min read
- 15Two threads, two locks, no progress6 min read
- 16Four ways to deal with it5 min read
- 17Deciding who runs next6 min read
- 18Deciding who runs next6 min read
- 19When late is the same as wrong5 min read
- 20Fitting programs into memory5 min read
- 21Finding room for a program5 min read
- 22Dividing memory by meaning5 min read
- 23Paging: memory that is not contiguous6 min read
- 24Running a program bigger than your RAM6 min read
- 25Choosing what to evict6 min read
- 26When the machine stops doing work5 min read
- 27How a folder tree is stored on a flat disk5 min read
- 28How a file is actually stored6 min read
- 29The order requests reach the disk5 min read
- 30Why the disk is the slowest thing you own5 min read
- 31Many systems on one machine6 min read
- 32Who is allowed to do what6 min read
Then what
Reading is the first half. When you finish, the questions for this subject test whether it went in, and every wrong option tells you why it was wrong rather than just that it was.
See the questions for OS