Thomasdezeeuw / a10

Library safely exposing the io_uring API.
MIT License
50 stars 2 forks source link

Add Linux kernel v6.5 additions #88

Closed Thomasdezeeuw closed 5 months ago

Thomasdezeeuw commented 8 months ago

Maybe allocate rings in huge pages? IORING_FEAT_SINGLE_MMAP (from v5.4): https://github.com/torvalds/linux/commit/ac90f249e15cd2a850daa9e36e15f81ce1ff6550 IORING_SETUP_NO_MMAP: https://github.com/torvalds/linux/commit/03d89a2de25bbc5c77e61a0cf77663978c4b6ea7

Thomasdezeeuw commented 5 months ago

Huge pages becomes useful with 16k+ entries (to fill 2MB of memory), not doing this for now.