Io_uring enabling

Hi all,

The latest performance boost in v4.6 on classification and refinement jobs, seems to relate to particles on SSD cache and the use of the io_uring kernel module.

Although I have updated kernel to 5.4 and kernel config says “CONFIG_IO_URING=y”, I still get the new v4.6.1 warning “io_uring support disabled (not supported by kernel), I/O performance may degrade”.

What else is needed to enable io_uring usage in CS jobs?

I have the same issue:

uname -r
5.14.0-427.37.1.el9_4.x86_64

grep CONFIG_IO_URING /boot/config-$(uname -r)
CONFIG_IO_URING=y

But cryosparc complains. I am using RockyLinux 9.

Next question could be:

Why is a optional optimization setting show as warning when not used?

io_uring is a bit controversial - security wise:

https://en.wikipedia.org/wiki/Io_uring

In June 2023, Google’s security team reported that 60% of the exploits submitted to their bug bounty program in 2022 were exploits of the Linux kernel’s io_uring vulnerabilities. As a result, io_uring was disabled for apps in Android, and disabled entirely in ChromeOS as well as Google servers.[11] Docker also consequently disabled io_uring from their default seccomp profile.[12]

Maybe a warning should be shown when io_uring is used?

1 Like