HotshardLearn ↗OS Page CacheREADWRITEFLUSH

OS Page Cache — pick a scenario

0/3 done

Pick one and press Start, then click Next › to step through it.

Watch for

The disk-to-RAM load on the first read, then no disk activity at all on the second.

More about this scenario
You'll learn

Why the second access to a file is so much faster than the first — a hit skips the disk entirely.

How it runs

The first read finds no resident frame, so the kernel reads the 4 KB page off disk into a free frame. The repeat read finds that frame and copies from memory.