From: Daniel Xu Date: Sat, 14 Sep 2019 21:23:45 +0000 (-0700) Subject: io_uring: increase IORING_MAX_ENTRIES to 32K X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5277deaab9f98229bdfb8d1e30019b6c25052708;p=linux.git io_uring: increase IORING_MAX_ENTRIES to 32K Some workloads can require far more than 4K oustanding entries. For example memcached can have ~300K sockets over ~40 cores. Bumping the max to 32K seems to work pretty well. Reported-by: Dan Melnic Signed-off-by: Daniel Xu Signed-off-by: Jens Axboe --- diff --git a/fs/io_uring.c b/fs/io_uring.c index 3c8859d417eb5..0dadbdbead0fb 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -75,7 +75,7 @@ #include "internal.h" -#define IORING_MAX_ENTRIES 4096 +#define IORING_MAX_ENTRIES 32768 #define IORING_MAX_FIXED_FILES 1024 struct io_uring {