Hi, you can configure Seastar compilation with the
`--enable-io_uring` parameter, e.g. `./configure.py
--enable-io_uring`. If you use CMake, there's a Seastar_IO_URING=1
flag you can set, serving the same purpose. But please note that
uring will only be available when liburing is also available on
your operating system (and io_uring is supported by your kernel).
--
You received this message because you are subscribed to the Google Groups "seastar-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seastar-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/seastar-dev/CAG6M7EPiBxTgH%2BuuT-5jsyzWL5JbV5-XzQq0AYCqqwoaGCj4-g%40mail.gmail.com.
You also need to select --reactor-backend=io_uring.
To view this discussion on the web visit https://groups.google.com/d/msgid/seastar-dev/2ebe71e0-7117-c0f1-18b3-9de6327f44b8%40scylladb.com.
Thanks a bunch for the comprehensive instructions!I was missing the understanding that I needed to also pass the "reactor" flag to the application at runtime.Unfortunately, I checked all of these things and passed the --reactor-backend=io_uring flag but it still seems not to change it from AIO =/Maybe I am still doing something wrong:1. "Check the io_uring support in kernel"[user@MSI seastar-demo]$ cat /proc/config.gz | gunzip | grep -i uring
CONFIG_IO_URING=y2. check if io_uring header and library are available[user@MSI seastar-demo]$ cmake -DSeastar_IO_URING=ON -G Ninja --debug-output --fresh-- Performing Test HAVE_IOURING_FEATURES - Success
Called from: [6] /usr/share/cmake/Modules/Internal/CheckSourceCompiles.cmake
[5] /usr/share/cmake/Modules/CheckCXXSourceCompiles.cmake
[4] /usr/share/cmake/Modules/CheckStructHasMember.cmake
[3] /home/user/projects/seastar-demo/cmake-build-debug/_deps/seastar-src/cmake/FindLibUring.cmake
[2] /home/user/projects/seastar-demo/cmake-build-debug/_deps/seastar-src/cmake/SeastarDependencies.cmake
[1] /home/user/projects/seastar-demo/cmake-build-debug/_deps/seastar-src/CMakeLists.txt
-- Found LibUring: /usr/lib64/liburing.so (Required is at least version "2.0")

To view this discussion on the web visit https://groups.google.com/d/msgid/seastar-dev/a0aa7f1c-0123-4a68-82b6-e8cc7afc109cn%40googlegroups.com.
> Note that linux-aio is still used with the io_uring backend to provide preemption flags.
Curious what you mean by this? I'm not intimately familiar with Linux kernel I/O internal