Skip to content

Commit

Permalink
fix(iobuf): increase large iobuf pool size
Browse files Browse the repository at this point in the history
Addresses warning from spdk itself:
mayastor::spdk:transport.c:282]
The num_shared_buffers value (2048) is larger than the available iobuf pool size (1024).
 Please increase the iobuf pool sizes.

Signed-off-by: Tiago Castro <[email protected]>
  • Loading branch information
tiagolobocastro committed Nov 23, 2023
1 parent d7d71f9 commit 707f5c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io-engine/src/subsys/config/opts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ impl Default for IoBufOpts {
fn default() -> Self {
Self {
small_pool_count: try_from_env("IOBUF_SMALL_POOL_COUNT", 8192),
large_pool_count: try_from_env("IOBUF_LARGE_POOL_COUNT", 1024),
large_pool_count: try_from_env("IOBUF_LARGE_POOL_COUNT", 2048),
small_bufsize: try_from_env("IOBUF_SMALL_BUFSIZE", 8 * 1024),
large_bufsize: try_from_env("IOBUF_LARGE_BUFSIZE", 132 * 1024),
}
Expand Down

0 comments on commit 707f5c1

Please sign in to comment.