LiveCDPerformance

Differences between revisions 1 and 16 (spanning 15 versions)
Revision 1 as of 2005-04-23 03:04:58
Size: 1227
Editor: CPE-60-225-13-161
Comment:
Revision 16 as of 2005-04-27 08:07:35
Size: 2541
Editor: intern146
Comment: Reformat and tidy up
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from UbuntuDevel/LiveCDPerformance
Line 9: Line 10:
  * People: NeedsLead, NeedsSecond[[BR]]   * People: MatthewGarrettLead, FabioDiNittoSecond[[BR]]
Line 11: Line 12:
  * Interested: [[BR]]
  * Status: BrainDump, BreezyGoal, UduBof, DistroSpecification[[BR]]
  * Interested: JuanjeOjeda[[BR]]
  * Status: BreezyGoal, DraftSpec[[BR]]
Line 17: Line 18:
  * UduSessions: 1, 4, 8, etc [[BR]]   * UduSessions: 2 [[BR]]
Line 25: Line 26:
The better the load time, the better the live CD experience, the greater chance an end user will want to use it and move on to installing Ubuntu or another distro.
Line 29: Line 32:
 1. Instrumentation is required. d-i logs stage 1, we can wrap init scripts to provide timing information on their startup.
 2. Optimise d-i modules that consume a large amount of time. Locale generation seems excessively slow, and potentially unnecessary for many language setups.
 3. Readahead may be a performance win with 256MB or more, but slower otherwise. Verify with different memory configurations, and ensure that readahead is only enabled when it's a performance benefit. http://unit.aist.go.jp/itri/knoppix/readahead/index-en.html has figures for Knoppix on cloop.
 4. Enable DMA on livecd - it may not work on some systems, but it's effectively required
 5. Filesystem comparison - squashfs and unionfs may give a performance benefit. http://listas.hispalinux.es/pipermail/metadistros-dev/2005-April/000580.html suggests a 50 second improvement. Unionfs is currently unavailable on PPC, but can be used for testing on i386.
 6. Background network setup - this can be left for when the user has hit the desktop (NetworkMagic)
Line 30: Line 40:

none.
Line 33: Line 45:
could be several.
Line 35: Line 49:
none.
Line 36: Line 52:

unionfs on ppc.

Live CD Performance

Status

Introduction

The boot time for the Ubuntu live CD should be comparable (or superior) to other popular live CDs.

Rationale

The better the load time, the better the live CD experience, the greater chance an end user will want to use it and move on to installing Ubuntu or another distro.

Scope and Use Cases

Implementation Plan

  1. Instrumentation is required. d-i logs stage 1, we can wrap init scripts to provide timing information on their startup.
  2. Optimise d-i modules that consume a large amount of time. Locale generation seems excessively slow, and potentially unnecessary for many language setups.
  3. Readahead may be a performance win with 256MB or more, but slower otherwise. Verify with different memory configurations, and ensure that readahead is only enabled when it's a performance benefit. http://unit.aist.go.jp/itri/knoppix/readahead/index-en.html has figures for Knoppix on cloop.

  4. Enable DMA on livecd - it may not work on some systems, but it's effectively required
  5. Filesystem comparison - squashfs and unionfs may give a performance benefit. http://listas.hispalinux.es/pipermail/metadistros-dev/2005-April/000580.html suggests a 50 second improvement. Unionfs is currently unavailable on PPC, but can be used for testing on i386.

  6. Background network setup - this can be left for when the user has hit the desktop (NetworkMagic)

Data Preservation and Migration

none.

Packages Affected

could be several.

User Interface Requirements

none.

Outstanding Issues

unionfs on ppc.

UDU BOF Agenda

  • d-i performance
  • casper performance
  • Ubuntu boot performance (FasterBoot)

UDU Pre-Work

  • Profile the live CD boot sequence to measure the time taken for each step
    • d-i startup (time-to-first-question)
    • Pre-casper d-i activity (measured per menu entry)
    • Casper d-i activity (measured per casper.d script)
    • Standard boot sequence

LiveCDPerformance (last edited 2008-08-06 16:14:57 by localhost)