From: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
To: qemu-block@nongnu.org
Cc: kwolf@redhat.com, vsementsov@virtuozzo.com,
qemu-devel@nongnu.org, mreitz@redhat.com,
andrey.shinkevich@virtuozzo.com, den@openvz.org
Subject: [PATCH v4 0/3] scripts/simplebench: add bench_write_req.py test
Date: Sun, 12 Jul 2020 20:49:15 +0300 [thread overview]
Message-ID: <1594576158-75884-1-git-send-email-andrey.shinkevich@virtuozzo.com> (raw)
The script 'bench_write_req.py' allows comparing performances of write request for two
qemu-img binary files. If you made a change in QEMU code and want to check the write
requests performance, you will want to build two qemu-img binary files with and without
your change. Then you specify paths to those binary files and put them as parameters to
the bench_write_req.py script. You may see other supported parameters in the USAGE help.
v4:
01: 'if/else requests' blocks moved from patch 0001 to 0003.
v3: Based on the Vladimir's review
01: The test results were amended in the patch description.
02: The python format string syntax changed to the newer one f''.
03: The 'empty_disk' test parameter fixed to True.
04: The function bench_write_req() was supplied with commentary.
05: The subprocess.call() was replaced with subprocess.run().
06: The exception handling was improved.
07: The v2 only patch was split into three in the series.
Andrey Shinkevich (3):
scripts/simplebench: compare write request performance
scripts/simplebench: allow writing to non-empty image
scripts/simplebench: add unaligned data case to bench_write_req
scripts/simplebench/bench_write_req.py | 206 +++++++++++++++++++++++++++++++++
1 file changed, 206 insertions(+)
create mode 100755 scripts/simplebench/bench_write_req.py
--
1.8.3.1
next reply other threads:[~2020-07-12 17:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-12 17:49 Andrey Shinkevich [this message]
2020-07-12 17:49 ` [PATCH v4 1/3] scripts/simplebench: compare write request performance Andrey Shinkevich
2020-07-13 12:32 ` Vladimir Sementsov-Ogievskiy
2020-07-12 17:49 ` [PATCH v4 2/3] scripts/simplebench: allow writing to non-empty image Andrey Shinkevich
2020-07-12 17:49 ` [PATCH v4 3/3] scripts/simplebench: add unaligned data case to bench_write_req Andrey Shinkevich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1594576158-75884-1-git-send-email-andrey.shinkevich@virtuozzo.com \
--to=andrey.shinkevich@virtuozzo.com \
--cc=den@openvz.org \
--cc=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=vsementsov@virtuozzo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.