jemalloc/test
Slobodan Predolac 4cc497a4a7 Add configurable HPA opts, shard count override, and bump MAX_ALLOCATIONS
Three changes to make pa_microbench easier to drive for fragmentation
experiments:

- Replace HPA_SHARD_OPTS_DEFAULT use with a single editable g_hpa_opts
  global. The microbench does not consult MALLOC_CONF for HPA shard opts,
  so this is the place to set the baseline configuration (slab_max_alloc,
  hugification_threshold, dirty_mult, hugify_delay_ms, purge_threshold,
  hugify_style, etc.).

- Add -n/--nshards N to override the shard count derived from the trace.
  When set, each event is routed to (event->shard_ind % N), letting us
  study the impact of arena consolidation. Without the flag the behavior
  is unchanged (num_shards = max_shard_id + 1).

- Bump MAX_ALLOCATIONS from 10M to 200M so the full ~50M-event adfinder
  trace (and similar) fits in the in-memory event buffer.
2026-04-30 17:48:32 -04:00
..
analyze Revert PR #2608: Manually revert commits 70c94d..f9c0b5 2026-03-10 18:14:33 -07:00
include/test Run single subtest from a test file 2026-03-10 18:14:33 -07:00
integration Reformat the codebase with the clang-format 18. 2026-03-10 18:14:33 -07:00
src Run single subtest from a test file 2026-03-10 18:14:33 -07:00
stress Add configurable HPA opts, shard count override, and bump MAX_ALLOCATIONS 2026-04-30 17:48:32 -04:00
unit Improve unit test coverage for jemalloc_init, arenas_management, and jemalloc_fork modules 2026-04-30 15:17:18 -04:00
test.sh.in Renaming limit_usize_gap to disable_large_size_classes 2025-05-06 14:47:35 -07:00