diff options
| author | Suganath Prabu S <[email protected]> | 2021-08-09 12:56:38 +0530 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-08-09 23:07:04 -0400 |
| commit | 787f2448c23603d658d955402b166e1dde0dc1e5 (patch) | |
| tree | 5b9d9122a968cf4f4b8955f5c84c8d84a0f04b4c /tools/perf/scripts/python | |
| parent | 44f88ef3c9f1edf4f8229508649965d85bc6f186 (diff) | |
scsi: mpt3sas: Use firmware recommended queue depth
Currently, the mpt3sas driver sets the default queue depth based on the
physical interface of the attached device:
- SAS : 254
- SATA: 32
- NVMe: 128
The IOC firmware provides a recommended queue depth for each device through
SAS IO Unit Page1 for SAS/SATA and PCIe IO Unit Page 1 for NVMe devices.
If the host sets the queue depth greater than the firmware recommended
value, then the IOC places the I/Os above the recommended queue depth in an
internal pending queue. This consumes outstanding host-credit/resources,
thereby leading to potential starvation of other devices.
To avoid this, use the device depth recommended by the IOC firmware.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Suganath Prabu S <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions