Skip to contentSkip to conversation

megaraid_sas: change sdev queue depth max vs optimal

PATCH Martin K. Petersen 2 participants 3 messages Aug 8, 2019 – Aug 13, 2019 1 message not in the archive SCSI

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Chandrakanth,

Quoted 3 lines

This patch provides the module parameter and sysfs interface to switch between the firmware provided (optimal) queue depth and controller queue depth (can_queue).

This smells a bit like a don't-be-broken flag.

Why isn't the firmware-provided value optimal?

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering
#2 lore raw

Martin,

The firmware provided queue depth provides optimum performance in most of the cases/workloads. And this patch provides the option to the user to go with max queue_depth or with optimum queue_depth.

-Chandrakanth

-----Original Message-----
From: Martin K. Petersen [mailto:[email protected]]
Sent: Thursday, August 8, 2019 6:56 AM
To: Chandrakanth Patil <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH] megaraid_sas: change sdev queue depth max vs optimal

Chandrakanth,

Quoted 3 lines

This patch provides the module parameter and sysfs interface to switch between the firmware provided (optimal) queue depth and controller queue depth (can_queue).

This smells a bit like a don't-be-broken flag.

Why isn't the firmware-provided value optimal?

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering
author Applied
#3 lore raw

Chandrakanth,

Quoted 3 lines

The firmware provided queue depth provides optimum performance in most of the cases/workloads. And this patch provides the option to the user to go with max queue_depth or with optimum queue_depth.

I guess I'm just objecting to the notion that something is being described as "optimum" when it clearly isn't.

Applied to 5.4/scsi-queue. Thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering