OSDN Git Service

io_uring: increase IORING_MAX_ENTRIES to 32K
authorDaniel Xu <dxu@dxuuu.xyz>
Sat, 14 Sep 2019 21:23:45 +0000 (14:23 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 14 Sep 2019 23:06:22 +0000 (17:06 -0600)
commit5277deaab9f98229bdfb8d1e30019b6c25052708
tree62ac6833609ad27867e9fc58b0c3bee8c82430e6
parentb2a9eadab85730935f5a6fe19f3f61faaaced601
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>
fs/io_uring.c