qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v5 00/10] qcow2: encryption threads
@ 2019-04-02 15:37 Vladimir Sementsov-Ogievskiy
  2019-04-02 15:37 ` [Qemu-devel] [PATCH v5 01/10] tests/perf: Test qemu-img convert from raw to encrypted qcow2 Vladimir Sementsov-Ogievskiy
                   ` (12 more replies)
  0 siblings, 13 replies; 37+ messages in thread
From: Vladimir Sementsov-Ogievskiy @ 2019-04-02 15:37 UTC (permalink / raw)
  To: qemu-devel, qemu-block
  Cc: mreitz, kwolf, berto, pbonzini, vsementsov, den, berrange

v5: rebase on master, some conflicts resolved due to data-file feature

01: new patch, just move test from cover letter to a file. I really hope that it
    will not hang the whole series, so, if we don't want it as is or with really
    tiny improvements, I'd prefer to skip it and queue 02-10 first.
09: "true" parameter added to moved qcow2_pre_write_overlap_check() call due to
    rebase on master (both before and after patch). Seems OK, so keep Alberto's r-b.

performance:

after 01:
 # ./tests/perf/block/qcow2/convert-to-encrypted /ssd/src.raw /ssd/dst.enc.qcow2
14.18
 # ./tests/perf/block/qcow2/convert-to-encrypted /ssd/src.raw /ssd/dst.enc.qcow2 -W
13.77

after 10:
 # ./tests/perf/block/qcow2/convert-to-encrypted /ssd/src.raw /ssd/dst.enc.qcow2
14.35
 # ./tests/perf/block/qcow2/convert-to-encrypted /ssd/src.raw /ssd/dst.enc.qcow2 -W
5.62

Vladimir Sementsov-Ogievskiy (10):
  tests/perf: Test qemu-img convert from raw to encrypted qcow2
  qcow2.h: add missing include
  qcow2: add separate file for threaded data processing functions
  qcow2-threads: use thread_pool_submit_co
  qcow2-threads: qcow2_co_do_compress: protect queuing by mutex
  qcow2-threads: split out generic path
  qcow2: qcow2_co_preadv: improve locking
  qcow2: qcow2_co_preadv: skip using hd_qiov when possible
  qcow2: bdrv_co_pwritev: move encryption code out of the lock
  qcow2: do encryption in threads

 block/qcow2.h                               |  20 +-
 block/qcow2-bitmap.c                        |   1 -
 block/qcow2-cache.c                         |   1 -
 block/qcow2-cluster.c                       |   8 +-
 block/qcow2-refcount.c                      |   1 -
 block/qcow2-snapshot.c                      |   1 -
 block/qcow2-threads.c                       | 268 +++++++++++++++++++
 block/qcow2.c                               | 275 ++++----------------
 block/Makefile.objs                         |   2 +-
 tests/perf/block/qcow2/convert-to-encrypted |  48 ++++
 10 files changed, 389 insertions(+), 236 deletions(-)
 create mode 100644 block/qcow2-threads.c
 create mode 100755 tests/perf/block/qcow2/convert-to-encrypted

-- 
2.18.0

^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2019-05-03 14:10 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-02 15:37 [Qemu-devel] [PATCH v5 00/10] qcow2: encryption threads Vladimir Sementsov-Ogievskiy
2019-04-02 15:37 ` [Qemu-devel] [PATCH v5 01/10] tests/perf: Test qemu-img convert from raw to encrypted qcow2 Vladimir Sementsov-Ogievskiy
2019-04-28 22:55   ` Max Reitz
2019-04-28 22:55     ` Max Reitz
2019-04-30  8:53     ` Vladimir Sementsov-Ogievskiy
2019-04-30  8:53       ` Vladimir Sementsov-Ogievskiy
2019-05-03 13:59       ` Max Reitz
2019-05-03 13:59         ` Max Reitz
2019-04-02 15:37 ` [Qemu-devel] [PATCH v5 02/10] qcow2.h: add missing include Vladimir Sementsov-Ogievskiy
2019-04-02 15:37 ` [Qemu-devel] [PATCH v5 03/10] qcow2: add separate file for threaded data processing functions Vladimir Sementsov-Ogievskiy
2019-04-02 15:37 ` [Qemu-devel] [PATCH v5 04/10] qcow2-threads: use thread_pool_submit_co Vladimir Sementsov-Ogievskiy
2019-04-02 15:37 ` [Qemu-devel] [PATCH v5 05/10] qcow2-threads: qcow2_co_do_compress: protect queuing by mutex Vladimir Sementsov-Ogievskiy
2019-04-02 15:37 ` [Qemu-devel] [PATCH v5 06/10] qcow2-threads: split out generic path Vladimir Sementsov-Ogievskiy
2019-04-02 15:37 ` [Qemu-devel] [PATCH v5 07/10] qcow2: qcow2_co_preadv: improve locking Vladimir Sementsov-Ogievskiy
2019-04-29 16:37   ` Max Reitz
2019-04-29 16:37     ` Max Reitz
2019-04-29 17:04     ` Max Reitz
2019-04-29 17:04       ` Max Reitz
2019-04-30  8:38     ` Vladimir Sementsov-Ogievskiy
2019-04-30  8:38       ` Vladimir Sementsov-Ogievskiy
2019-04-30  9:44       ` Vladimir Sementsov-Ogievskiy
2019-04-30  9:44         ` Vladimir Sementsov-Ogievskiy
2019-05-03 14:08         ` Max Reitz
2019-05-03 14:08           ` Max Reitz
2019-04-02 15:37 ` [Qemu-devel] [PATCH v5 08/10] qcow2: qcow2_co_preadv: skip using hd_qiov when possible Vladimir Sementsov-Ogievskiy
2019-04-02 15:37 ` [Qemu-devel] [PATCH v5 09/10] qcow2: bdrv_co_pwritev: move encryption code out of the lock Vladimir Sementsov-Ogievskiy
2019-04-02 15:37 ` [Qemu-devel] [PATCH v5 10/10] qcow2: do encryption in threads Vladimir Sementsov-Ogievskiy
2019-04-16  7:28 ` [Qemu-devel] [PATCH v5 00/10] qcow2: encryption threads Vladimir Sementsov-Ogievskiy
2019-04-16  7:28   ` Vladimir Sementsov-Ogievskiy
2019-04-29  0:37 ` Max Reitz
2019-04-29  0:37   ` Max Reitz
2019-04-29  0:38   ` Max Reitz
2019-04-29  0:38     ` Max Reitz
2019-04-29  8:48   ` Vladimir Sementsov-Ogievskiy
2019-04-29  8:48     ` Vladimir Sementsov-Ogievskiy
2019-04-29 17:05 ` Max Reitz
2019-04-29 17:05   ` Max Reitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).