Confirmed users
125
edits
m (→Data) |
(→Data) |
||
| Line 116: | Line 116: | ||
In this simple experiment a change to "init.rc" was made. By default b2g was started along with a host of other services in the same class "main". For this experiment B2G was moved into its own class that was started just before main. As expected this did not have significant effect in when B2G was launched however, since these were all launched in fairly quick order. Quantitatively one does notice a difference in the bootchart images reflecting B2G being started slightly earlier. | In this simple experiment a change to "init.rc" was made. By default b2g was started along with a host of other services in the same class "main". For this experiment B2G was moved into its own class that was started just before main. As expected this did not have significant effect in when B2G was launched however, since these were all launched in fairly quick order. Quantitatively one does notice a difference in the bootchart images reflecting B2G being started slightly earlier. | ||
[[File:baseline-bootchart.16.png|800px|Baseline, B2G is launched along with other services]] | [[File:baseline-bootchart.16.png|top|800px|Baseline, B2G is launched along with other services]] | ||
[[File:premainb2g-bootchart.16.png|800px|Launch B2G just prior to other services in main]] | [[File:premainb2g-bootchart.16.png|top|800px|Launch B2G just prior to other services in main]] | ||
In these images, each horizontal bar represents the lifetime of a process. A processes children are below it, and parent child relationships are indicated by a dotted line from the parent going into the beginning of the child's bar. The process bars are in order of launch time (earliest first). Blue segments of the bar represent CPU activity while pink segments indicate IO. | In these images, each horizontal bar represents the lifetime of a process. A processes children are below it, and parent child relationships are indicated by a dotted line from the parent going into the beginning of the child's bar. The process bars are in order of launch time (earliest first). Blue segments of the bar represent CPU activity while pink segments indicate IO. | ||
| Line 126: | Line 126: | ||
One will note that in the first 13 trials B2G tries to launch, crashes, and then relaunches at around 12s, whereas it starts fine for the last 3. Seen below is a sample of a run in which B2G crashes vs. not | One will note that in the first 13 trials B2G tries to launch, crashes, and then relaunches at around 12s, whereas it starts fine for the last 3. Seen below is a sample of a run in which B2G crashes vs. not | ||
[[File:lesswl-bootchart.12.png| | [[File:lesswl-bootchart.12.png|top|800px|Crashing]] | ||
[[File:lesswl-bootchart.13.png| | [[File:lesswl-bootchart.13.png|top|800px|Not Crashing]] | ||