RHEL 8.7: io.max in cgroup2 does not limit IO
Issue
- io.max in cgroup2 does not work as expected even though it's configured with 1MB/s limit.
# cat /sys/fs/cgroup/mytest/app/io.max
253:1 rbps=max wbps=1048576 riops=max wiops=max
# dd if=/dev/zero of=/data/tmpfile bs=10M count=5 oflag=direct
3+0 records in
3+0 records out
31457280 bytes (31 MB, 30 MiB) copied, 6.02298 s, 5.2 MB/s
Environment
- Red Hat Enterprise Linux 8.7.z
kernel-4.18.0-425.3.1.el8
~kernel-4.18.0-425.19.2.el8_7
- cgroup2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.