Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
allocbench
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Florian Fischer
allocbench
Commits
7f1588ee
Commit
7f1588ee
authored
4 years ago
by
Florian Fischer
Browse files
Options
Downloads
Patches
Plain Diff
[Readme] Update Readme and add some context about what allocbench does
parent
e0666c64
No related branches found
No related tags found
No related merge requests found
Pipeline
#45714
passed
4 years ago
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Readme.md
+15
-6
15 additions, 6 deletions
Readme.md
with
15 additions
and
6 deletions
Readme.md
+
15
−
6
View file @
7f1588ee
# allocbench - benchmark tool for POSIX memory allocators
allocbench is a POSIX memory allocator benchmarking framework and tooling.
It was used in Florian Fischer's
[
BA thesis
](
https://muhq.space/ba.html
)
.
What can allocbench do for you ?
*
Deterministically builds and patches allocators from git or source archives
*
Couples allocators with various included benchmarks as well as your custom ones
*
Supports you in analyzing your benchmark results by providing statistical and plot helper functions
*
Comes with support for two different malloc tracers to help you understand benchmark and allocator behavior
*
Contains numerous wildly used benchmarks in allocator research (espresso, cfrac, larson, ...)
*
It is extended easily with our own allocators and or custom benchmarks
To obtain allocbench run
...
...
@@ -10,12 +20,12 @@ git clone https://muhq.space/software/allocbench.git
## Requirements
*
python >= 3.
6
*
python >= 3.
8
*
make, find, gcc (build dependencies)
*
perf (
`perf stat -d`
is the default command to measure benchmark results)
*
util-linux (
`whereis`
is used to find system installed allocators)
*
git, tar to handle external artifacts
*
numpy and matplotlib to summarize results and generate plots
*
numpy
, scipy
and matplotlib to summarize results and generate plots
## Usage
...
...
@@ -96,13 +106,12 @@ It groups the included allocators into categories to produce readable and not ex
./bench.py -b loop
runs only the loop benchmark for all
included
allocators and will put its
runs only the loop benchmark for all allocators
found on the system
and will put its
results in
`$PWD/results/$HOSTNAME/<time>/loop`
.
./bench.py -a
ba_
alloc
ators
./bench.py -a
"tcm
alloc
*"
builds all allocators used in Florian Fischer's
[
BA thesis
](
https://muhq.space/ba.html
)
and runs all benchmarks.
builds all tcmalloc variants shipped with allocbench and runs all benchmarks.
./summarize.py <path/to/saved/results>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment