target-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] target: Remove atomics from main IO path
@ 2025-04-13  3:59 Mike Christie
  2025-04-13  3:59 ` [PATCH 1/2] target: Move IO path stats to per cpu Mike Christie
  2025-04-13  3:59 ` [PATCH 2/2] target: Move delayed/ordered tracking " Mike Christie
  0 siblings, 2 replies; 4+ messages in thread
From: Mike Christie @ 2025-04-13  3:59 UTC (permalink / raw)
  To: martin.petersen, linux-scsi, target-devel

The following patches made over Linus's tree remove the atomic use from
the main IO path. There was a handful of atomic_longs used just used
for stats and a couple atomics used for handling ordered commands. These
patches move the stats to per cpu, and moves the ordered tracking to a
per cpu counter.

With the patches 8K IOPS increases by up to 33% when running fio
with numjobs >= 4 and using the vhost-scsi target with virtio-scsi
and virtio num_queues >= 4 (jobs and queues match, and virtqueue_size
and cmd_per_lun are increased to match the total iodepth of all
jobs).



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

end of thread, other threads:[~2025-04-15  7:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-13  3:59 [PATCH 0/2] target: Remove atomics from main IO path Mike Christie
2025-04-13  3:59 ` [PATCH 1/2] target: Move IO path stats to per cpu Mike Christie
2025-04-15  7:17   ` kernel test robot
2025-04-13  3:59 ` [PATCH 2/2] target: Move delayed/ordered tracking " Mike Christie

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