On Sat, 2015-08-29 at 12:43 +0200, Ahmed S. Darwish wrote: > Add shell script to sample PulseAudio memory usage (VmSize, > Private_Dirty + Shared_Dirty) while increasing the number of > connected > 'paplay' clients over time. > > Linux kernel /proc/$PID/smaps fields Private and Shared_Dirty 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 the exclusively per-client SHM access. > > 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 at gmail.com> > --- > scripts/benchmark_memory_usage.sh | 87 > +++++++++++++++++++++++++++++++++++++++ > scripts/benchmarks/.gitignore | 10 +++++ > scripts/benchmarks/README | 4 ++ > 3 files changed, 101 insertions(+) > create mode 100755 scripts/benchmark_memory_usage.sh > create mode 100644 scripts/benchmarks/.gitignore > create mode 100644 scripts/benchmarks/README One more comment: the script should be added to Makefile.am to get included in the release tarballs. -- Tanu