mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-03 10:37:52 +03:00
Change default chunk size from 256 KiB to 2 MiB.
This change improves interaction with transparent huge pages, e.g. reduced page faults (at least in the absence of unused dirty page purging).
This commit is contained in:
parent
aa2826621e
commit
5bd879646c
2 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@
|
|||
* Size and alignment of memory chunks that are allocated by the OS's virtual
|
||||
* memory system.
|
||||
*/
|
||||
#define LG_CHUNK_DEFAULT 18
|
||||
#define LG_CHUNK_DEFAULT 21
|
||||
|
||||
/* Return the chunk address for allocation address a. */
|
||||
#define CHUNK_ADDR2BASE(a) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue