[Bug 1582181] Re: AArch64: slow cpuinfo due to redundant loop
Ike Panhc
ike.pan at canonical.com
Mon Mar 26 04:12:12 UTC 2018
lshw in artful-proposed fixes this issue.
ubuntu at recht:~$ time lshw > /dev/null ; dpkg --list | grep lshw
WARNING: you should run this program as super-user.
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
real 2m10.793s
user 2m10.589s
sys 0m0.192s
ii lshw 02.18-0.1ubuntu4 arm64 information about hardware configuration
ubuntu at recht:~$ time lshw > /dev/null ; dpkg --list | grep lshw
WARNING: you should run this program as super-user.
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
real 0m3.210s
user 0m2.984s
sys 0m0.221s
ii lshw 02.18-0.1ubuntu4.1 arm64 information about hardware configuration
** Tags removed: verification-needed verification-needed-artful
** Tags added: verification-done verification-done-artful
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lshw in Ubuntu.
https://bugs.launchpad.net/bugs/1582181
Title:
AArch64: slow cpuinfo due to redundant loop
Status in lshw package in Ubuntu:
Fix Released
Status in lshw source package in Xenial:
Fix Committed
Status in lshw source package in Artful:
Fix Committed
Status in lshw source package in Bionic:
Fix Released
Bug description:
[Impact]
lshw takes too long time on parsing /proc/cpuinfo on aarch64 system
It takes minutes on 96cores and almost 10min on 224cores system.
[Test Case]
`time lshw` and it shall be less then 15sec
[Regression Potential]
This patch only modifies codes for aarch64. Lowest regression rick on other arch and has been tested on aarch64
[Other Info]
Patch has been merged into upstream branch.
https://github.com/lyonel/lshw/commit/20cda77239e8604e798b87a0441e694edb0214d1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/1582181/+subscriptions
More information about the foundations-bugs
mailing list