🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: org.kernel.vger.target-devel
1 messages
1 total messages Started by Martin K. Petersen Tue, 06 May 2025 04:25
Re: [PATCH v2 0/2] target: Remove atomics from main IO path
#1
Author: Martin K. Petersen
Date: Tue, 06 May 2025 04:25
25 lines
7148 bytes
On Wed, 23 Apr 2025 22:26:31 -0500, Mike Christie wrote:

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

Applied to 6.16/scsi-queue, thanks!

[1/2] target: Move IO path stats to per cpu
      https://git.kernel.org/mkp/scsi/c/9cf2317b795d
[2/2] target: Move delayed/ordered tracking to per cpu
      https://git.kernel.org/mkp/scsi/c/268975a87c7b

-- 
Martin K. Petersen	Oracle Linux Engineering
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads