From 969fe0f6cd030bbd9dbfac0de1c0df0149486ffd Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 17 Jan 2020 03:06:15 +0100 Subject: use align_to_cl.so in front of TCMalloc --- src/allocators/tcmalloc.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/allocators/tcmalloc.py') diff --git a/src/allocators/tcmalloc.py b/src/allocators/tcmalloc.py index f81f88b..ecd03e1 100644 --- a/src/allocators/tcmalloc.py +++ b/src/allocators/tcmalloc.py @@ -17,7 +17,7 @@ """TCMalloc definition for allocbench""" -from src.allocator import Allocator +from src.allocator import Allocator, BUILDDIR from src.artifact import GitArtifact @@ -42,3 +42,9 @@ tcmalloc_nofs = TCMalloc("TCMalloc-NoFalsesharing", patches=["{patchdir}/tcmalloc_2.7_no_active_falsesharing.patch"], version="gperftools-2.7", color="xkcd:navy") + +tcmalloc_align = TCMalloc("TCMalloc-Aligned", + version="gperftools-2.7", + color="xkcd:navy") + +tcmalloc_align.LD_PRELOAD = f"{BUILDDIR}/align_to_cl.so {tcmalloc_align.LD_PRELOAD}" -- cgit v1.2.3