Commit 5277deaa authored by Daniel Xu's avatar Daniel Xu Committed by Jens Axboe

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: default avatarDan Melnic <dmm@fb.com>
Signed-off-by: default avatarDaniel Xu <dxu@dxuuu.xyz>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent b2a9eada
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment