我想問一句 你們這幫碼農真的是畜牲,搜一圈,竟然連bps與iops的解釋都沒有,服了,碼農=畜牲。
device-read-bps
Limit read rate from a device (format: :[] ). Number is a positive integer. Unit can be one of kb , mb , or gb .
按每秒讀取塊設備的數據量設定上限
device-read-iops
Limit read rate (IO per second) from a device (format: : ). Number is a positive integer.
按照每秒讀操作次數設定上限
–blkio-weight Block IO (relative weight), between 10 and 1000
–blkio-weight-device=[] Block IO weight (relative device weight)
–device-read-bps=[] Limit read rate (bytes per second) from a device
–device-read-iops=[] Limit read rate (IO per second) from a device
–device-write-bps=[] Limit write rate (bytes per second) to a device
–device-write-iops=[] Limit write rate (IO per second) to a device
一個是數據量上限 一個是操作次數上限