iocost · shipping · also I/O cost model based controller

IOCost

IOCost is a Linux block-I/O controller that distributes service among cgroups using modeled device occupancy and proportional weights.

Accounting: modeled cost represents occupancy, not the completion latency of an individual request. The linear model distinguishes read/write, sequential/random access and request size. Equal bytes or IOPS need not consume equal modeled service. [1]

Sharing: hierarchical weights influence budgets; unused budget can be donated to active groups. Device feedback adjusts the overall issuance rate. This combines proportional allocation with work conservation, rather than assigning every group a fixed IOPS allowance. [1]

Configuration: Linux 6.12 exposes device-keyed io.cost.model and io.cost.qos only in the root cgroup; io.weight belongs to non-root groups. Latency percentiles and thresholds in io.cost.qos govern device-level feedback, not separate application deadlines. [2]

Relations

related
cgroup v2 I/O controller, I/O scheduler

Limitations

  • Model calibration and feedback affect achieved sharing; weights alone do not guarantee a fixed throughput ratio. [1, 3]
  • IOCost availability requires kernel support and device enablement; selecting an elevator does not itself enable this controller. [2, 3]

Citations

  1. Heo et al. IOCost: Block IO Control for Containers in Datacenters. ASPLOS 2022, sections 3.1-3.6; DOI 10.1145/3503222.3507727. (accessed 2026-11-16)
  2. Linux 6.12: cgroup v2 I/O interface files (accessed 2026-11-16)
  3. Linux v6.12: blk-iocost.c, cost model, feedback and cgroup interfaces (accessed 2026-11-16)

Further reading

  1. Hesela: Sharing an SSD: who pays for the slowdown? (accessed 2026-11-16)
Sources & caveats
  • Source synthesis from the ASPLOS 2022 paper and Linux v6.12; no hardware benchmark or controller experiment was performed.

JSON: /data/terms/iocost.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. IOCost. Hesela. 2026-11-16. https://hesela.dev/terms/iocost/