来自iostat
手册页:
rrqm/s
The number of read requests merged per second that were queued to the device.
wrqm/s
The number of write requests merged per second that were queued to the device.
r/s
The number (after merges) of read requests completed per second for the device.
w/s
The number (after merges) of write requests completed per second for the device.
merge
由于文档没有提供任何进一步的细节,任何人都可以详细说明这个概念吗?
答案1
当两个 I/O 请求可以合并为一个较长长度的请求时,就会发生合并。例如,对块1234的写入随后对块1235的写入可以被合并成对长度为2个块的块1234的单个I/O请求。由于这种情况相当常见,因此值得在内核中投入精力来进行合并、释放 I/O 请求结构并减少中断开销。
如果您对 I/O 这方面的更详细统计数据感兴趣,请参阅 pdfBTT 用户指南这是 的一部分blktrace
。