[all-commits] [llvm/llvm-project] ab17a0: [fuchsia] Tune PrimaryGroupSizeLog to reduce fragm...

ChiaHungDuan via All-commits all-commits at lists.llvm.org
Mon Dec 19 18:36:21 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab17a08d0f6ffd93cb25b46a4ed5e6ebe5af530e
      https://github.com/llvm/llvm-project/commit/ab17a08d0f6ffd93cb25b46a4ed5e6ebe5af530e
  Author: Luke Nicholson <lukenicholson at google.com>
  Date:   2022-12-20 (Tue, 20 Dec 2022)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/allocator_config.h

  Log Message:
  -----------
  [fuchsia] Tune PrimaryGroupSizeLog to reduce fragmentation.

21U is the default group size, which demonstrates ~15mb reduction
in heap size for some highly fragmented heaps on Fuchsia, and
a general 5mb savings when devices are under no load.

Microbenchmarks show no performance regressions, but most of our
benchmarks perform no significant mallocs. So we are choosing the
default setting, and monitoring for potential performance
issues.

Reviewed By: Chia-hungDuan

Differential Revision: https://reviews.llvm.org/D140311




More information about the All-commits mailing list