Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
ReadAhead
Edit
PageHistory
Diff
Info
LikePages
A strategy to reduce the overhead of caching. It increases the likelihood of data being in [Cache] by the time it is needed by reading more data than actually requested from the cached backend on cache miss. This is (perhaps surprisingly) effective because truly randomly spread accesses only usually happen in tightly confined areas (like a function's local variables on the stack, where the [CPU] memory [Cache] is concerned), while accesses outside cached areas tend to be long, sequential reads or writes. The [Cache] may even serve the requested piece of data while the rest of the ReadAhead is still pouring in, reducing the latency of cache miss responses.
One page links to
ReadAhead
:
Cache