All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/5] scsi: target: XCOPY performance
@ 2020-03-23 16:54 ` David Disseldorp
  0 siblings, 0 replies; 24+ messages in thread
From: David Disseldorp @ 2020-03-23 16:54 UTC (permalink / raw)
  To: target-devel; +Cc: linux-scsi, martin.petersen, bvanassche

These changes remove unnecessary heap allocations in the XCOPY
READ/WRITE dispatch loop.

Synthetic benchmarks on my laptop using the libiscsi iscsi-dd utility
(--xcopy --max 1 --blocks 65535 src=dst) against a target backed by an 8G
zram (DEBUG_KMEMLEAK=y) iblock backstore (avg across four runs) show:
before: 5.35776G/s
after:  6.12636G/s (approx. +14%)

Feedback appreciated.

Cheers, David

----------------------------------------------------------------
David Disseldorp (5):
      scsi: target: use #def for xcopy descriptor len
      scsi: target: drop xcopy DISK BLOCK LENGTH debug
      scsi: target: avoid per-loop XCOPY buffer allocations
      scsi: target: increase XCOPY I/O size
      scsi: target: avoid XCOPY per-loop read/write cmd allocations

 drivers/target/target_core_xcopy.c | 135 ++++++++++-------------------
 drivers/target/target_core_xcopy.h |  14 +--
 2 files changed, 57 insertions(+), 92 deletions(-)

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

end of thread, other threads:[~2020-03-26 21:20 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-23 16:54 [RFC PATCH 0/5] scsi: target: XCOPY performance David Disseldorp
2020-03-23 16:54 ` David Disseldorp
2020-03-23 16:54 ` [RFC PATCH 1/5] scsi: target: use #def for xcopy descriptor len David Disseldorp
2020-03-23 16:54   ` David Disseldorp
2020-03-24  9:06   ` Christoph Hellwig
2020-03-24  9:06     ` Christoph Hellwig
2020-03-23 16:54 ` [RFC PATCH 2/5] scsi: target: drop xcopy DISK BLOCK LENGTH debug David Disseldorp
2020-03-23 16:54   ` David Disseldorp
2020-03-24  9:07   ` Christoph Hellwig
2020-03-24  9:07     ` Christoph Hellwig
2020-03-23 16:54 ` [RFC PATCH 3/5] scsi: target: avoid per-loop XCOPY buffer allocations David Disseldorp
2020-03-23 16:54   ` David Disseldorp
2020-03-24  9:16   ` Christoph Hellwig
2020-03-24  9:16     ` Christoph Hellwig
2020-03-23 16:54 ` [RFC PATCH 4/5] scsi: target: increase XCOPY I/O size David Disseldorp
2020-03-23 16:54   ` David Disseldorp
2020-03-24  9:16   ` Christoph Hellwig
2020-03-24  9:16     ` Christoph Hellwig
2020-03-23 16:54 ` [RFC PATCH 5/5] scsi: target: avoid XCOPY per-loop read/write cmd allocations David Disseldorp
2020-03-23 16:54   ` David Disseldorp
2020-03-24  9:23   ` Christoph Hellwig
2020-03-24  9:23     ` Christoph Hellwig
2020-03-26 21:20     ` David Disseldorp
2020-03-26 21:20       ` David Disseldorp

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.