summaryrefslogtreecommitdiffstats
path: root/include/jemalloc
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2015-07-16 00:15:26 (GMT)
committerJason Evans <jasone@canonware.com>2015-07-16 00:15:26 (GMT)
commit5bd879646cdb303045096fc2b9d75f565313afa8 (patch)
tree4aef9dd2766a17c43dfe012f45c2868b7e6405cf /include/jemalloc
parentaa2826621e1793db9faea31e803690ccbe36f14c (diff)
downloadjemalloc-5bd879646cdb303045096fc2b9d75f565313afa8.zip
jemalloc-5bd879646cdb303045096fc2b9d75f565313afa8.tar.gz
jemalloc-5bd879646cdb303045096fc2b9d75f565313afa8.tar.bz2
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).
Diffstat (limited to 'include/jemalloc')
-rw-r--r--include/jemalloc/internal/chunk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/jemalloc/internal/chunk.h b/include/jemalloc/internal/chunk.h
index c253cdc..91aefad 100644
--- a/include/jemalloc/internal/chunk.h
+++ b/include/jemalloc/internal/chunk.h
@@ -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) \