From edad297076c4aad4cc78c390564000a0dceb585e Mon Sep 17 00:00:00 2001 From: daanx Date: Thu, 9 Jan 2025 15:24:14 -0800 Subject: [PATCH] reduce target segments per thread to 1 --- src/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options.c b/src/options.c index c1a7d7bd..ec05c6fc 100644 --- a/src/options.c +++ b/src/options.c @@ -161,7 +161,7 @@ static mi_option_desc_t options[_mi_option_last] = { MI_DEFAULT_GUARDED_SAMPLE_RATE, UNINIT, MI_OPTION(guarded_sample_rate)}, // 1 out of N allocations in the min/max range will be guarded (=4000) { 0, UNINIT, MI_OPTION(guarded_sample_seed)}, - { 2, UNINIT, MI_OPTION(target_segments_per_thread) }, // abandon segments beyond this point, or 0 to disable. + { 1, UNINIT, MI_OPTION(target_segments_per_thread) }, // abandon segments beyond this point, or 0 to disable. { 1, UNINIT, MI_OPTION(segment_binning) }, // use segment size bins to reduce fragmentation in large workloads };