(Update patch status) |
(Update based on new info from Lougher) |
||
Line 21: | Line 21: | ||
== Scope == | == Scope == | ||
* Lougher's patches need to be accepted upstream. | * Lougher's patches need to be accepted upstream. I talked (well emailed) to Lougher and was told that his patches will be spending 2.6.33 in linux-next and will probably be included in 2.6.34. linux-next has opened for 2.6.34 just yet, so the patches aren't there right now. If they do move there, it may be possible to get them into Fedora early since most likely F13 will release with the 2.6.34 kernel. (Though that might be affected by the new QA plans for rawhide.) If I get convincing evidence that lzma squashfs is useful for live images, I might be able to convince Fedora's kernel people to get the patches in early to help with testing with live images. The size benefits can be tested without the kernel patches, but they are needed to make sure performance is reasonable. | ||
* Lougher's 4.1 (currently prerelease) version of squashfs-tools needs to be in the release. | * Lougher's 4.1 (currently prerelease) version of squashfs-tools needs to be in the release. | ||
* livecd-creator needs to be modified to have mksquashfs use lzma compression. (Probably as the default, with other compression methods specifiable as command line options.) | * livecd-creator needs to be modified to have mksquashfs use lzma compression. (Probably as the default, with other compression methods specifiable as command line options.) |
Revision as of 02:26, 22 December 2009
LZMA for Live Images
Summary
Better compression technology (LZMA) allows us to ship more software on our live images.
Owner
- Name: Bruno Wolff III
- Email: <bruno@wolff.to>
Current status
- Targeted release: Fedora 13
- Last updated: 2009-12-11
- Percentage of completion: 5%
Detailed Description
LZMA compression typically provides better compression than zlib while still providing relatively fast uncompression. Once squashfs file systems are supported by the kernel (which is anticipated in 2.6.33) we can use them for building live images. It is anticipated that there will be savings that are significant for Fedora Live Images. (Once I start testing I'll have a few comparisons.) In particular the Games spin and the Desktop spins may be able to add back some desired packages cut for space reasons.
Benefit to Fedora
By allowing more packages to be put on a Live Image, we can make a few of our space constrained images better. For other images, having them be smaller will make them faster to download.
Scope
- Lougher's patches need to be accepted upstream. I talked (well emailed) to Lougher and was told that his patches will be spending 2.6.33 in linux-next and will probably be included in 2.6.34. linux-next has opened for 2.6.34 just yet, so the patches aren't there right now. If they do move there, it may be possible to get them into Fedora early since most likely F13 will release with the 2.6.34 kernel. (Though that might be affected by the new QA plans for rawhide.) If I get convincing evidence that lzma squashfs is useful for live images, I might be able to convince Fedora's kernel people to get the patches in early to help with testing with live images. The size benefits can be tested without the kernel patches, but they are needed to make sure performance is reasonable.
- Lougher's 4.1 (currently prerelease) version of squashfs-tools needs to be in the release.
- livecd-creator needs to be modified to have mksquashfs use lzma compression. (Probably as the default, with other compression methods specifiable as command line options.)
- If possible this should be usable significantly ahead of feature freeze so that spin owners can be pretty safe relying on it for their spins.
How To Test
- We need to make sure live images work.
- We need to make sure live images are smaller using LZMA compression.
- We need to make sure performance is acceptable. (I.e. that LZMA doesn't slow things down significantly on typical systems.)
User Experience
Live images will be smaller or have more included packages.
Dependencies
- squashfs-tools
- kernel (upstream dependency only)
- livecd-tools
Contingency Plan
- Since the default in the new squashfs is too use zlib compression, we shouldn't have to revert squashfs-tools.
- livecd-creator would need to have at least some of the changes reverted.
Documentation
- Most likely livecd-creator would be getting a new option and would need its help updated along with the code changes.
Release Notes
- Mention the squashfs version change, that it supports LZMA compression, point to its documentation and note that it is supported in the kernel as well.
- Mention that livecd-creator uses LZMA by default, how to get zlib compression if desired for use with older kernels or other reasons.