On 21.10.20 16:58, Vladimir Sementsov-Ogievskiy wrote:
Benchmark for new preallocate filter.

Example usage:
     ./bench_prealloc.py ../../build/qemu-img \
         ssd-ext4:/path/to/mount/point \
         ssd-xfs:/path2 hdd-ext4:/path3 hdd-xfs:/path4

The benchmark shows performance improvement (or degradation) when use
new preallocate filter with qcow2 image.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com>
---
  scripts/simplebench/bench_prealloc.py | 132 ++++++++++++++++++++++++++
  1 file changed, 132 insertions(+)
  create mode 100755 scripts/simplebench/bench_prealloc.py

Reviewed-by: Max Reitz <mre...@redhat.com>


Reply via email to