[Bug 1582181] Re: AArch64: slow cpuinfo due to redundant loop
Ike Panhc
ike.pan at canonical.com
Mon Mar 26 03:33:07 UTC 2018
lshw in xenial-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 1m50.371s
user 1m50.240s
sys 0m0.104s
ii lshw 02.17-1.1ubuntu3.4 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 0m2.548s
user 0m2.460s
sys 0m0.084s
ii lshw 02.17-1.1ubuntu3.5 arm64 information about hardware configuration
** Tags removed: verification-needed-xenial
** Tags added: verification-done-xenial
** Changed in: lshw (Ubuntu Artful)
Assignee: (unassigned) => Ike Panhc (ikepanhc)
** Changed in: lshw (Ubuntu Xenial)
Assignee: (unassigned) => Ike Panhc (ikepanhc)
--
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