diff options
| author | Suganath Prabu S <suganath-prabu.subramani@broadcom.com> | 2021-08-09 10:26:38 +0300 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-08-10 06:07:04 +0300 |
| commit | 787f2448c23603d658d955402b166e1dde0dc1e5 (patch) | |
| tree | 5b9d9122a968cf4f4b8955f5c84c8d84a0f04b4c /tools/perf/scripts/python | |
| parent | 44f88ef3c9f1edf4f8229508649965d85bc6f186 (diff) | |
| download | linux-787f2448c23603d658d955402b166e1dde0dc1e5.tar.xz | |
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/20210809072639.21228-2-suganath-prabu.subramani@broadcom.com
Signed-off-by: Suganath Prabu S <suganath-prabu.subramani@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
