LiveCDPerformance
|
Size: 2666
Comment: comments
|
Size: 2194
Comment: Address comments by Matt Zimmerman
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 21: | Line 21: |
| 1. Instrumentation is required in order to identify bottlenecks. d-i logs stage 1, we can wrap init scripts to provide timing information on their startup. Bootchart would also be useful. '''MattZimmerman: needs more detail regarding bootchart. Where would it hook into the boot process and where would it store its results?''' |
1. Instrumentation is required in order to identify bottlenecks. d-i logs stage 1, we can wrap init scripts to provide timing information on their startup. Bootchart would also be useful. Bootchart wraps init and would be used for instrumenting stage 2. It stores it information in the live cd system where it could be uploaded to a central location such as bugzilla. |
| Line 26: | Line 23: |
| 3. Optimise d-i modules that consume a large amount of time. Locale generation seems excessively slow, and potentially unnecessary for many language setups. '''MattZimmerman: suggest that this focus only on the actions performed by casper, in light of the new live CD design (which doesn't use d-i)''' 4. 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. 5. Make sure modules.dep is generated at the end of the livecd build and call `depmod --quick` in the default boot. '''MattZimmerman: we already do this, or else it's unclear what you mean''' 6. 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. 7. Background network setup - this can be left for when the user has hit the desktop (NetworkMagic) |
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. 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. 5. Background network setup - this can be left for when the user has hit the desktop (NetworkMagic) |
Live CD Performance
Launchpad Entry: https://launchpad.net/distros/ubuntu/+spec/live-cd-performance
Created: Date(2005-04-23T03:04:58Z) by MattZimmermanBR
Contributors: TollefFogHeen, MattZimmerman
Packages affected: casper
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.
Implementation Plan
- Instrumentation is required in order to identify bottlenecks. d-i logs stage 1, we can wrap init scripts to provide timing information on their startup. Bootchart would also be useful. Bootchart wraps init and would be used for instrumenting stage 2. It stores it information in the live cd system where it could be uploaded to a central location such as bugzilla.
- Enable DMA on livecd - it may not work on some systems, but it's effectively required
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.
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.
Background network setup - this can be left for when the user has hit the desktop (NetworkMagic)
Data Preservation and Migration
None.
Packages Affected
For instrumentation, init requires modification or bootchart, which will be a better choice. Performance issues in the first stage install will require d-i modifications. Any slow packages in second stage boot will need tweaks to improve performance.
User Interface Requirements
None.
LiveCDPerformance (last edited 2008-08-06 16:14:57 by localhost)