<feed xmlns='http://www.w3.org/2005/Atom'>
<title>allocbench/src/benchmark.py, branch lld</title>
<subtitle>benchmark tool for POSIX memory allocators</subtitle>
<link rel='alternate' type='text/html' href='https://git.muhq.space/allocbench/'/>
<entry>
<title>add lld benchmark using lld provided benchmarks</title>
<updated>2019-08-20T14:14:32+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fl.fischer@fau.de</email>
</author>
<published>2019-08-20T14:14:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/allocbench/commit/?id=468865c5de6ce2365a4afb86aacc05d81c0329c4'/>
<id>468865c5de6ce2365a4afb86aacc05d81c0329c4</id>
<content type='text'>
Benchmark changes the current working directory if self.run_dir is
set befor each benchmark run.
lld does not work with print_status_on_exit.so so reading and removing
status is no only done if a status file is available.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Benchmark changes the current working directory if self.run_dir is
set befor each benchmark run.
lld does not work with print_status_on_exit.so so reading and removing
status is no only done if a status file is available.
</pre>
</div>
</content>
</entry>
<entry>
<title>let the loader load the benchmark not exec</title>
<updated>2019-08-12T17:24:36+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fl.fischer@fau.de</email>
</author>
<published>2019-08-12T17:24:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/allocbench/commit/?id=7714046607622de1a9fe6282e8d8ea12824b27c3'/>
<id>7714046607622de1a9fe6282e8d8ea12824b27c3</id>
<content type='text'>
If the loader calls build/exec the execvp from build/exec is handled
by the system loader.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the loader calls build/exec the execvp from build/exec is handled
by the system loader.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix benchmarks for any glibc version</title>
<updated>2019-08-12T16:21:44+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fl.fischer@fau.de</email>
</author>
<published>2019-08-12T16:21:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/allocbench/commit/?id=f3a2f62edd79deedff5e6ffaa1d2d7a9f3ac5d11'/>
<id>f3a2f62edd79deedff5e6ffaa1d2d7a9f3ac5d11</id>
<content type='text'>
use the included loader of the build glibc instead of LD_LIBRARY_PATH.
Using LD_LIBRARY_PATH probably fails because of incompatible system
loaders and newer glibc versions.
Then we have to reverse the positions of {measure cmd} and {cmd prefix}
in the exec chain because ld loads only ELF binaries and {measure cmd}
could be a script.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
use the included loader of the build glibc instead of LD_LIBRARY_PATH.
Using LD_LIBRARY_PATH probably fails because of incompatible system
loaders and newer glibc versions.
Then we have to reverse the positions of {measure cmd} and {cmd prefix}
in the exec chain because ld loads only ELF binaries and {measure cmd}
could be a script.
</pre>
</div>
</content>
</entry>
<entry>
<title>use absolut path of benchmark binary</title>
<updated>2019-08-12T12:06:58+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fl.fischer@fau.de</email>
</author>
<published>2019-08-12T12:06:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/allocbench/commit/?id=ef3bfba879fb11d88580ffbdcf2f25dae21fa9fd'/>
<id>ef3bfba879fb11d88580ffbdcf2f25dae21fa9fd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>use LD_LIBRARY_PATH for glibc instead of calling its loader</title>
<updated>2019-08-12T09:10:15+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fl.fischer@fau.de</email>
</author>
<published>2019-08-12T09:10:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/allocbench/commit/?id=c6a768c12ce7e83631d08f53937a075c4f76e2d5'/>
<id>c6a768c12ce7e83631d08f53937a075c4f76e2d5</id>
<content type='text'>
Calling the loader fails on non ELF executables. Exec, formerly run_cmd,
now takes two options: -l LD_LIBRARY_PATH, -p LD_PRELOAD.
-p sets LD_PRELOAD and -l LD_LIBRARY_PATH before executing the rest of argv.

glibc no longer uses cmd_prefix in favor of LD_LIBRARY_PATH.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Calling the loader fails on non ELF executables. Exec, formerly run_cmd,
now takes two options: -l LD_LIBRARY_PATH, -p LD_PRELOAD.
-p sets LD_PRELOAD and -l LD_LIBRARY_PATH before executing the rest of argv.

glibc no longer uses cmd_prefix in favor of LD_LIBRARY_PATH.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rework exec chain</title>
<updated>2019-08-11T20:40:06+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fl.fischer@fau.de</email>
</author>
<published>2019-08-11T20:28:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/allocbench/commit/?id=9d056ff64bf887e2c3479fe515bf7c95cb39e5b6'/>
<id>9d056ff64bf887e2c3479fe515bf7c95cb39e5b6</id>
<content type='text'>
Originally the structure of the executed cmd was
{measure cmd} {allocator cmd prefix} {cmd} with the parent environment
except LD_PRELOAD was modified for the whole command chain.
Unfortunatly perf causes segfaults with some allocators and measuring
allocators cmd prefixes doesnt seem fair. So the new cmd chain looks like:
{allocator cmd prefix} {measure cmd} run_cmd &lt;LD_PRELOAD&gt; {cmd} without
touching the environment in python.

run_cmd sets LD_PRELOAD to the value it received in argv[1] and executes
argv[2] with the rest of argv. This does also measure code not part of
the actual benchmark but in a equal manner and not only for some allocators.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Originally the structure of the executed cmd was
{measure cmd} {allocator cmd prefix} {cmd} with the parent environment
except LD_PRELOAD was modified for the whole command chain.
Unfortunatly perf causes segfaults with some allocators and measuring
allocators cmd prefixes doesnt seem fair. So the new cmd chain looks like:
{allocator cmd prefix} {measure cmd} run_cmd &lt;LD_PRELOAD&gt; {cmd} without
touching the environment in python.

run_cmd sets LD_PRELOAD to the value it received in argv[1] and executes
argv[2] with the rest of argv. This does also measure code not part of
the actual benchmark but in a equal manner and not only for some allocators.
</pre>
</div>
</content>
</entry>
<entry>
<title>be more carefull with default entries in Benchmark.results</title>
<updated>2019-08-10T18:14:04+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fl.fischer@fau.de</email>
</author>
<published>2019-08-10T18:14:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/allocbench/commit/?id=5ad4e69fe7a0841043605b32058e87d4fd167a5d'/>
<id>5ad4e69fe7a0841043605b32058e87d4fd167a5d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add facts to dataref export</title>
<updated>2019-07-31T16:52:37+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fl.fischer@fau.de</email>
</author>
<published>2019-07-31T16:52:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/allocbench/commit/?id=57c769cce26aa6e373f637f578b2f8c76a1e7245'/>
<id>57c769cce26aa6e373f637f578b2f8c76a1e7245</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>apply some flake8 hints</title>
<updated>2019-06-19T15:12:14+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fl.fischer@fau.de</email>
</author>
<published>2019-06-18T15:40:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/allocbench/commit/?id=366c9e27b13e976ce26ec6a97c6796eb1cdca887'/>
<id>366c9e27b13e976ce26ec6a97c6796eb1cdca887</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix old variable name in debug output</title>
<updated>2019-06-17T11:35:04+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fl.fischer@fau.de</email>
</author>
<published>2019-06-17T11:35:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/allocbench/commit/?id=3988f2e21754208a548725c590fb42e372a32efa'/>
<id>3988f2e21754208a548725c590fb42e372a32efa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
