|
|
Log in / Subscribe / Register

Increase SCSI IOPS

From:  Bart Van Assche <bvanassche-AT-acm.org>
To:  "Martin K . Petersen" <martin.petersen-AT-oracle.com>
Subject:  [PATCH v2 0/5] Increase SCSI IOPS
Date:  Mon, 24 Nov 2025 10:21:55 -0800
Message-ID:  <20251124182201.737160-1-bvanassche@acm.org>
Cc:  linux-scsi-AT-vger.kernel.org, linux-block-AT-vger.kernel.org, John Garry <john.g.garry-AT-oracle.com>, Hannes Reinecke <hare-AT-suse.de>, Bart Van Assche <bvanassche-AT-acm.org>
Archive-link:  Article

Hi Martin,

This patch series increases scsi_debug IOPS by 5% on my test setup by disabling
SCSI budget management if it is not needed. This patch series improves the
performance of many SCSI LLDs, including the UFS and ATA drivers.

Please consider this patch series for the next merge window.

Thanks,

Bart.

Changes compared to v1:
 - Fixed a hang during LUN scanning for ATA devices.

Bart Van Assche (5):
  block: Introduce __blk_mq_tagset_iter()
  block: Introduce blk_mq_tagset_iter()
  libata: Stop using cmd->budget_token
  scsi: core: Generalize scsi_device_busy()
  scsi: core: Improve IOPS in case of host-wide tags

 block/blk-mq-tag.c         | 51 ++++++++++++++++++++++++++++----------
 drivers/ata/libata-scsi.c  | 18 +++++---------
 drivers/scsi/scsi.c        |  6 ++---
 drivers/scsi/scsi_lib.c    | 38 ++++++++++++++++++++++++++++
 drivers/scsi/scsi_scan.c   | 18 +++++++++++++-
 include/linux/blk-mq.h     |  2 ++
 include/scsi/scsi_device.h |  5 +---
 7 files changed, 104 insertions(+), 34 deletions(-)




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds