mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 21:51:40 +00:00
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 <dmm@fb.com> Signed-off-by: Daniel Xu <dxu@dxuuu.xyz> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
b2a9eadab8
commit
5277deaab9
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user