]> code.ossystems Code Review - openembedded-core.git/commit
buildstats: reduce amount of data stored for system utilization
authorPatrick Ohly <patrick.ohly@intel.com>
Wed, 30 Nov 2016 09:50:10 +0000 (10:50 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 Dec 2016 10:36:11 +0000 (10:36 +0000)
commitb17812385cd55e81066d3ceda92dffdc6e5564da
tree0e0f9e27d6e99d3b3a1fa7787cfc762fd16f56ce
parentca06e67a0bb5820b38fda4c8dfee20764c1e59ae
buildstats: reduce amount of data stored for system utilization

Pre-processing /proc data during the build considerably reduces the
amount of data written to disk: 176KB instead of 4.7MB for a 20
minuted build. Parsing also becomes faster.

The disk monitor log added another 16KB in that example build. The
overall buildstat was 20MB, so the overhead for monitoring system
utilization is small enough that it can be enabled by default.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/buildstats.py