diff options
author | Beth Flanagan <elizabeth.flanagan@intel.com> | 2011-08-03 12:31:08 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-05 17:12:59 +0100 |
commit | eeebcebf0d695358e72f3aed753f66cddd5e0e61 (patch) | |
tree | b19623875da6fb1474c650c54f141d75bf8e5274 /meta/recipes-bsp | |
parent | 96931af89f9cc3056e413cff437a85eca85b3b75 (diff) | |
download | openembedded-core-eeebcebf0d695358e72f3aed753f66cddd5e0e61.tar.gz openembedded-core-eeebcebf0d695358e72f3aed753f66cddd5e0e61.tar.bz2 openembedded-core-eeebcebf0d695358e72f3aed753f66cddd5e0e61.tar.xz openembedded-core-eeebcebf0d695358e72f3aed753f66cddd5e0e61.zip |
buildstats.bbclass: Adding disk io measurement
This commit adds disk-io statistics functionality on a build
and per-task basis.
It pulls measurements for whatever partition TMPDIR exists on.
This data could be off if SSTATE_DIR and DL_DIR exist on
a different partition/volume.
Notes on what this pulls:
ReadsComp: Total number of reads complete
ReadsMerged: Total number of adjacent reads merged
SectRead: Total number of sectors read
TimeReads: Total number of m/s spent reading
WritesComp: Total number of writes completed
SectWrite: Total number of sectors written
TimeWrite: Total number of m/s spent writing
IOinProgress: Total amount of IO in progress at the time of
we look at /proc/diskstats.
TimeIO: Total number of m/s spent doing IO
WTimeIO: Weighted time doing I/O. From iostats.txt:
"This field is incremented at each I/O start, I/O completion, I/O
merge, or read of these stats by the number of I/Os in progress
(field 9) times the number of milliseconds spent doing I/O since the
last update of this field. This can provide an easy measure of both
I/O completion time and the backlog that may be accumulating."
Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
Diffstat (limited to 'meta/recipes-bsp')
0 files changed, 0 insertions, 0 deletions