scripts: Introduce benchmark_memory_usage.sh
authorAhmed S. Darwish <darwish.07@gmail.com>
Wed, 23 Sep 2015 16:30:16 +0000 (18:30 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Sat, 31 Oct 2015 13:29:48 +0000 (15:29 +0200)
commitc0f2e7d36ade75d86cd3504004e64b555b8a5273
tree63e61ee533d2d18d49625832ebdbe80d7eb2b612
parent01aec46fb4354eae0c1c1e187ac2395ab6e95cf9
scripts: Introduce benchmark_memory_usage.sh

Add shell script to sample PulseAudio memory usage while increasing
the number of connected 'paplay' clients over time.

Linux kernel /proc/$PID/smaps Private and Shared_Dirty fields are used
to accurately measure the total size of used dirty pages over time.
This shall be useful for benchmarking the PA daemon's memory while
introducing new features like per-client SHM access and memfds.

Also add an empty benchmarks-collection directory 'benchmarks/'. All
output from the benchmarking tools shall be saved in this place, with
timestamps and symbolic links to the newest versions.

Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com>
Makefile.am
scripts/benchmark_memory_usage.sh [new file with mode: 0755]
scripts/benchmarks/.gitignore [new file with mode: 0644]
scripts/benchmarks/README [new file with mode: 0644]