Search⌘ K
AI Features

Simulator

Explore how flash-based SSDs work through a detailed simulator that models ideal, direct, and log-structured SSD types. Understand how logical and physical pages interact, how workloads of reads, writes, and trims are processed, and gain insights into garbage collection and performance statistics. This lesson helps you understand SSD persistence mechanics by running and analyzing various simulated workloads.

We'll cover the following...

Welcome to ssd.py, yet another wonderful simulator provided to you, for free, by the authors of OSTEP, which is also free. ...

Terminal 1
Terminal
Loading...

To run the simulator, you just do the usual in the terminal above:

prompt> ./ssd.py

The simulator models a few different types of SSDs. The first is what we’ll call an ideal SSD, which actually isn’t much an SSD at all; it’s more like a perfect memory. ...