Whamcloud - gitweb
LU-13258 llite: bind readahead workqueue to CPT set 17/37717/9
authorJames Simmons <jsimmons@infradead.org>
Wed, 25 Mar 2020 02:47:00 +0000 (22:47 -0400)
committerOleg Drokin <green@whamcloud.com>
Tue, 7 Apr 2020 17:18:53 +0000 (17:18 +0000)
commit21ccfd99de46e1ca1572b16db0d3cef9cd805f4f
treedd2c6fda615272f8565e3d985cbc361e29a8c3ab
parenta1e6e75a82889a936ed9bdf9671a00bb81759285
LU-13258 llite: bind readahead workqueue to CPT set

A workqueue is used by Lustre to optimize readahead. This work
queue can run on any core and can easily be over surscribed. This
will have a negative impact on HPC applications running on a
Lustre client. Limit the number of threads a workqueue can run
to the size of the CPU allocated for Lustre and only allow those
threads to run on the cores belonging to the CPT set.

Change-Id: Ifcc662d52843f5028c34d55695c1d6297e5c00b0
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/37717
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Stephen Champion <stephen.champion@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/autoconf/lustre-libcfs.m4
libcfs/include/libcfs/linux/linux-cpu.h
lustre/llite/llite_lib.c
lustre/llite/lproc_llite.c