From: shaodenghui <shaodenghui(a)huawei.com>
When the current downstream FS tests IPSAN, it is found that the performance on ARM is much worse than that on X86, and the test data of IPSAN fluctuates greatly. After analysis, the reason is that when iscsi issues IO, the task is sent to kworker for processing by iscsi_xmitworker.
The workqueue created by iscsi can automatically identify the CPU of the soft interrupt currently processed by iscsi, and automatically schedule the workqueue to the corresponding NUMA node.
shaodenghui (3):
iscsi: add member for NUMA aware order workqueue
workqueue: implement NUMA affinity for single thread workqueue
iscsi: use dynamic single thread workqueue to improve performance
drivers/scsi/iscsi_tcp.c | 9 +++++++++
drivers/scsi/libiscsi.c | 17 ++++++++++++-----
include/linux/workqueue.h | 1 +
include/scsi/libiscsi.h | 1 +
kernel/workqueue.c | 15 ++++++++++-----
5 files changed, 33 insertions(+), 10 deletions(-)
--
2.33.0