[OpenSIPS-Devel] [OpenSIPS/opensips] 043d4f: HP_MALLOC: Fine-tune the "frag split size" constants
Liviu Chircu
noreply at github.com
Wed Mar 2 09:00:10 UTC 2022
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 043d4f31d084560681733358438e5cb13926f84d
https://github.com/OpenSIPS/opensips/commit/043d4f31d084560681733358438e5cb13926f84d
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.
More information about the Devel
mailing list