# 旋转延迟

**旋转延迟**（也称旋转延时）是指磁盘驱动器在磁头到达正确磁道后，等待目标数据扇区旋转到读写磁头下方所花费的时间。它是硬盘访问的三个机械组成部分之一，另外两个是[寻道时间](https://www.edgepedia.org/zh/seek-time)（将磁头移动到正确磁道）和传输时间（在数据经过磁头下方时读取或写入数据）。<sup>[1](https://web.stanford.edu/class/archive/ee/ee108b/ee108b.1082/handouts/lect.16.IO_Devices.4up.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 寻道完成后，等待目标扇区旋转到读写磁头下方所花费的时间<sup>[1](https://web.stanford.edu/class/archive/ee/ee108b/ee108b.1082/handouts/lect.16.IO_Devices.4up.pdf)</sup> |
| 平均值 | 一整圈旋转时间的一半，因为目标扇区平均位于磁盘的半圈处<sup>[2](https://pages.cs.wisc.edu/~solomon/cs537-old/last/disksched.html)</sup> |
| 7200 RPM 驱动器 | 整圈旋转 8.33 毫秒；平均旋转延迟 4.17 毫秒<sup>[2](https://pages.cs.wisc.edu/~solomon/cs537-old/last/disksched.html)</sup> |
| 10000 和 15000 RPM 驱动器 | 平均延迟分别为 3.0 毫秒和 2.0 毫秒（IBM Ultra160 SCSI 驱动器）<sup>[3](https://public.dhe.ibm.com/systems/support/system_x_pdf/32p0743.pdf)</sup> |
| 占访问时间的比例 | 在大多数磁盘上，旋转延迟约占随机小请求总时间的 33%，对于 256 KB 请求降至 15%<sup>[4](https://www.usenix.org/legacy/publications/library/proceedings/fast02/full_papers/lumb/lumb_html/index.html)</sup> |
| 实测值与标称值 | 在一项工作负载研究中，实际平均旋转延迟约为标称值的 60%<sup>[5](https://research.ibm.com/publications/the-performance-impact-of-io-optimizations-and-disk-improvements)</sup> |
| 消除 | 固态硬盘没有旋转介质，因此旋转延迟不适用于它们 |

## 它在磁盘访问时间中的位置

硬盘驱动器由旋转盘片上方的可移动磁头组成。每次读取或写入包含三个主要组成部分：寻道时间，将臂定位到正确磁道上方；旋转延迟，等待目标扇区旋转到磁头下方；传输时间，移动数据块。这些仅代表驱动器的原始性能；总线、控制器和缓存效应会增加额外延迟。<sup>[1](https://web.stanford.edu/class/archive/ee/ee108b/ee108b.1082/handouts/lect.16.IO_Devices.4up.pdf)</sup> 一个常用的总结公式是：

\[ t_{\mathrm{I/O}} = t_{\mathrm{seek}} + t_{\mathrm{latency}} + t_{\mathrm{transfer}} \]

由于磁盘以恒定速率旋转，且目标扇区的角位置实际上是随机的，等待时间在零到一整圈旋转之间均匀分布，因此平均值为半圈旋转。<sup>[2](https://pages.cs.wisc.edu/~solomon/cs537-old/last/disksched.html)</sup> 最大延迟等于一整圈旋转的时间，发生在扇区刚刚经过磁头下方时。<sup>[6](https://people.math.carleton.ca/~daniel/teaching/228/lect2.pdf)</sup>

## 转速与典型值

旋转延迟完全由主轴转速决定，通常以每分钟转数（RPM）表示。<sup>[1](https://web.stanford.edu/class/archive/ee/ee108b/ee108b.1082/handouts/lect.16.IO_Devices.4up.pdf)</sup> 以毫秒为单位的旋转时间为 60000 除以 RPM，平均延迟为其一半：

\[ t_{\mathrm{latency,avg}} = \frac{0.5}{\mathrm{RPM}/60} \]

常见转速及其后果：

- **5400 RPM**：一圈旋转需要 11.1 毫秒，因此平均旋转延迟约为 5.6 毫秒。<sup>[7](https://opendsa.cs.vt.edu/ODSA/Books/eu/cs330/spring-2025/EU-CS330/html/Diskdrive.html)</sup>
- **7200 RPM**：一圈旋转需要 8.33 毫秒；平均延迟为 4.17 毫秒，最坏情况为 8.33 毫秒。<sup>[2](https://pages.cs.wisc.edu/~solomon/cs537-old/last/disksched.html)</sup>
- **10000 RPM**：在 IBM 的 Ultra160 SCSI 驱动器规格中，平均延迟为 3.0 毫秒。<sup>[3](https://public.dhe.ibm.com/systems/support/system_x_pdf/32p0743.pdf)</sup> 希捷的 10K Savvio 企业级驱动器标称 2.9 毫秒。<sup>[8](https://www.seagate.com/www-content/product-content/enterprise-performance-savvio-fam/enterprise-performance-10k-hdd/ent-perf-10k-v8/en-us/docs/100746003c.pdf)</sup>
- **15000 RPM**：在相同的 IBM 规格中，平均延迟为 2.0 毫秒。<sup>[3](https://public.dhe.ibm.com/systems/support/system_x_pdf/32p0743.pdf)</sup>

与寻道时间一起，旋转延迟主导了访问时间：总延迟（定义为寻道加旋转延迟）在传统驱动器上通常为 5 到 10 毫秒。<sup>[9](https://web.stanford.edu/~ouster/cs111-spring24/lectures/disks/)</sup> 在一个计算示例中，一块希捷 36.4 GB 10000 RPM SCSI 驱动器，平均寻道 5.7 毫秒、平均旋转延迟 3.0 毫秒、512 字节传输加 1 毫秒控制器开销，其平均访问时间约为 9.7 毫秒。<sup>[1](https://web.stanford.edu/class/archive/ee/ee108b/ee108b.1082/handouts/lect.16.IO_Devices.4up.pdf)</sup>

## 它占访问时间的比例

旋转延迟占总时间的比例在很大程度上取决于工作负载。对于随机小请求，大多数磁盘上约 33% 的总时间是旋转延迟。对于 256 KB 请求，这一比例降至约 15%，因为更多时间用于数据传输；而当 70% 的请求命中最近使用的柱面组时，这一比例升至约 60%，因为寻道变短。减少寻道的调度器如 C-LOOK 和最短寻道时间优先（Shortest-Seek-Time-First）使该数字保持在 50% 左右，而最小化总定位时间的调度器将其降至约 20%。<sup>[4](https://www.usenix.org/legacy/publications/library/proceedings/fast02/full_papers/lumb/lumb_html/index.html)</sup>

实测行为也与规格表不同。一项针对 IBM 生产工作负载的研究发现，实际平均寻道时间和旋转延迟分别仅为标称值的约 35% 和 60%，因为真实访问模式比规格背后的均匀随机模型更具局部性。<sup>[5](https://research.ibm.com/publications/the-performance-impact-of-io-optimizations-and-disk-improvements)</sup>

## 减少或隐藏旋转延迟

**更快的转速。** 提高 RPM 会按比例减少延迟，这推动了 10000 和 15000 RPM 企业级驱动器的出现，但代价是功耗、热量和每盘片容量。一项使用分析排队模型的敏感性研究发现，减少旋转延迟和旋转位置检测未命中所造成的延迟对磁盘的基本服务时间和整体子系统性能影响最大。<sup>[10](https://doi.org/10.1109/12.67317)</sup>

**调度。** 由于有待处理请求队列的磁盘可以选择服务顺序，考虑旋转位置的调度器可以避免大部分等待。最短访问时间优先（SATF），也称最短定位时间优先（SPTF），最小化寻道时间和旋转延迟之和而非仅寻道时间；在无限队列下它可以完全消除旋转延迟。在一个建模的 10000 RPM 驱动器中，先来先服务对每次 1 KB 随机读取平均耗时 8.766 毫秒（5.75 毫秒寻道、3 毫秒延迟、0.016 毫秒传输），产生 114 IOPS，而重排序策略大幅提高了吞吐量。<sup>[11](https://www.sciencedirect.com/topics/computer-science/rotational-latency)</sup> 一个软件 SATF 实现在队列大小为 32 时，在转速较慢的希捷驱动器上比磁盘内部调度器快约 6%，但在转速较快的 IBM 磁盘上损失约 12%。<sup>[12](https://os.inf.tu-dresden.de/~mp26/publications/rtss2003.pdf)</sup>

**填补空隙。** 自由块调度更进一步，将低优先级后台传输插入前台请求的旋转延迟间隙中。一个工作原型将磁盘潜在带宽的 15%（超过 3.1 MB/s）分配给后台扫描任务，对前台响应时间的影响不到 2%，使磁盘带宽利用率提高了 6 倍以上。<sup>[4](https://www.usenix.org/legacy/publications/library/proceedings/fast02/full_papers/lumb/lumb_html/index.html)</sup>

**数据放置。** 在单条磁道上多次复制数据可降低平均读取延迟：在有 D 个均匀间隔的副本时，平均读取旋转延迟降至 \( R/(2D) \)，其中 R 为一整圈旋转时间，但写入所有副本的成本最高可达 \( R - R/(2D) \)。<sup>[13](https://www.usenix.org/legacy/publications/library/proceedings/osdi2000/full_papers/yugum/yugum_html/node4.html)</sup>

## 历史背景

自第一块硬盘诞生以来，旋转延迟就是磁盘访问的一部分。IBM RAMAC 350 于 1956 年作为 [IBM 305 RAMAC](https://www.edgepedia.org/zh/ibm-305-ramac) 的存储单元发布，后者是第一台使用随机存取磁盘驱动器的计算机，IBM RAMAC 350 在 50 个以 1200 RPM 旋转的盘片上容纳了 3.75 MB，按半圈旋转规则给出平均旋转延迟 25 毫秒。<sup>[14](https://www.tomshardware.com/pc-components/hdds/ibm-announced-the-worlds-first-hdd-the-3-75mb-ramac-350-disk-storage-unit-69-years-ago-today-unit-weighed-more-than-a-ton-50-platters-ran-at-1-200-rpm)</sup> 在磁盘发展史上，寻道时间的改善远大于旋转延迟，因此旋转分量在相对重要性上有所增长。<sup>[15](https://www.researchgate.net/publication/2694663_Disk_Scheduling_Revisited)</sup>

## 固态硬盘

旋转延迟是硬盘和光盘等旋转介质所特有的。固态硬盘将数据存储在无移动部件的闪存中，没有旋转分量；其延迟由闪存访问、控制器处理和接口协议开销决定。NVMe SSD 实现比 SATA 或 SAS SSD 更低的延迟，主要是因为 NVMe 协议比 SATA 和 SAS 使用的 SCSI 协议开销更少，且占用更少的 CPU 周期。<sup>[16](https://nvmexpress.org/faq-items/why-does-nvme-technology-have-lower-latency-than-sata-or-sas/)</sup>

## References

1. [C. Kozyrakis, "IO Devices," EE108b Lecture 16, Stanford University](https://web.stanford.edu/class/archive/ee/ee108b/ee108b.1082/handouts/lect.16.IO_Devices.4up.pdf)
2. [CS 537, "Disk Scheduling," University of Wisconsin–Madison](https://pages.cs.wisc.edu/~solomon/cs537-old/last/disksched.html)
3. [IBM 18.2/36.4/73.4 GB Ultra160 SCSI Hard Disk Drives specification (32P0743)](https://public.dhe.ibm.com/systems/support/system_x_pdf/32p0743.pdf)
4. [C. Lumb, J. Schindler, G. Ganger, "Freeblock Scheduling Outside of Disk Firmware," FAST '02, USENIX](https://www.usenix.org/legacy/publications/library/proceedings/fast02/full_papers/lumb/lumb_html/index.html)
5. [W.W. Hsu, A.J. Smith, "The performance impact of I/O optimizations and disk improvements," IBM Journal of Research and Development (2004)](https://research.ibm.com/publications/the-performance-impact-of-io-optimizations-and-disk-improvements)
6. [Carleton University COMP 2280, Lecture 2 notes](https://people.math.carleton.ca/~daniel/teaching/228/lect2.pdf)
7. ["Disk Drives," CS330 Data Structures & Algorithms, OpenDSA, Virginia Tech](https://opendsa.cs.vt.edu/ODSA/Books/eu/cs330/spring-2025/EU-CS330/html/Diskdrive.html)
8. [Seagate Savvio 10K.7 product data sheet](https://www.seagate.com/www-content/product-content/enterprise-performance-savvio-fam/enterprise-performance-10k-hdd/ent-perf-10k-v8/en-us/docs/100746003c.pdf)
9. [J. Ousterhout, "Magnetic Disks (Hard Drives)," CS111, Stanford University, Spring 2024](https://web.stanford.edu/~ouster/cs111-spring24/lectures/disks/)
10. [S.W. Ng, "Improving disk performance via latency reduction," IEEE Transactions on Computers 40(1), 1991](https://doi.org/10.1109/12.67317)
11. ["Rotational Latency," ScienceDirect Topics overview (disk drive performance modeling)](https://www.sciencedirect.com/topics/computer-science/rotational-latency)
12. [M. Pohlack et al., "Rotational-Position-Aware Real-Time Disk Scheduling," RTSS 2003](https://os.inf.tu-dresden.de/~mp26/publications/rtss2003.pdf)
13. ["Reducing Rotational Delay," OSDI 2000](https://www.usenix.org/legacy/publications/library/proceedings/osdi2000/full_papers/yugum/yugum_html/node4.html)
14. ["IBM announced the world's first HDD, the 3.75MB RAMAC 350," Tom's Hardware](https://www.tomshardware.com/pc-components/hdds/ibm-announced-the-worlds-first-hdd-the-3-75mb-ramac-350-disk-storage-unit-69-years-ago-today-unit-weighed-more-than-a-ton-50-platters-ran-at-1-200-rpm)
15. [M. Seltzer, P. Chen, J. Ousterhout, "Disk Scheduling Revisited"](https://www.researchgate.net/publication/2694663_Disk_Scheduling_Revisited)
16. [NVM Express, "Why does NVMe technology have lower latency than SATA or SAS?"](https://nvmexpress.org/faq-items/why-does-nvme-technology-have-lower-latency-than-sata-or-sas/)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 计算机硬件 › Storage devices & memory › Magnetic & mechanical storage › Rotating-media performance & benchmarking

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/rotational-latency

English original: https://www.edgepedia.org/rotational-latency
