Depth of Code

Hani’s blog

Book: Operating Systems - Three Easy Pieces

Dec 22, 2019

Operating Systems: Three Easy Pieces

TLDR; 5/5. A very highly recommended reading!

Operating Systems: Three Easy Pieces (OSTEP) is a freely-available online textbook. At around +700 pages, this was certainly a lengthy read. Surprisingly, it was easy to digest and well worth the investment, confirming the great reviews that I’ve seen on Hacker News.

What I did like the most about this book is the iterative approach where a problem is tackled multiple times, starting with a naive approach, outlining its issues and explaining improvements and trade-offs until a satisfying solution is reached, while linking to relevant research papers that are out of the book’s scoop.

The chapters on Distributed Systems were a nice addition, more so because I was still actively interviewing back when I was going through the book, and they certainly helped with some system design interviews.

The only parts that I found lacking were the “simulation homeworks” which incurred more efforts than they were worth IMO.

Below is a summary in bullet points of the various ideas and topics discussed in the book.

Part 1: Virtualization (CPU)

Part 1: Virtualization (Memory)

Part 2: Concurrency

Part 3: Persistence

Modern System Architecture

Part 3: Distributed Systems