[OpenSIPS-Devel] [OpenSIPS/opensips] c5f1b7: HP_MALLOC: Fine-tune the "frag split size" constants
Liviu Chircu
noreply at github.com
Wed Mar 2 09:00:25 UTC 2022
Branch: refs/heads/3.1
Home: https://github.com/OpenSIPS/opensips
Commit: c5f1b7c92fdf972a6eb1a3b57a85bf30606eb8cd
https://github.com/OpenSIPS/opensips/commit/c5f1b7c92fdf972a6eb1a3b57a85bf30606eb8cd
Author: Liviu Chircu <liviu at opensips.org>
Date: 2022-03-02 (Wed, 02 Mar 2022)
Changed paths:
M mem/hp_malloc.c
Log Message:
-----------
HP_MALLOC: Fine-tune the "frag split size" constants
It seems that "split on 4096 or larger" is too large a value, leading to
fragmentation issues on typical 1G - 4G SHM pools.
With this patch, HP_MALLOC will visibly use less shared memory, but will
also split fragments more often.
(cherry picked from commit 043d4f31d084560681733358438e5cb13926f84d)
More information about the Devel
mailing list