diff options
author | Alexander Motin <mav@FreeBSD.org> | 2021-02-23 15:58:56 +0000 |
---|---|---|
committer | Alexander Motin <mav@FreeBSD.org> | 2021-03-02 00:44:45 +0000 |
commit | 67dedc2a115e3330365809eeb35d313e02785dcf (patch) | |
tree | b200e300ce7e63c7af19fde01cbfc7f8ccb4c056 | |
parent | 39e2c45679a58ba3a5eaed1ac63212c7dc54b0f3 (diff) | |
download | src-67dedc2a115e3330365809eeb35d313e02785dcf.tar.gz src-67dedc2a115e3330365809eeb35d313e02785dcf.zip |
Bump CTL block backend threads from 14 to 32 per LUN.
This makes random read benchmarks look better on a wide ZFS pools.
I am not sure where the original value goes from, but it is there
for too long now.
MFC after: 1 week
(cherry picked from commit 7d4c444374d53e54ce197138df64bf40c1fb05a3)
-rw-r--r-- | sys/cam/ctl/ctl_backend_block.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/ctl/ctl_backend_block.c b/sys/cam/ctl/ctl_backend_block.c index bd233165b10d..85787d35eb6c 100644 --- a/sys/cam/ctl/ctl_backend_block.c +++ b/sys/cam/ctl/ctl_backend_block.c @@ -225,7 +225,7 @@ struct ctl_be_block_io { extern struct ctl_softc *control_softc; -static int cbb_num_threads = 14; +static int cbb_num_threads = 32; SYSCTL_NODE(_kern_cam_ctl, OID_AUTO, block, CTLFLAG_RD, 0, "CAM Target Layer Block Backend"); SYSCTL_INT(_kern_cam_ctl_block, OID_AUTO, num_threads, CTLFLAG_RWTUN, |