English

Leveraging I/O Stalls for Efficient Scheduling in ANNS

Databases 2026-05-20 v1

Abstract

Disk-based graph indexes for approximate nearest neighbor search (ANNS) must serve latency-sensitive queries and throughput-demanding updates concurrently. We observe that over 40% of search-thread CPU time is spent stalling on disk I/O; such idle cycles are invisible to thread-level scheduling yet available for other work. We present LIOS(Leverage I/O Stall), a framework that executes index updates inside search-side I/O stall windows. LIOS introduces three techniques: (i) splitting each update into resumable subtasks small enough to fit within a single stall window; (ii) bounding the expected overrun of update subtasks to a given threshold; and (iii) dynamically adjusting the fraction of idle time devoted to updates to drive end-to-end search latency degradation toward a user-specified target. We integrate LIOS into two update-optimized ANNS systems, FreshDiskANN and OdinANN. LIOS achieves speedups of up to 2.68×\times in insertion and 2.18×\times in deletion, with search latency degradation maintained near the user-specified target.

Cite

@article{arxiv.2605.19335,
  title  = {Leveraging I/O Stalls for Efficient Scheduling in ANNS},
  author = {Juncheng Zhang and Yuanming Ren and Yongkun Li and Patrick P. C. Lee},
  journal= {arXiv preprint arXiv:2605.19335},
  year   = {2026}
}
R2 v1 2026-07-22T07:20:51.805Z