qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v7 21/21] scripts/simplebench: add bench_prealloc.py


From: Max Reitz
Subject: Re: [PATCH v7 21/21] scripts/simplebench: add bench_prealloc.py
Date: Fri, 13 Nov 2020 20:32:23 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0

On 13.11.20 19:00, Vladimir Sementsov-Ogievskiy wrote:
13.11.2020 19:24, Max Reitz wrote:
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 <vsementsov@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 <mreitz@redhat.com>



Thanks for reviewing! Could you take this all through you tree?

Sure, if you can live with the fact that I’ll be on PTO for the next two weeks :)

(Shouldn’t matter for block-next, as 5.2 won’t be released until December.)

Max




reply via email to

[Prev in Thread] Current Thread [Next in Thread]