IOLimitTuner may not work well in a special case #6099
Labels
affects-5.0
affects-5.1
affects-5.2
affects-5.3
affects-5.4
This bug affects the 5.4.x(LTS) versions.
affects-6.1
This bug affects the 6.1.x(LTS) versions.
component/storage
severity/major
type/bug
The issue is confirmed as a bug.
If both
max_bg_read_bytes_per_sec
andmax_fg_read_bytes_per_sec
are less thanio_config.min_bytes_per_sec
andbg_read
runs out of the bandwidth quota, butfg_read
has not been used.The usage rate of read is
(max_bg_read_bytes_per_sec + 0 ) / (max_bg_read_bytes_per_sec + max_fg_read_bytes_per_sec)
, about 50%. It is less thanio_config.medium_pct
(60% by default), so watermark isLOW
.The
LOW
watermark means that bandwidth quota of read is sufficient since the usage rate is less than 60%, so it is unnessary to increase its bandwidth quota by decreasing the bandwidth quota of write.In this case,
bg_read
will increase its bandwidth quota by decreasing the bandwidth quota offg_read
. However,fg_read
is less thanio_config.min_bytes_per_sec
, it is too small to decrease.The text was updated successfully, but these errors were encountered: