{
  "added_at": "2026-11-06",
  "category": "reconstruction-cases",
  "description_en": "CPQ IO Scheduler reconstructs Xiaomi's proprietary cpq.ko Linux block scheduler from a stripped ARM64 kernel module. Its out-of-tree C implementation combines priority classes, thread-group queues, deadline handling, and blk-mq elevator integration, with a whitepaper and author-reported benchmarks.",
  "description_zh": "CPQ IO Scheduler 从已剥离符号的 ARM64 cpq.ko 内核模块还原小米的 Linux 块设备调度器。独立 C 模块实现优先级类别、线程组队列、期限处理及 blk-mq elevator 集成，并附技术论文和作者报告的基准测试。",
  "entry_url": "https://awesomerea.org/resources/cpq-iosched-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/cpq-iosched-case/",
  "evidence_url": "https://github.com/Rasenkai/CPQ_IOSched/blob/ed5989340818224d58b0fba9b4f4aebd99545e3d/README.md",
  "group": "cases",
  "id": "cpq-iosched-case",
  "json_url": "https://awesomerea.org/resources/cpq-iosched-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/cpq-iosched-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/cpq-iosched-case/index.md",
  "name": "CPQ IO Scheduler: reconstructing Xiaomi's block scheduler",
  "name_zh": "CPQ IO Scheduler：还原小米的块设备调度器",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirement_facets": [
    "prerequisites",
    "testing",
    "license"
  ],
  "requirements": [
    "Building requires Linux kernel headers for the block layer and scheduler APIs; the author reports testing on Linux 6.1 with RK3588 and eMMC 5.1.",
    "The author reports a 5-of-6 workload win against mq-deadline, with about 1.9% average IOPS uplift.",
    "GPL-2.0 license, as stated in the README and source-file notice."
  ],
  "requirements_zh": [
    "构建需要 Linux 内核块设备层与调度器 API 头文件；作者报告在 RK3588 和 eMMC 5.1 的 Linux 6.1 环境中测试。",
    "作者报告在六种负载中有五种优于 mq-deadline，平均 IOPS 提升约 1.9%。",
    "README 和源码标注许可证为 GPL-2.0。"
  ],
  "targets": [
    "binary"
  ],
  "url": "https://github.com/Rasenkai/CPQ_IOSched",
  "verification": "source-reviewed",
  "verified_at": "2026-11-06"
}
