pyramid: Optimize I/O scheduling