在網上搜索了半天,也沒找到那篇文章把這個事兒說明白的。
我找了些資料,現在理解這兩個概念的區別是這樣的:
- queue depth是指的一個存儲系統接受批量IO指令的最大條數。
- queue length是指的某一時刻磁盤待處理的請求的數目。
所以說,在排查某個存儲系統的性能問題的時候,queue depth 是一個比較固定的數, 而queue length則是跟workload的特性相關,對存儲的壓力大,則queue length會變長。
Queue depth is the number of I/O requests (SCSI commands) that can be queued at one time on a storage controller.
Disk Queue Length is the number of requests outstanding on the disk at the time the performance data is collected. This means that the disk is not able to honor I/O requests as fast as they are being made.
參考資料
=============
Disk current disk queue length
Calculating queue depth
https://library.netapp.com/ecmdocs/ECMP1196793/html/GUID-A055B184-0876-4376-9C75-35FE8C9BE832.html
大話存儲2 第三章第8節 - 並行傳輸和串行傳輸