svn commit: r328698 - stable/11/sys/dev/nvme
Alexander Motin
mav at FreeBSD.org
Thu Feb 1 19:00:06 UTC 2018
Author: mav
Date: Thu Feb 1 19:00:05 2018
New Revision: 328698
URL: https://svnweb.freebsd.org/changeset/base/328698
Log:
MFC r323834 (by imp): Fix queue depth for nda.
1/4 of the number of queues times queue entries is too limiting. It
works up to about 4k IOPS / 3.0GB/s for hardware that can do
4.4k/3.2GB/s with nvd. 3/4 works better, though it highlights issues
in the fairness of nda's choice of TRIM vs READ. That will be fixed
separately.
Modified:
stable/11/sys/dev/nvme/nvme_ctrlr.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/nvme/nvme_ctrlr.c
==============================================================================
--- stable/11/sys/dev/nvme/nvme_ctrlr.c Thu Feb 1 18:59:03 2018 (r328697)
+++ stable/11/sys/dev/nvme/nvme_ctrlr.c Thu Feb 1 19:00:05 2018 (r328698)
@@ -151,7 +151,7 @@ nvme_ctrlr_construct_io_qpairs(struct nvme_controller
* not a hard limit and will need to be revisitted when the upper layers
* of the storage system grows multi-queue support.
*/
- ctrlr->max_hw_pend_io = num_trackers * ctrlr->num_io_queues / 4;
+ ctrlr->max_hw_pend_io = num_trackers * ctrlr->num_io_queues * 3 / 4;
/*
* This was calculated previously when setting up interrupts, but
More information about the svn-src-all
mailing list