Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Are there any mainstream databases etc adopting io_uring yet?

I first heard about io_uring here on HN and a rust DB lib called Sled was used as an example.

But when do we get fast MySQL etc?

I recall a paper from 2012 or so that implemented a PoC syscall buffer so a bunch of syscalls could be scheduled and executed sequentially with just one syscall. They claimed 40%+ performance improvements in various programs, including MySQL. This was of course before meltdown and other cache mitigations were a thing.

So programs, including MySQL and Postgres (hey, I know something about various DB storage engines), would benefit massively from scheduled sequential syscalls (easy to adopt, big win) and true async io (io_uring, harder to adopt, even bigger win).



At that point, wouldn't it be simpler to run mysql or postgresql on their own bare metal VM with a specialized uni-kernel that only runs the db process very efficiently (without notion of kernel space and user space and without context switching) ?


I am working on optional io_uring support for PostgreSQL. Hope to get that stable for PG 14 (PG 13 enters feature freeze soon).


RocksDB supports it for reading multiple chunks from a file.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: