Artifact of SSBSE '25 Challenge: GreenMalloc: Allocator Optimisation for Industrial Workloads
Authors/Creators
Contributors
Description
1. Abstract
This is the artifact of the paper GreenMalloc: Allocator Optimisation for Industrial Workloads. It contains the code of GreenMalloc and the results of the evaluation on gem5 with glibc malloc and tcmalloc.
2. Optimised Values
glibc:
- mmap_max
- mmap_threshold
- perturb
- top_pad
- trim_threshold
- arena_test
- arena_max
tcmalloc:
- TCMALLOC_SAMPLE_PARAMETER
- TCMALLOC_RELEASE_RATE
- TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES
- TCMALLOC_AGGRESSIVE_DECOMMIT
- TCMALLOC_OVERRIDE_PAGESIZE
- TCMALLOC_HEAP_LIMIT_MB
- TCMALLOC_SKIP_MMAP
- TCMALLOC_SKIP_SBRK
- TCMALLOC_MEMFS_LIMIT_MB
- TCMALLOC_MEMFS_ABORT_ON_FAIL
- TCMALLOC_MEMFS_IGNORE_MMAP_FAIL
- TCMALLOC_MEMFS_MAP_PRIVATE
- TCMALLOC_MEMFS_DISABLE_FALLBACK
Specifically, we tune:
TUNABLE_SPECS: ClassVar[Dict[str, Dict[str, Any]]] = {"mmap_max": {"type": "int", "low": 0, "high": 16 * 1024 * 1024},"mmap_threshold": {"type": "int", "low": 0, "high": 1 << 20},"perturb": {"type": "int", "low": 0, "high": 255},"top_pad": {"type": "int", "low": 0, "high": 1 << 20},"trim_threshold": {"type": "int", "low": 0, "high": 1 << 20},"arena_test": {"type": "int", "low": 0, "high": 1 << 20},"arena_max": {"type": "int", "low": 0, "high": 128},}
TUNABLE_SPECS: ClassVar[Dict[str, Dict[str, Any]]] = {"TCMALLOC_SAMPLE_PARAMETER": {"type": "int", "low": 0, "high": 1 << 20},"TCMALLOC_RELEASE_RATE": {"type": "int", "low": 0, "high": 1 << 20},"TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES": {"type": "int", "low": 0, "high": 1 << 30},"TCMALLOC_AGGRESSIVE_DECOMMIT": {"type": "bool", "low": 0, "high": 1},"TCMALLOC_OVERRIDE_PAGESIZE": {"type": "int", "low": 4096, "high": 1 << 20},"TCMALLOC_HEAP_LIMIT_MB": {"type": "int", "low": 0, "high": 1 << 20},"TCMALLOC_SKIP_MMAP": {"type": "bool", "low": 0, "high": 1},"TCMALLOC_SKIP_SBRK": {"type": "bool", "low": 0, "high": 1},"TCMALLOC_MEMFS_LIMIT_MB": {"type": "int", "low": 0, "high": 1 << 20},"TCMALLOC_MEMFS_ABORT_ON_FAIL": {"type": "bool", "low": 0, "high": 1},"TCMALLOC_MEMFS_IGNORE_MMAP_FAIL": {"type": "bool", "low": 0, "high": 1},"TCMALLOC_MEMFS_MAP_PRIVATE": {"type": "bool", "low": 0, "high": 1},"TCMALLOC_MEMFS_DISABLE_FALLBACK": {"type": "bool", "low": 0, "high": 1},}
Files
AvgHeap.pdf
Files
(405.5 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:6da36b370a304b02391b01281272a257
|
211.7 kB | Preview Download |
|
md5:d64c586b45ff3fd2de5dc68c6ab307fc
|
206.4 kB | Preview Download |
|
md5:b840718056f73f63c20e2807bd3fcca4
|
311.1 kB | Download |
|
md5:e9427930b47989f557186a2736576f97
|
209.3 kB | Preview Download |
|
md5:2e85b2e53b424a940b99074a22438e68
|
214.7 kB | Preview Download |
|
md5:329a5231a1aea872d6881404196c075d
|
873.5 kB | Preview Download |
|
md5:94fd712914ce026b991c7ea107e4695d
|
400.2 MB | Preview Download |
|
md5:56c0b6f063b3a1504b20583a2c205ab6
|
205.4 kB | Preview Download |
|
md5:88458058679106780ae7b52460728090
|
103.4 kB | Preview Download |
|
md5:463b82f7e662a84099f777c18ec59a59
|
133.3 kB | Preview Download |
|
md5:8d7fdbc42a4619e82b67121604e0aa69
|
2.6 MB | Preview Download |
|
md5:de8d8a26bbd0ccce7c5cacc6e69eeb34
|
209.6 kB | Preview Download |
Additional details
Dates
- Created
-
2025-09-21