Cgroups 下bps与iops的区别

我想问一句 你们这帮码农真的是畜牲,搜一圈,竟然连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

一个是数据量上限 一个是操作次数上限

你可能感兴趣的:(Cgroups 下bps与iops的区别)