linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] block, bfq: extend bfq to support multi-actuator drives
@ 2022-06-23 15:53 Paolo Valente
  2022-06-23 15:53 ` [PATCH 1/8] block, bfq: split sync bfq_queues on a per-actuator basis Paolo Valente
                   ` (8 more replies)
  0 siblings, 9 replies; 21+ messages in thread
From: Paolo Valente @ 2022-06-23 15:53 UTC (permalink / raw)
  To: Jens Axboe
  Cc: linux-block, linux-kernel, jack, andrea.righi, glen.valante,
	arie.vanderhoeven, Paolo Valente

Hi,
this patch series extends BFQ so as to optimize I/O dispatch to
multi-actuator drives. In particular, this extension addresses the
following issue. Multi-actuator drives appear as a single device to
the I/O subsystem [1].  Yet they address commands to different
actuators internally, as a function of Logical Block Addressing
(LBAs). A given sector is reachable by only one of the actuators. For
example, Seagate’s Serial Advanced Technology Attachment (SATA)
version contains two actuators and maps the lower half of the SATA LBA
space to the lower actuator and the upper half to the upper actuator.

Evidently, to fully utilize actuators, no actuator must be left idle
or underutilized while there is pending I/O for it. To reach this
goal, the block layer must somehow control the load of each actuator
individually. This series enriches BFQ with such a per-actuator
control, as a first step. Then it also adds a simple mechanism for
guaranteeing that actuators with pending I/O are never left idle.

See [1] for a more detailed overview of the problem and of the
solutions implemented in this patch series. There you will also find
some preliminary performance results.

Thanks,
Paolo

[1] https://www.linaro.org/blog/budget-fair-queueing-bfq-linux-io-scheduler-optimizations-for-multi-actuator-sata-hard-drives/

Davide Zini (3):
  block, bfq: split also async bfq_queues on a per-actuator basis
  block, bfq: inject I/O to underutilized actuators
  block, bfq: balance I/O injection among underutilized actuators

Federico Gavioli (1):
  block, bfq: retrieve independent access ranges from request queue

Paolo Valente (4):
  block, bfq: split sync bfq_queues on a per-actuator basis
  block, bfq: forbid stable merging of queues associated with different
    actuators
  block, bfq: turn scalar fields into arrays in bfq_io_cq
  block, bfq: turn BFQ_NUM_ACTUATORS into BFQ_MAX_ACTUATORS

 block/bfq-cgroup.c  |  97 +++++----
 block/bfq-iosched.c | 488 +++++++++++++++++++++++++++++---------------
 block/bfq-iosched.h | 149 ++++++++++----
 block/bfq-wf2q.c    |   2 +-
 4 files changed, 493 insertions(+), 243 deletions(-)

--
2.20.1

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

end of thread, other threads:[~2022-09-30 15:48 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-23 15:53 [PATCH 0/8] block, bfq: extend bfq to support multi-actuator drives Paolo Valente
2022-06-23 15:53 ` [PATCH 1/8] block, bfq: split sync bfq_queues on a per-actuator basis Paolo Valente
2022-06-23 15:53 ` [PATCH 2/8] block, bfq: forbid stable merging of queues associated with different actuators Paolo Valente
2022-06-23 15:53 ` [PATCH 3/8] block, bfq: turn scalar fields into arrays in bfq_io_cq Paolo Valente
2022-06-23 15:53 ` [PATCH 4/8] block, bfq: split also async bfq_queues on a per-actuator basis Paolo Valente
2022-06-23 15:53 ` [PATCH 5/8] block, bfq: turn BFQ_NUM_ACTUATORS into BFQ_MAX_ACTUATORS Paolo Valente
2022-06-23 15:53 ` [PATCH 6/8] block, bfq: retrieve independent access ranges from request queue Paolo Valente
2022-06-23 15:53 ` [PATCH 7/8] block, bfq: inject I/O to underutilized actuators Paolo Valente
2022-06-23 15:53 ` [PATCH 8/8] block, bfq: balance I/O injection among " Paolo Valente
     [not found] ` <PH7PR20MB505849512979A89E8A66FB24F18E9@PH7PR20MB5058.namprd20.prod.outlook.com>
     [not found]   ` <SJ0PR20MB44097AAA14A819BB2C7B4AB3A0909@SJ0PR20MB4409.namprd20.prod.outlook.com>
     [not found]     ` <DM4PR20MB50613F96089AC468679FB415F1969@DM4PR20MB5061.namprd20.prod.outlook.com>
     [not found]       ` <DM4PR20MB5061638AB3F389ECD0714029F1969@DM4PR20MB5061.namprd20.prod.outlook.com>
2022-07-29 16:36         ` [PATCH 0/8] block, bfq: extend bfq to support multi-actuator drives Arie van der Hoeven
2022-08-09  3:47   ` Rory Chen
2022-08-10 10:22     ` Paolo Valente
2022-08-10 12:59       ` Rory Chen
2022-08-18 15:40         ` Tyler Erickson
2022-08-25 14:45           ` Paolo Valente
2022-09-08  2:46             ` Rory Chen
2022-09-08 10:54               ` Paolo Valente
2022-09-08 11:34                 ` Rory Chen
2022-09-27 16:59                   ` Arie van der Hoeven
2022-09-28  1:02                     ` Rory Chen
2022-09-30 15:48                       ` Paolo Valente

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