Bug #32

Only call dmidecode once in gather-centos4-i386

Added by volcane 468 days ago. Updated 468 days ago.

Status:Assigned Start:04/18/2009
Priority:Normal Due date:
Assigned to:nathan % Done:

0%

Category:backend Spent time: -
Target version:0.5.3 Estimated time:0.50 hours

Description

This is a patch that should be applied after #30. It runs dmidecode only once, stores the output in an array and reuse the data whenever needed rather than calling it many times.

The patch also removes what looked like a debug print that shouldnt be there

Futher enhancement could be made by only parsing the output once and reusing the parsed result but this is a good first improvement I guess.

On Xen VMs dmidecode prints errors, so this makes things a bit more bearable,

gather-centos4-i386-single-dmidecode.patch (4 KB) volcane, 04/18/2009 10:23 AM

History

Updated by nathan 468 days ago

  • Category set to backend
  • Status changed from New to Assigned
  • Assigned to set to nathan
  • Target version set to 0.5.3
  • Estimated time set to 0.50

Also available in: Atom PDF