Confirmed users
125
edits
Line 47: | Line 47: | ||
Notice that the charts generated by the stock bootchart.jar do not seem to include disk stats. This is because it does not recognize the mmcblk'''N'''p'''M''' format of partition namea, and this can easily be fixed in the bootchart source code ( in particular, at |bootchart-0.9/src/org/bootchart/parser/linux/ProcDiskStatParser.java| ). | Notice that the charts generated by the stock bootchart.jar do not seem to include disk stats. This is because it does not recognize the mmcblk'''N'''p'''M''' format of partition namea, and this can easily be fixed in the bootchart source code ( in particular, at |bootchart-0.9/src/org/bootchart/parser/linux/ProcDiskStatParser.java| ). | ||
=== Data === | |||
[http://people.mozilla.org/~jbailey/baseline-defaultlog-freshflash/ Baseline statistics] | |||
These are some stats collected for the purposes of establishing a baseline. Things are organized as follows: | |||
<pre> | |||
repo-state -> Information about the state of the source tree that applies to this experiment. | |||
Note that things such as changes in init.rc, kernel arguments would not be visible in this | |||
N/ -> Each of the numbered directories represent one sample of data | |||
N/bootchart.N.tgz -> Bootchart archive encapsulating the data that was collected | |||
N/kmsg.N -> A dump of the kernel logs of the device | |||
Contains timestamp for when init has started, and time stamp for when b2g.sh is run by init | |||
(and misc. other component initialization) | |||
N/logcat.N -> A dump of the android logs of the device | |||
Contains timestamp of when b2g has started (which is also useful to synchronize with kernel log times) | |||
(since logcat logs time absolutely, and kmsg as an offset from startup | |||
N/rebootstamp.N -> Local unix time recorded directly after an adb reboot to approximate time of boot | |||
N/synchstamp.N -> Kernel logs are time since boot and so are the process start times, this file contains the local time and the current device | |||
uptime so that one may determine when the kernel logs were initialized | |||
</pre> | |||
For this and future data collection, at least 30 trials will be recorded. Also in the root directory there are a few randomly selected trials for which charts were generated for quick reference. | |||
A rough idea of what we are seeing currently, as well as empirical hypotheses: | |||
==References== | ==References== | ||
[https://developer.mozilla.org/en-US/Firefox_OS/Platform/Architecture#Firefox_OS_bootup_procedure Firefox OS Bootup Procedure] | [https://developer.mozilla.org/en-US/Firefox_OS/Platform/Architecture#Firefox_OS_bootup_procedure Firefox OS Bootup Procedure] |