]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Increase queue depths from 1024/256 to 8192/1024 IOCBs.
authormav <mav@FreeBSD.org>
Fri, 20 Nov 2020 19:36:34 +0000 (19:36 +0000)
committermav <mav@FreeBSD.org>
Fri, 20 Nov 2020 19:36:34 +0000 (19:36 +0000)
commit365dea75873239c7122333cb9e949f5cd47bc930
treef05ead2e0f36b0c0a27f7fca5d9db0600a94e2d4
parent5210d41950abeb421e64ce5eb8942b6c844742c7
Increase queue depths from 1024/256 to 8192/1024 IOCBs.

Qlogic chips store S/G lists in the same queue as requests themselves.  In
the worst case 1MB I/O may require up to 52 IOCBs, that means queue of 1024
IOCBs can store only 19 of such requests.  The increase reduces chances of
overflow, while we should be able to afford additional 512KB of RAM per HBA.
The Linux driver uses comparable numbers.

While there, decouple ATIO queue size from response queue size.  There is
no reason for them to be equal.
sys/dev/isp/isp.c
sys/dev/isp/isp_freebsd.h
sys/dev/isp/isp_pci.c
sys/dev/isp/isp_target.c
sys/dev/isp/ispvar.h