pub const DEFAULT_ITERATOR_READAHEAD_BYTES: usize = _; // 131_072usizeExpand description
Default fixed readahead (bytes) for stores that opt in via
RocksDbTuning::iterator_readahead_bytes — the registry dictionary,
whose only reader is an unbounded sorted walk.
SST files are opened POSIX_FADV_RANDOM (RocksDB advise_random_on_open
default), so the kernel never merges the per-block reads of a scan walk —
on spinning disk every 4 KiB block was an individual ~0.45 ms SATA command.
Iterator-level readahead makes RocksDB itself pre-read a window per miss
(its own buffer, unaffected by the fadvise), which the sorted walks then
consume. Hexastore stores keep 0: their scans carry an iterate upper
bound, so they get the engine’s auto-readahead (8 KiB ramping to
max_auto_readahead_size, trimmed against the scan range) without a fixed
window. Overridable per process with WARATAH_ITERATOR_READAHEAD_SIZE
(KiB); 0 there restores the engine default.