qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v2 0/4] Revival of patches to implement NBD client multi-conn
@ 2025-04-28 18:46 Eric Blake
  2025-04-28 18:46 ` [PATCH v2 1/4] nbd: Add multi-conn option Eric Blake
                   ` (5 more replies)
  0 siblings, 6 replies; 22+ messages in thread
From: Eric Blake @ 2025-04-28 18:46 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-block

This is a rebase of patches that Rich Jones first posted in 2023:
https://lists.gnu.org/archive/html/qemu-devel/2023-03/msg03320.html

I'm still leaving the series in an RFC state while I'm trying to
improve the code to better play with all of the multi-queue changes in
the block layer in the meantime.  In my own testing, the patches as
presented here are not making any noticeable difference in qemu-img
convert to a local destination file (multi-conn=1 was not much
different than multi-conn=4, although I did validate that multiple
sockets were in use and the round robin code was working).  Other
benchmarks did show improvements, such as qemu convert targeting an
nbdkit server on a curl backend getting a 20% boost when I ramped
multi-conn from 1 to 4.

I have more patches on top of these to post to the list once I can get
benchmark numbers that make more sense.

Richard W.M. Jones (4):
  nbd: Add multi-conn option
  nbd: Split out block device state from underlying NBD connections
  nbd: Open multiple NBD connections if multi-conn is set
  nbd: Enable multi-conn using round-robin

 qapi/block-core.json |   8 +-
 block/coroutines.h   |   5 +-
 block/nbd.c          | 796 +++++++++++++++++++++++++------------------
 3 files changed, 479 insertions(+), 330 deletions(-)

-- 
2.49.0



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

end of thread, other threads:[~2025-05-28  6:11 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-28 18:46 [RFC PATCH v2 0/4] Revival of patches to implement NBD client multi-conn Eric Blake
2025-04-28 18:46 ` [PATCH v2 1/4] nbd: Add multi-conn option Eric Blake
2025-04-29  5:49   ` Markus Armbruster
2025-04-29  9:14     ` Richard W.M. Jones
2025-04-29 11:01       ` Markus Armbruster
2025-04-29 11:19         ` Richard W.M. Jones
2025-04-29 11:31           ` Markus Armbruster
2025-05-27 22:01             ` Eric Blake
2025-05-28  6:10               ` Markus Armbruster
2025-05-22 17:38   ` Andrey Drobyshev
2025-05-22 18:44     ` Eric Blake
2025-05-23 11:03       ` Andrey Drobyshev
2025-05-23 12:59         ` Eric Blake
2025-04-28 18:46 ` [PATCH v2 2/4] nbd: Split out block device state from underlying NBD connections Eric Blake
2025-04-28 18:46 ` [PATCH v2 3/4] nbd: Open multiple NBD connections if multi-conn is set Eric Blake
2025-04-28 18:46 ` [PATCH v2 4/4] nbd: Enable multi-conn using round-robin Eric Blake
2025-04-28 19:27   ` Richard W.M. Jones
2025-04-28 21:32     ` Eric Blake
2025-05-22 17:37   ` Andrey Drobyshev
2025-05-22 18:45     ` Eric Blake
2025-04-29  8:41 ` [RFC PATCH v2 0/4] Revival of patches to implement NBD client multi-conn Daniel P. Berrangé
2025-04-29 12:03 ` Denis V. Lunev

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).