BootChartInvestigation

Differences between revisions 4 and 5
Revision 4 as of 2010-01-06 09:37:40
Size: 1297
Editor: 5ac88467
Comment: BootChart Analysis
Revision 5 as of 2010-01-07 14:03:28
Size: 1566
Editor: 5ac88418
Comment:
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
Line 21: Line 20:

From looking at the bootchart information it is clear that Casper is the source of slowness. After Casper has completed there is little delay for the rest of the boot and one can conclude that the effort to speed up this process should be targeted entirely at Casper.

BootChart

Introduction

Bootchart is a tool for performance analysis and visualization of the GNU/Linux boot process. In December 2009 it was added to the daily live-cd builds for early alpha armel images in the hope that it would help determine what the main causes of slowness were. The following information is the results of that investigation.

BootChart Visual

  • http://people.canonical.com/~jamiebennett/images/ubuntu-lucid-20100105-1.png
    Click the image for a larger view (Size: 401k)

BootChart Analysis

From analysing the above BootChart information the following conclusions can be drawn:

  • The CPU is utilised nearly 100% for the full boot process.
  • The Casper process takes around 110 secs of the total 195 secs to boot so speeding up Casper will give a large overall speedup.
  • debconf-communicate stands out as a cause of much slowness. This is confirmed by the investigations done with Casper which can be found here.

  • disable_guest_user's call to dpkg is another cause of slowness.
  • debconf-set-sel should be investigated.
  • MAKEDEV and the mountall process take nearly 12 seconds to complete.

From looking at the bootchart information it is clear that Casper is the source of slowness. After Casper has completed there is little delay for the rest of the boot and one can conclude that the effort to speed up this process should be targeted entirely at Casper.

ARM/BootChartInvestigation (last edited 2010-01-07 14:03:28 by 5ac88418)