提交 bc98959c 编写于 作者: D Daniel Xu 提交者: Shile Zhang

io_uring: increase IORING_MAX_ENTRIES to 32K

commit 5277deaab9f98229bdfb8d1e30019b6c25052708 upstream.

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: NDan Melnic <dmm@fb.com>
Signed-off-by: NDaniel Xu <dxu@dxuuu.xyz>
Signed-off-by: NJens Axboe <axboe@kernel.dk>
Signed-off-by: NJoseph Qi <joseph.qi@linux.alibaba.com>
Reviewed-by: NXiaoguang Wang <xiaoguang.wang@linux.alibaba.com>
上级 dd152e36
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
#include "internal.h" #include "internal.h"
#define IORING_MAX_ENTRIES 4096 #define IORING_MAX_ENTRIES 32768
#define IORING_MAX_FIXED_FILES 1024 #define IORING_MAX_FIXED_FILES 1024
struct io_uring { struct io_uring {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册