Activity log for bug #200765

Date Who What changed Old value New value Message
2008-03-10 21:37:43 John McCabe-Dansted bug added bug
2008-03-10 21:37:43 John McCabe-Dansted bug added attachment 'Dependencies.txt' (Dependencies.txt)
2008-03-10 21:39:23 John McCabe-Dansted bug added attachment 'linux-ubuntu-modules-2.6.24_2.6.24-12.17_source.changes' (linux-ubuntu-modules-2.6.24_2.6.24-12.17_source.changes)
2008-03-10 21:40:11 John McCabe-Dansted bug added attachment 'linux-ubuntu-modules-2.6.24_2.6.24-12.17.debdiff' (linux-ubuntu-modules-2.6.24_2.6.24-12.17.debdiff)
2008-03-10 21:41:18 John McCabe-Dansted bug added subscriber Ubuntu Release Team
2008-03-11 00:57:19 John McCabe-Dansted description The attached debdiff adds the compcache module. This module creates a swap device that stores swapped out pages in memory compressed using lzo. This greatly reduces the amount of memory required by the LiveCD before the physical swap file is created. I have tested ubiquity+gnome installs with 180MB and 120MB of ram on 7.10 [k]ubuntu and xubuntu respectively. By comparison 7.10 Ubuntu boots but is unusable with 192MB of ram. It appears that with compcache the ubiquity-only install in hardy will still function with only 256 MB of ram. Overview of testing: I have tested this with - [kx]ubuntu-7.10 and ubuntu-hardy alpha 4 and Mar 08 daily build. - VirtualBox, Qemu [smp,nosmp], native DualCore, native P4 - 120MB through 1GB of ram. - token testing with ia64 (but have not enabled ia64 in this patch) - have tested that Ubuntu does not try to hibernate onto compcache partition (by default, you could probably edit text files to do this if you really wanted to shoot yourself in the foot.). The only negative I found with compcache-0.2 is that the mouse appears more jerky under heavy load than when physical swap is used. I have provided demo patchs against gusty liveCDs at: http://www.ucc.asn.au/~mccabedj/ccache/ I have build the arch using fakeroot debian/rules binary-arch arch=i386 flavours="generic" as suggested in debian/rules. It generates the deb fine. I installed the deb without any problems, and am using it now. No packages currently depend on compcache, so they cannot be broken. Two problems that are easily worked around 1) that ubiquity tries to install onto the compcache device (on the demo cd I rename the device), and 2) compcache uses kernel memory, which is limited to 1GB on i386. To ensure we don't run out, I limit the compcache size to under 200MB so less than 100MB of kernel memory is used. (The compression ratio for the liveCD seems to be robustly 2:1). See also bug 193552 "Support 256MB machines in Ubiquity" bug 200418 "Memory usage increase in LiveCD" https://lists.ubuntu.com/archives/sounder/2008-February/011089.html https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2008-March/003493.html https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2008-March/003516.html These currently allow. This replaces debian/changelog | 9 debian/config/i386 | 3 ubuntu/Makefile | 2 ubuntu/misc/compat.h | 35 ++ ubuntu/misc/compcache.c | 428 ++++++++++++++++++++++++++++++ ubuntu/misc/compcache.h | 148 ++++++++++ ubuntu/misc/config | 2 ubuntu/misc/tlsf.c | 669 ++++++++++++++++++++++++++++++++++++++++++++++++ ubuntu/misc/tlsf.h | 93 ++++++ ubuntu/misc/tlsf_int.h | 179 ++++++++++++ 10 files changed, 1568 insertions(+) ProblemType: Bug Architecture: i386 Date: Mon Mar 10 16:49:01 2008 DistroRelease: Ubuntu 8.04 Package: linux-ubuntu-modules-2.6.24-12-generic 2.6.24-12.16 PackageArchitecture: i386 SourcePackage: linux-ubuntu-modules-2.6.24 Uname: Linux 2.6.24-12-generic i686 The attached debdiff adds the compcache module. This module creates a swap device that stores swapped out pages in memory compressed using lzo. This greatly reduces the amount of memory required by the LiveCD before the physical swap file is created. I have tested ubiquity+gnome installs with 180MB and 120MB of ram on 7.10 [k]ubuntu and xubuntu respectively. By comparison 7.10 Ubuntu boots but is unusable with 192MB of ram. It appears that with compcache the ubiquity-only install in hardy will still function with only 256 MB of ram. Overview of testing: I have tested this with - [kx]ubuntu-7.10 and ubuntu-hardy alpha 4 and Mar 08 daily build. - VirtualBox, Qemu [smp,nosmp], native DualCore, native P4 - 120MB through 1GB of ram. - token testing with ia64 (but have not enabled ia64 in this patch) - have tested that Ubuntu does not try to hibernate onto compcache partition (by default, you could probably edit text files to do this if you really wanted to shoot yourself in the foot.). The only negative I found with compcache-0.2 is that the mouse appears more jerky under heavy load than when physical swap is used. I have provided demo patchs against gusty liveCDs at: http://www.ucc.asn.au/~mccabedj/ccache/ I have build the arch using fakeroot debian/rules binary-arch arch=i386 flavours="generic" as suggested in debian/rules. It generates the deb fine. (also, "pbuilder build" completed successfully) I installed the deb without any problems, and am using it now. No packages currently depend on compcache, so they cannot be broken. Two problems that are easily worked around 1) that ubiquity tries to install onto the compcache device (on the demo cd I rename the device), and 2) compcache uses kernel memory, which is limited to 1GB on i386. To ensure we don't run out, I limit the compcache size to under 200MB so less than 100MB of kernel memory is used. (The compression ratio for the liveCD seems to be robustly 2:1). See also bug 193552 "Support 256MB machines in Ubiquity" bug 200418 "Memory usage increase in LiveCD" https://lists.ubuntu.com/archives/sounder/2008-February/011089.html https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2008-March/003493.html https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2008-March/003516.html These currently allow. This replaces debian/changelog | 9 debian/config/i386 | 3 ubuntu/Makefile | 2 ubuntu/misc/compat.h | 35 ++ ubuntu/misc/compcache.c | 428 ++++++++++++++++++++++++++++++ ubuntu/misc/compcache.h | 148 ++++++++++ ubuntu/misc/config | 2 ubuntu/misc/tlsf.c | 669 ++++++++++++++++++++++++++++++++++++++++++++++++ ubuntu/misc/tlsf.h | 93 ++++++ ubuntu/misc/tlsf_int.h | 179 ++++++++++++ 10 files changed, 1568 insertions(+) ProblemType: Bug Architecture: i386 Date: Mon Mar 10 16:49:01 2008 DistroRelease: Ubuntu 8.04 Package: linux-ubuntu-modules-2.6.24-12-generic 2.6.24-12.16 PackageArchitecture: i386 SourcePackage: linux-ubuntu-modules-2.6.24 Uname: Linux 2.6.24-12-generic i686
2008-03-11 15:32:31 Leann Ogasawara linux-ubuntu-modules-2.6.24: importance Undecided Medium
2008-03-11 15:32:31 Leann Ogasawara linux-ubuntu-modules-2.6.24: assignee ubuntu-kernel-team
2008-03-11 15:32:31 Leann Ogasawara linux-ubuntu-modules-2.6.24: status New Triaged
2008-03-12 19:28:19 John McCabe-Dansted bug added subscriber Ubuntu Release Team
2008-03-24 17:00:28 Leann Ogasawara linux-ubuntu-modules-2.6.24: milestone later
2008-06-05 16:56:37 John McCabe-Dansted bug added attachment 'COMPCACHE0.3-linux-ubuntu-modules-2.6.24_2.6.24-18.27.diff.gz' (New compcache-0.3+integer overflow bugfix)
2008-09-03 10:35:33 Mantas Kriaučiūnas bug assigned to linux-ubuntu-modules-2.6.24 (Baltix)
2008-11-17 16:50:41 Leann Ogasawara linux-ubuntu-modules-2.6.24: bugtargetdisplayname linux-ubuntu-modules-2.6.24 (Ubuntu) linux (Ubuntu)
2008-11-17 16:50:41 Leann Ogasawara linux-ubuntu-modules-2.6.24: bugtargetname linux-ubuntu-modules-2.6.24 (Ubuntu) linux (Ubuntu)
2008-11-17 16:50:41 Leann Ogasawara linux-ubuntu-modules-2.6.24: statusexplanation Migrating this forward to the actively developed "linux" kernel package since linux-ubuntu-modules was merged with the "linux" kernel package for Intrepid.
2008-11-17 16:50:41 Leann Ogasawara linux-ubuntu-modules-2.6.24: title Bug #200765 in linux-ubuntu-modules-2.6.24 (Ubuntu): "Add compcache modules, allowing ubiquity installs on 256MB machines." Bug #200765 in linux (Ubuntu): "Add compcache modules, allowing ubiquity installs on 256MB machines."
2008-11-17 16:55:30 Leann Ogasawara linux: status Triaged Incomplete
2008-11-17 16:55:30 Leann Ogasawara linux: statusexplanation Migrating this forward to the actively developed "linux" kernel package since linux-ubuntu-modules was merged with the "linux" kernel package for Intrepid. Additionally, this looks like it may be resolved with Intrepid since I'm seeing the following. Care to test and confirm. Thanks. ogasawara@emiko:~$ modinfo compcache filename: /lib/modules/2.6.27-7-generic/kernel/ubuntu/compcache/compcache.ko description: Compressed RAM Based Swap Device author: Nitin Gupta <nitingupta910@gmail.com> license: GPL srcversion: EA8EA5496ED1E0C3A19D7B8 depends: lzo_decompress,tlsf,lzo_compress vermagic: 2.6.27-7-generic SMP mod_unload modversions 586 parm: compcache_size_kbytes:compcache device size (in KB) (ulong)
2009-04-28 10:11:06 Andy Whitcroft linux (Ubuntu): status Incomplete Fix Released
2009-04-28 10:11:06 Andy Whitcroft linux (Ubuntu): assignee Andy Whitcroft (apw)
2009-05-03 14:42:05 Daniel Hahler removed subscriber Daniel Hahler
2010-06-22 03:40:41 Eugene San bug added subscriber Eugene San
2010-06-22 03:48:09 Eugene San tags apport-bug apport-bug initramfs-tools ubiquity
2012-12-02 12:03:43 Oibaf affects linux-ubuntu-modules-2.6.24 (Baltix) baltix
2012-12-02 12:04:04 Oibaf baltix: status New Invalid