-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.mk
More file actions
32 lines (28 loc) · 2.1 KB
/
config.mk
File metadata and controls
32 lines (28 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
## Note: as a convenience hack, this file is included in Makefiles,
## AND in bash scripts, to set some variables.
## So, don't write anything that isn't valid in both make AND bash.
## Set the desired maximum thread count (maxthreads),
## an upper bound on the maximum thread count that is a power of 2 (maxthreads_powerof2),
## the number of threads to increment by in the graphs produced by experiments (threadincrement),
## and the CPU frequency in GHz (cpu_freq_ghz) used for timing measurements with RDTSC.
## Be sure that maxthreads_powerof2 is based on maxthreads + 1 to ensure that the bundle
## entry reclamation thread is included in the calculation.
## Then, configure the thread pinning/binding policy (see README.txt.old)
## Blank means no thread pinning. (Threads can run wherever they want.)
# The following is used by the benchmarks to find the allocator to be used by the various
# components. If it is blank, then the default system alloctor will be used. Note that
# when setting the path, it must have the same relative path to the `runscript.sh`
# scripts in the `microbench` and `macrobench` directories, since that is where it is used.
# allocator=../lib/libjemalloc.so
allocator=
# maxthreads=64
# maxthreads_powerof2=128
# threadincrement=16
# cpu_freq_ghz=1.2
# pinning_policy="-bind 0-7,16-23,8-15,24-31"
## The following was used for our experiments.
maxthreads=192
maxthreads_powerof2=256
threadincrement=24
cpu_freq_ghz=2.1
pinning_policy="-bind 0,4,8,12,16,20,24,28,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,1,5,9,13,17,21,25,29,33,37,41,45,49,53,57,61,65,69,73,77,81,85,89,93,97,101,105,109,113,117,121,125,129,133,137,141,145,149,153,157,161,165,169,173,177,181,185,189,2,6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78,82,86,90,94,98,102,106,110,114,118,122,126,130,134,138,142,146,150,154,158,162,166,170,174,178,182,186,190,3,7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,67,71,75,79,83,87,91,95,99,103,107,111,115,119,123,127,131,135,139,143,147,151,155,159,163,167,171,175,179,183,187,191"