[Bug 1582181] Re: AArch64: slow cpuinfo due to redundant loop

Ike Panhc ike.pan at canonical.com
Thu Mar 22 17:15:52 UTC 2018


** Description changed:

  [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 sudo lshw` and it shall be less then 15sec
+ `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

-- 
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:
  New
Status in lshw source package in Artful:
  New
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