Skip to content

block: Introduce qemu-img bench

Kevin Wolf qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 4 repliesIn review
  2. v15 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- Added --pattern=... option for writes [Den]
- Added --no-drain option for write+flush tests [Den]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5qemu-img benchqemu-img-cmds.hx qemu-img.c qemu-img.texi+206 -00 replies
2/5qemu-img bench: Sequential writesqemu-img-cmds.hx qemu-img.c qemu-img.texi+44 -111 reply
3/5qemu-img bench: Make start offset configurableqemu-img-cmds.hx qemu-img.c qemu-img.texi+25 -70 replies
4/5qemu-img bench: Implement -S (step size)qemu-img-cmds.hx qemu-img.c qemu-img.texi+27 -80 replies
5/5qemu-img bench: Add --flush-intervalqemu-img-cmds.hx qemu-img.c qemu-img.texi+95 -121 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDenis V. LunevStefan Hajnoczi
SeriesR-b
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/5] block: Introduce qemu-img bench

After merging Den's qcow2 patch to avoid duplicated flushes, I thought I would be nice to reproduce the problem and I remembered 'qemu-img bench', which I had posted before as part of more than one RFC series, but which never made it to master somehow. So here is a rebased and cleaned up version of it, just by itself, so that it hopefully can be merged finally.

Of course, I failed to actually reproduce the problem on my laptop. Who knows, something on my system might be more intelligent about useless flushes, or maybe I just misunderstood what the problematic scenario looks like at the block level. Doesn't make the tool less useful, though, and I already did the rebasing.

v2:
- Added --pattern=... option for writes [Den]
- Added --no-drain option for write+flush tests [Den]

Kevin Wolf (5):
qemu-img bench
qemu-img bench: Sequential writes
qemu-img bench: Make start offset configurable
qemu-img bench: Implement -S (step size)
qemu-img bench: Add --flush-interval

 qemu-img-cmds.hx |   6 +
 qemu-img.c       | 329 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 qemu-img.texi    |  24 ++++
 3 files changed, 359 insertions(+)
Signature · 1 line
1.8.3.1