Provide the theoretical upper bound: evict the entry whose next use is farthest in the future.
OPT requires future knowledge, so it’s implemented as a simulator over a known access trace:
1. 2.3.
Common data structures:
- -
Useful for benchmarks: comparing FIFO/LRU/LFU/LRU-K against OPT on fixed traces.
- -