-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SystemTap logs: add histograms + script
- Loading branch information
Antonin Reitz
committed
Feb 4, 2025
1 parent
d234da1
commit d774380
Showing
28 changed files
with
1,394 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
benchmarking on 8 cores. | ||
use '-h' or '--help' for help on configuration options. | ||
|
||
allocators: sys | ||
tests : alloc-test | ||
|
||
---- 1: alloc-test1 | ||
|
||
run 1: alloc-test1 sys: SYSMALLOC=1 ./alloc-test 1 | ||
threads: 1 | ||
alloc-test1 sys 2:49.82 14180 68.92 100.65 0 2448 | ||
|
||
---- 1: alloc-testN | ||
|
||
run 1: alloc-testN sys: SYSMALLOC=1 ./alloc-test 8 | ||
threads: 8 | ||
alloc-testN sys 5:21.60 16044 790.37 1748.04 0 3377 | ||
|
||
results written to: /home/atn/stapp/mimalloc-bench/out/bench/benchres.csv | ||
|
||
#------------------------------------------------------------------ | ||
# test alloc time rss user sys page-faults page-reclaims | ||
alloc-test1 sys 2:49.82 14180 68.92 100.65 0 2448 | ||
alloc-testN sys 5:21.60 16044 790.37 1748.04 0 3377 | ||
|
||
Malloc: 450318699 | ||
Free: 450315092 | ||
Realloc: 1004 | ||
Calloc: 52 | ||
Malloc_usable_size: 0 | ||
Aligned_alloc: 2 | ||
Posix_memalign: 0 | ||
value |-------------------------------------------------- count | ||
0 | 2 | ||
1 | 541 | ||
2 | 10613 | ||
4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 168803542 | ||
8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 154807883 | ||
16 |@@@@@@@@@@@@@@@@@@@ 66872381 | ||
32 |@@@@@@@@@ 30785922 | ||
64 |@@@@ 14742446 | ||
128 |@@ 7195188 | ||
256 |@ 3561035 | ||
512 |@ 3531527 | ||
1024 | 7386 | ||
2048 | 125 | ||
4096 | 86 | ||
8192 | 9 | ||
16384 | 0 | ||
32768 | 2 | ||
65536 | 2 | ||
131072 | 0 | ||
262144 | 0 | ||
524288 | 8 | ||
1048576 | 0 | ||
2097152 | 0 | ||
4194304 | 1 | ||
8388608 | 0 | ||
16777216 | 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
benchmarking on 8 cores. | ||
use '-h' or '--help' for help on configuration options. | ||
|
||
allocators: sys | ||
tests : barnes | ||
|
||
---- 1: barnes | ||
|
||
run 1: barnes sys: SYSMALLOC=1 ./barnes | ||
barnes sys 0:03.97 60284 3.95 0.01 0 3024 | ||
|
||
results written to: /home/atn/stapp/mimalloc-bench/out/bench/benchres.csv | ||
|
||
#------------------------------------------------------------------ | ||
# test alloc time rss user sys page-faults page-reclaims | ||
barnes sys 03.97 60284 3.95 0.01 0 3024 | ||
|
||
Malloc: 47125 | ||
Free: 39609 | ||
Realloc: 764 | ||
Calloc: 47 | ||
Malloc_usable_size: 0 | ||
Aligned_alloc: 1 | ||
Posix_memalign: 0 | ||
value |-------------------------------------------------- count | ||
0 | 2 | ||
1 |@@ 447 | ||
2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 9079 | ||
4 |@@@@@@@@@@@@@@@@@@@@@@@@@@ 5821 | ||
8 |@@@@@@@@@@@@@@@@@@@ 4220 | ||
16 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 9967 | ||
32 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 11038 | ||
64 |@@@@@@@@@@@@@@@@@@@@@@ 5028 | ||
128 |@@@ 819 | ||
256 |@ 274 | ||
512 | 68 | ||
1024 | 141 | ||
2048 | 126 | ||
4096 | 78 | ||
8192 | 9 | ||
16384 | 0 | ||
32768 | 2 | ||
65536 | 0 | ||
131072 | 0 | ||
~ | ||
1048576 | 0 | ||
2097152 | 0 | ||
4194304 | 1 | ||
8388608 | 1 | ||
16777216 | 1 | ||
33554432 | 1 | ||
67108864 | 0 | ||
134217728 | 2 | ||
268435456 | 0 | ||
536870912 | 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
benchmarking on 8 cores. | ||
use '-h' or '--help' for help on configuration options. | ||
|
||
allocators: sys | ||
tests : cfrac | ||
|
||
---- 1: cfrac | ||
|
||
run 1: cfrac sys: SYSMALLOC=1 ./cfrac 17545186520507317056371138836327483792789528 | ||
cfrac sys 5:05.74 6036 125.24 180.24 0 447 | ||
|
||
results written to: /home/atn/stapp/mimalloc-bench/out/bench/benchres.csv | ||
|
||
#------------------------------------------------------------------ | ||
# test alloc time rss user sys page-faults page-reclaims | ||
cfrac sys 5:05.74 6036 125.24 180.24 0 447 | ||
|
||
Malloc: 91572218 | ||
Free: 91569764 | ||
Realloc: 756 | ||
Calloc: 5095 | ||
Malloc_usable_size: 0 | ||
Aligned_alloc: 1 | ||
Posix_memalign: 0 | ||
value |-------------------------------------------------- count | ||
0 | 2 | ||
1 | 446 | ||
2 | 9077 | ||
4 | 5789 | ||
8 |@@@@@@@@@ 14242164 | ||
16 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 77266504 | ||
32 | 41701 | ||
64 | 5009 | ||
128 | 822 | ||
256 | 277 | ||
512 | 68 | ||
1024 | 142 | ||
2048 | 129 | ||
4096 | 77 | ||
8192 | 9 | ||
16384 | 0 | ||
32768 | 2 | ||
65536 | 0 | ||
131072 | 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
benchmarking on 8 cores. | ||
use '-h' or '--help' for help on configuration options. | ||
|
||
allocators: sys | ||
tests : cscratch | ||
|
||
---- 1: cache-scratch1 | ||
|
||
run 1: cache-scratch1 sys: SYSMALLOC=1 ./cache-scratch 1 1000 1 2000000 8 | ||
cache-scratch1 sys 0:01.66 6012 1.64 0.00 0 239 | ||
|
||
---- 1: cache-scratchN | ||
|
||
run 1: cache-scratchN sys: SYSMALLOC=1 ./cache-scratch 8 1000 1 2000000 8 | ||
cache-scratchN sys 0:00.44 6088 3.46 0.00 0 264 | ||
|
||
results written to: /home/atn/stapp/mimalloc-bench/out/bench/benchres.csv | ||
|
||
#------------------------------------------------------------------ | ||
# test alloc time rss user sys page-faults page-reclaims | ||
cache-scratch1 sys 01.66 6012 1.64 0.00 0 239 | ||
cache-scratchN sys 00.44 6088 3.46 0.00 0 264 | ||
|
||
Malloc: 56678 | ||
Free: 49078 | ||
Realloc: 1017 | ||
Calloc: 61 | ||
Malloc_usable_size: 0 | ||
Aligned_alloc: 2 | ||
Posix_memalign: 0 | ||
value |-------------------------------------------------- count | ||
0 | 2 | ||
1 |@@ 548 | ||
2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 10742 | ||
4 |@@@@@@@@@@@@@@@@@@@@@@@@@@ 6888 | ||
8 |@@@@@@@@@@@@@@@@@@ 4958 | ||
16 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 11983 | ||
32 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 13149 | ||
64 |@@@@@@@@@@@@@@@@@@@@@@@@ 6369 | ||
128 |@@@@ 1204 | ||
256 |@ 381 | ||
512 | 75 | ||
1024 | 156 | ||
2048 | 126 | ||
4096 | 84 | ||
8192 | 9 | ||
16384 | 0 | ||
32768 | 2 | ||
65536 | 2 | ||
131072 | 0 | ||
262144 | 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
benchmarking on 8 cores. | ||
use '-h' or '--help' for help on configuration options. | ||
|
||
allocators: sys | ||
tests : cthrash | ||
|
||
---- 1: cache-thrash1 | ||
|
||
run 1: cache-thrash1 sys: SYSMALLOC=1 ./cache-thrash 1 1000 1 2000000 8 | ||
cache-thrash1 sys 0:01.67 6160 1.66 0.00 0 238 | ||
|
||
---- 1: cache-thrashN | ||
|
||
run 1: cache-thrashN sys: SYSMALLOC=1 ./cache-thrash 8 1000 1 2000000 8 | ||
cache-thrashN sys 0:00.43 5876 3.40 0.00 0 254 | ||
|
||
results written to: /home/atn/stapp/mimalloc-bench/out/bench/benchres.csv | ||
|
||
#------------------------------------------------------------------ | ||
# test alloc time rss user sys page-faults page-reclaims | ||
cache-thrash1 sys 01.67 6160 1.66 0.00 0 238 | ||
cache-thrashN sys 00.43 5876 3.40 0.00 0 254 | ||
|
||
Malloc: 57040 | ||
Free: 49493 | ||
Realloc: 1017 | ||
Calloc: 61 | ||
Malloc_usable_size: 0 | ||
Aligned_alloc: 2 | ||
Posix_memalign: 0 | ||
value |-------------------------------------------------- count | ||
0 | 2 | ||
1 |@@ 539 | ||
2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 10802 | ||
4 |@@@@@@@@@@@@@@@@@@@@@@@@@@ 6946 | ||
8 |@@@@@@@@@@@@@@@@@@@ 5298 | ||
16 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 11790 | ||
32 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 13203 | ||
64 |@@@@@@@@@@@@@@@@@@@@@@@@ 6422 | ||
128 |@@@@ 1203 | ||
256 |@ 381 | ||
512 | 75 | ||
1024 | 156 | ||
2048 | 126 | ||
4096 | 84 | ||
8192 | 9 | ||
16384 | 0 | ||
32768 | 2 | ||
65536 | 2 | ||
131072 | 0 | ||
262144 | 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
benchmarking on 8 cores. | ||
use '-h' or '--help' for help on configuration options. | ||
|
||
allocators: sys | ||
tests : espresso | ||
|
||
---- 1: espresso | ||
|
||
run 1: espresso sys: SYSMALLOC=1 ./espresso ../../bench/espresso/largest.espresso | ||
espresso sys 1:56.18 5992 48.57 67.40 0 471 | ||
|
||
results written to: /home/atn/stapp/mimalloc-bench/out/bench/benchres.csv | ||
|
||
#------------------------------------------------------------------ | ||
# test alloc time rss user sys page-faults page-reclaims | ||
espresso sys 1:56.18 5992 48.57 67.40 0 471 | ||
|
||
Malloc: 33234721 | ||
Free: 33227183 | ||
Realloc: 323316 | ||
Calloc: 40 | ||
Malloc_usable_size: 0 | ||
Aligned_alloc: 1 | ||
Posix_memalign: 0 | ||
value |-------------------------------------------------- count | ||
0 | 142882 | ||
1 | 446 | ||
2 | 9092 | ||
4 | 5681 | ||
8 | 330803 | ||
16 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 10673794 | ||
32 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 17169332 | ||
64 |@@@@@@@ 2584835 | ||
128 |@@@ 1055282 | ||
256 |@@ 705613 | ||
512 | 202048 | ||
1024 | 89941 | ||
2048 | 97265 | ||
4096 | 123096 | ||
8192 | 3829 | ||
16384 | 40720 | ||
32768 | 62 | ||
65536 | 0 | ||
131072 | 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
L1 = ["barnes", "cfrac", "espresso", "gs", "lean", "redis", "larson", "larson-sized", "lua", "z3"] | ||
L2 = ["alloc-test", "cscratch", "cthrash", "glibc-simple", "glibc-thread", "lean-mathlib", "malloc-large", "mleak", "mstress", "rbstress", "rocksdb", "rptest", "sh6bench", "sh8bench", "xmalloc-test"] | ||
L = L1+L2 | ||
|
||
dir = "hists2" | ||
|
||
for e in L: | ||
print("time stap log.stp -c \"bash ../../bench.sh sys "+e+"\" &> "+dir+"/"+e+".txt") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
benchmarking on 8 cores. | ||
use '-h' or '--help' for help on configuration options. | ||
|
||
allocators: sys | ||
tests : glibc-simple | ||
|
||
---- 1: glibc-simple | ||
|
||
run 1: glibc-simple sys: SYSMALLOC=1 ./glibc-simple | ||
glibc-simple sys 5:16.86 6100 127.46 189.09 0 233 | ||
|
||
results written to: /home/atn/stapp/mimalloc-bench/out/bench/benchres.csv | ||
|
||
#------------------------------------------------------------------ | ||
# test alloc time rss user sys page-faults page-reclaims | ||
glibc-simple sys 5:16.86 6100 127.46 189.09 0 233 | ||
|
||
Malloc: 96047798 | ||
Free: 96040508 | ||
Realloc: 756 | ||
Calloc: 41 | ||
Malloc_usable_size: 0 | ||
Aligned_alloc: 1 | ||
Posix_memalign: 0 | ||
value |-------------------------------------------------- count | ||
0 | 2 | ||
1 | 446 | ||
2 | 9338 | ||
4 | 5780 | ||
8 | 4164 | ||
16 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 32010327 | ||
32 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 32011108 | ||
64 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 32005108 | ||
128 | 828 | ||
256 | 273 | ||
512 | 68 | ||
1024 | 141 | ||
2048 | 125 | ||
4096 | 76 | ||
8192 | 12 | ||
16384 | 0 | ||
32768 | 2 | ||
65536 | 0 | ||
131072 | 0 | ||
|
Oops, something went wrong.