This patch fixes the problem: >From 57ca81245f4db4a0222d545f8f5d4709544c26cf Mon Sep 17 00:00:00 2001 From: Shukun Tan <tanshuk...@huawei.com> Date: Thu, 5 Mar 2020 10:06:21 +0800 Subject: [PATCH] crypto: hisilicon - Use one workqueue per qm instead of per qp
Since SEC need not so many workqueues as our test, we just use one workqueue created by the device driver of QM if necessary, which will also reduce CPU waste without any throughput decreasing. Signed-off-by: Shukun Tan <tanshuk...@huawei.com> Signed-off-by: Zaibo Xu <xuza...@huawei.com> Reviewed-by: Jonathan Cameron <jonathan.came...@huawei.com> Signed-off-by: Herbert Xu <herb...@gondor.apana.org.au> ** Changed in: linux (Ubuntu Hirsute) Status: New => Invalid ** Changed in: linux (Ubuntu Impish) Status: New => Invalid ** Changed in: linux (Ubuntu Focal) Status: Confirmed => Triaged -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1932117 Title: Lots of hisi_qm zombie task slow down system after stress test Status in kunpeng920: New Status in kunpeng920 ubuntu-18.04-hwe series: New Status in kunpeng920 ubuntu-20.04 series: New Status in linux package in Ubuntu: Invalid Status in linux source package in Focal: Triaged Status in linux source package in Hirsute: Invalid Status in linux source package in Impish: Invalid Bug description: [Bug Description] With focal 5.4 kernel, crypto driver does not clean up its created process when calculation is done. Many zombie processes slow down system. e.g. Takes more then 10sec for ssh connection. [Steps to Reproduce] 1) Install Ubuntu 20.04 with GA (5.4) kernel 2) sudo apt install -y stress-ng 3) stress-ng --aggressive --verify --timeout 300 --metrics-brief --tz --times --af-alg 0 4) ps aux | grep hisi_qm | wc -l [Actual Results] >100000 [Expected Results] <100 [Reproducibility] 100% [Additional information] Can not reproduce with focal HWE (5.8) kernel. [Resolution] To manage notifications about this bug go to: https://bugs.launchpad.net/kunpeng920/+bug/1932117/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp