Skip to content

Commit

Permalink
DAOS-16866 bio: reduce pre-alloc
Browse files Browse the repository at this point in the history
Reduce DMA buffer pre-alloc from 60% to 50%, because we observed
pre-alloc failures in CI tests. (probably because of memory
fragmentation on some test nodes).

Signed-off-by: Niu Yawei <[email protected]>
  • Loading branch information
NiuYawei committed Jan 10, 2025
1 parent 76d881c commit 2414cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bio/bio_xstream.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
/* SPDK blob parameters */
#define DAOS_BS_CLUSTER_SZ (1ULL << 25) /* 32MB */
/* DMA buffer parameters */
#define DAOS_DMA_CHUNK_INIT_PCT 60 /* Default pre-xstream init chunks, in percentage */
#define DAOS_DMA_CHUNK_INIT_PCT 50 /* Default pre-xstream init chunks, in percentage */
#define DAOS_DMA_CHUNK_CNT_MAX 128 /* Default per-xstream max chunks, 1GB */
#define DAOS_DMA_CHUNK_CNT_MIN 32 /* Per-xstream min chunks, 256MB */

Expand Down

0 comments on commit 2414cc2

Please sign in to comment.