Closed Thomasdezeeuw closed 5 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
IORING_FEAT_SINGLE_MMAP
IORING_SETUP_NO_MMAP
Huge pages becomes useful with 16k+ entries (to fill 2MB of memory), not doing this for now.
Maybe allocate rings in huge pages?
IORING_FEAT_SINGLE_MMAP
(from v5.4): https://github.com/torvalds/linux/commit/ac90f249e15cd2a850daa9e36e15f81ce1ff6550IORING_SETUP_NO_MMAP
: https://github.com/torvalds/linux/commit/03d89a2de25bbc5c77e61a0cf77663978c4b6ea7