]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Reduce CTL threads priority to about PUSER.
authormav <mav@FreeBSD.org>
Mon, 4 Mar 2019 00:49:07 +0000 (00:49 +0000)
committermav <mav@FreeBSD.org>
Mon, 4 Mar 2019 00:49:07 +0000 (00:49 +0000)
commit339ccac400e73da5b579d8586794b5cf2d6a5a04
tree4e933fa318db2e82e2df43df5593a92afcc1a3f0
parenta301c92873741251431c2e698c5ddc02271045c7
Reduce CTL threads priority to about PUSER.

Since in most configurations CTL serves as network service, we found
that this change improves local system interactivity under heavy load.
Priority of main threads is set slightly higher then worker taskqueues
to make them quickly sort incoming requests not creating bottlenecks,
while plenty of worker taskqueues should be less sensitive to latency.

MFC after: 1 week
Sponsored by: iXsystems, Inc.
sys/cam/ctl/ctl.c
sys/cam/ctl/ctl_backend_block.c
sys/cam/ctl/ctl_backend_ramdisk.c