News for hackers. Stuff that matters.
Re:Basic proxy implementation using io_uring by jandrewrogers on Sunday February 18, 2024 @02:13AM (#39416904)
There are practical backward compatibility and security issues currently that prevent widespread deployment. I’ve been leaning into io_uring going forward because it is clearly the future and brings a lot to the table. It still can’t be used in many environments but I expect it to be mainstream in 2-3 years. Niche, but not for much longer.

Most software doesn’t properly use the old io_submit facility and that has been around for decades, despite the large performance improvements possible. Even when io_uring is widely deployable, most software won’t use it.

Re:Basic proxy implementation using io_uring by jakewins on Sunday February 18, 2024 @06:27AM (#39418212)
What are the open security issues?
Re:Basic proxy implementation using io_uring by surajrmal on Sunday February 18, 2024 @07:39AM (#39418551)
This only applies to Linux distro packages though right? Servers, embedded, mobile, etc only target specific kernels and so can avoid the backwards compatibility issues and in many cases have all of thr latest security patches.
Re:Basic proxy implementation using io_uring by p_l on Sunday February 18, 2024 @07:52AM (#39418622)
Yes.

But sometimes it means that what you have is software that can't run on recent enough kernel to have io_uring (^_^;;)

Re:Basic proxy implementation using io_uring by IAmLiterallyAB on Sunday February 18, 2024 @10:40AM (#39419925)
The old aio API is very inefficient and has awful quirks, such as not working on regular files opened without O_DIRECT. Not surprised no one used it
Re:Basic proxy implementation using io_uring by IAmLiterallyAB on Sunday February 18, 2024 @07:40PM (#39425071)
Am I wrong? Just noticed the downvote. That is my understanding of the old AIO kernel API anyway. The original io_uring paper describes some of the deficiencies of AIO. And the fact that the API is broken on non-O_DIRECT regular file descriptions is well known.
Re:Basic proxy implementation using io_uring by loeg on Monday February 19, 2024 @11:53AM (#39431936)
You're not wrong.