]> Git Repo - qemu.git/commit
scripts/simplebench: compare write request performance
authorAndrey Shinkevich <[email protected]>
Tue, 14 Jul 2020 15:50:46 +0000 (18:50 +0300)
committerEduardo Habkost <[email protected]>
Fri, 18 Sep 2020 18:00:32 +0000 (14:00 -0400)
commit1b7306f5dd7a80f4797c1644d539409031663782
tree0ea6908ee7776162a52f1bc9b8e0e2d7748a1ba4
parent053a4177817db307ec854356e95b5b350800a216
scripts/simplebench: compare write request performance

The script 'bench_write_req.py' allows comparing performances of write
request for two qemu-img binary files.
An example with (qemu-img binary 1) and without (qemu-img binary 2) the
applied patch "qcow2: skip writing zero buffers to empty COW areas"
(git commit ID: c8bb23cbdbe32f5) has the following results:

SSD:
----------------  -------------------  -------------------
                  <qemu-img binary 1>  <qemu-img binary 2>
<cluster front>   0.10 +- 0.00         8.16 +- 0.65
<cluster middle>  0.10 +- 0.00         7.37 +- 1.10
<cross cluster>   7.40 +- 1.08         21.97 +- 4.19
<cluster 64K>     2.14 +- 0.94         8.48 +- 1.66
----------------  -------------------  -------------------
HDD:
----------------  -------------------  -------------------
                  <qemu-img binary 1>  <qemu-img binary 2>
<cluster front>   2.30 +- 0.01         6.19 +- 0.06
<cluster middle>  2.20 +- 0.09         6.20 +- 0.06
<cross cluster>   8.32 +- 0.16         8.26 +- 0.14
<cluster 64K>     8.20 +- 0.05         6.26 +- 0.10
----------------  -------------------  -------------------

Suggested-by: Denis V. Lunev <[email protected]>
Suggested-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Signed-off-by: Andrey Shinkevich <[email protected]>
Reviewed-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Message-Id: <1594741846[email protected]>
Signed-off-by: Eduardo Habkost <[email protected]>
scripts/simplebench/bench_write_req.py [new file with mode: 0755]
This page took 0.025969 seconds and 4 git commands to generate.