arXiv:2610.12971cs.OSOct 2026

Manuscript Offprint

arXiv:2610.12971

PredictIO: Decoupling Workload Prediction from OS-Controlled Storage Prefetching

Jun Lu, Yancan Mao, Zhenya Ma, Sheng Yue, Yongjian Fu, Ju Ren

Jun Lu

junlu@tsinghua.edu.cn

Tsinghua University

Beijing, China

Sheng Yue

yuesh5@mail.sysu.edu.cn

Sun Yat-sen University

Guangzhou, China

Yancan Mao

maoyancan@hust.edu.cn

Huazhong University of Science and

Technology

Wuhan, China

Yongjian Fu

fuyongjian@tsinghua.edu.cn

Tsinghua University

Beijing, China

Zhenya Ma

zhenyama99@gmail.com

Tsinghua University

Beijing, China

Ju Ren

renju@tsinghua.edu.cn

Tsinghua University

Beijing, China

Abstract

Storage stalls remain a significant source of application latency even on fast storage devices. Prefetching can hide part of this latency by fetching data before it is demanded, but general-purpose operating-system mechanisms typically infer future accesses from recent file offsets. This approach is ineffective when accesses are determined by workload structure, such as recurring sparse accesses during application launch, logical traversal in database scans, or model-layout metadata in LLM runtimes. Existing workload-aware prefetchers usually embed prediction logic inside individual applications and couple execution to application-level I/O paths, making policies difficult to reuse across workloads and systems.

We present PREDICTIO, a programmable interface that separates workload prediction from prefetch execution. PREDICTIO delivers kernel-observed accesses and application hints to user-space policies, which express predictions as uniform page-range requests. A kernel-space executor validates, bounds, and filters these requests against cached and in-flight pages before issuing asynchronous prefetch I/O. We implement PREDICTIO for application launch, SQLite range scans, and LLM model loading. Across these workloads, PREDICTIO reduces latency by 5.3–26.3%, achieves up to 2.99× speedup for SQLite scans, and reduces LLM loading latency by 8.8–47.9%. We further show that a common prediction policy can be reused across SQLite and LMDB through lightweight adapters, that an application-integrated RocksDB readahead policy can be migrated while preserving its workload selectivity, and that the execution backend determines how much benefit migration provides for different access patterns and storage devices.

1 Introduction

Storage I/O latency remains an important source of application stall time even on fast storage devices. Prefetching hides this latency by loading data into memory before it is demanded. In Linux, the primary general-purpose mechanism is readahead, which fetches nearby file pages based on recently observed file offsets [35, 46]. This works well for streaming workloads, where future accesses are usually close to recent ones, but it relies on spatial locality in the file-offset stream as a predictor of future access. Many modern workloads violate this offset-locality assumption [1, 13, 16, 18, 26, 27, 32, 47, 52]. Application launch touches sparse pages across executables, shared libraries, JAR files, and assets [3, 41]; database range scans traverse B-trees according to logical key order rather than file-offset locality [5, 6]; and LLM runtimes load model shards according to tensor layouts and execution order [28, 33, 39]. In each case, the workload exposes useful structure, but the storage stack ultimately observes only a stream of page accesses. As a result, readahead may fail to identify the right pages early enough, leaving demand I/O on the critical path.

This gap is not merely about more I/O. When future accesses are determined by workload structure rather than offset locality, effective prefetching depends on making prediction signals available before demand occurs. At the root of this limitation is a visibility asymmetry: the kernel sees file offsets, while applications and runtimes often possess the information that makes future I/O predictable in advance. Consequently, improving prefetching is not merely a matter of designing a better kernel heuristic. It calls for a common OS abstraction that makes application-visible knowledge available to the prefetching path without embedding workload-specific semantics in the kernel.

Prior work has explored workload-aware prefetching from two broadly complementary directions. Workload-specific prefetchers exploit database semantics or recurring access history to predict future accesses, demonstrating that workload structure can reveal access patterns invisible to generic kernel heuristics [5, 6, 8, 14, 15, 20, 25, 30, 31, 38, 41]. Application directed and cross-layer designs instead expose hints or interfaces that convey such knowledge to the storage stack, allowing applications or runtimes to guide prefetching.

beyond purely kernel-observed access patterns [11, 12, 36, 43, 49]. However, two important gaps still remain in practice. For prediction, workload-specific logic is often tied to particular applications or hint types, limiting reuse across different systems. For execution, prefetch handling is similarly system-specific, duplicating mechanisms and limiting efficient coordination of the page-cache state, in-flight I/O, and shared storage resources.

Together, these two gaps motivate a common OS abstraction that separates workload-aware prediction from prefetch execution. We present PREDICTIO, a Linux framework that realizes this abstraction. PREDICTIO structures prefetching around two complementary paths: an event path that exports prediction-relevant observations to the user-space runtime, and a request path that imports predicted page ranges into the kernel backend for execution. These paths define two framework-level interfaces: workload events encapsulate the signals from which predictors infer future accesses, while prefetch requests express predictor outputs as target files and bounded page ranges. By standardizing this boundary, PREDICTIO lets predictors use workload-specific logic while the operating system retains control over how predictions are validated, scheduled, and executed.

To demonstrate that the same mechanism supports substantially different forms of predictability, we instantiate three policies. A history-based predictor learns recurring sparse file-access sequences during application launch without modifying applications. A SQLite-aware predictor uses B-tree traversal hints to prefetch upcoming child pages during range scans. An LLM-aware predictor uses model-layout metadata to prefetch file ranges needed during model loading. These policies span kernel-observed history, application-provided structural hints, and runtime metadata across diverse workloads. They differ in their event sources, prediction logic, and degree of application involvement, but all emit the same page-range requests and reuse the same bounded kernel backend.

We implement PREDICTIO as a Linux prototype using eBPF-based observation for kernel-visible accesses, lightweight user-space channels for optional workload hints, and a shared-memory request interface to a bounded asynchronous kernel backend. Microbenchmarks show that event delivery and user-space dispatch sustain high throughput with low per-event overhead. Across three workload families covering application launch, SQLite range scans, and llama.cpp model loading, PREDICTIO reduces application cold-start latency by 5.3–26.3%, accelerates fragmented SQLite range scans by up to 2.99× over baseline execution, and reduces LLM model-loading latency by 8.8–47.9% across three models. We further show that these benefits persist across NVMe SSDs, SATA SSDs, and HDDs despite their substantially different latency and bandwidth characteristics. Together, these results demonstrate that a single, reusable OS abstraction can support diverse workload-aware predictors while delivering end-to-end performance gains.

This paper makes the following contributions:

• We formulate delegated workload-aware prefetching as an OS abstraction problem and present PREDICTIO, separating user-space prediction from bounded, OS-controlled execution in the kernel backend.

• We instantiate PREDICTIO with three substantially different prediction policies based on access history, B-tree traversal structure, and LLM tensor-layout metadata, demonstrating a common request interface across workload-specific predictors.

• We evaluate PREDICTIO across microbenchmarks and end-to-end workloads, showing speedups for application launch, SQLite scans, and LLM loading. We further show policy reuse across storage engines, workload-dependent migration of integrated prefetchers, and benefits across heterogeneous storage devices.