Intel's Skylake-X hides a next-page prefetcher, and one engineer reversed it

Reversing the Next-Page Prefetcher in Skylake-X

Intel documents next-page prefetchers for Ivy Bridge and Redwood Cove but says almost nothing about the chips in between. With free access to a Skylake-X machine, the author sets up perf_event_open counters and walks 1,000 sequential 4K pages to answer five questions: does the prefetcher exist, what triggers it, how many future page-table entries it fetches, where it stores them, and whether it runs forward, backward, or both.

It's unlikely that the details remain unchanged from one microarchitecture to the next but as it turns out, I recently got unlimited access to a Skylake-X machine that I didn't have to pay a single dime for.

More from this day

2026-11-22