anolis: net/smc: Introduce multiple tcp listen works to enhance tcp_listen_work
anolis inclusion from anolis-v5.10-134 commit c9aebf36d4dcc5005f8f58f5202c58f668a33380 category: performance bugzilla: https://gitee.com/openeuler/kernel/issues/I782PA CVE: NA Reference: https://gitee.com/anolis/hpn-cloud-kernel/commit/c9aebf36d4dcc5005f8f58f5202c58f668a33380 -------------------------------- ANBZ: #1742 Introduce multiple tcp listen works to enhance tcp_listen_work, as each tcp listen work can be enqueued independently to workqueue and can be executed concurrently. Since kernel_accept cannot accept concurrently, too many tcp listen works will only lead to excessive kernel_accept competition and waste CPU, the number of the tcp listen works is now set to 2, which has been tested to be the best performance. Signed-off-by:Guangguan Wang <guangguan.wang@linux.alibaba.com> Acked-by:
Tony Lu <tonylu@linux.alibaba.com> Link: https://gitee.com/anolis/cloud-kernel/pulls/577 Link: https://gitee.com/anolis/cloud-kernel/pulls/906 Signed-off-by:
Litao Jiao <jiaolitao@sangfor.com.cn>
Loading
Please sign in to comment