[Bug 933712] Re: casper configures system to use 50% ram for compressed swap post installation

Daniel Lemnaru lemnaru at hotmail.com
Fri Oct 5 13:52:15 UTC 2012


I encountered the same thing here. Remastersys required casper, and
casper set the compcache to 50%.

Regardless of the fact that it may be a good thing performance wise, I
still think it's not something that should happen without the user's
knowledge.

I had to waste quite a bit of time to find out what was the source of
the 50% zram swap partition. Also, I would assume this can affect those
who want to/can otherwise use hibernate, since this is not a non
volatile swap partition.

"Additionally, compcache (according to the casper changelog) should only
be used on systems (running casper) with less than 512MB of ram."

I have 5.5 GB of available RAM. Casper apparently isn't using that 512MB
limit, or fails to determine the system's available memory properly.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to casper in Ubuntu.
https://bugs.launchpad.net/bugs/933712

Title:
  casper configures system to use 50% ram for compressed swap post
  installation

Status in “casper” package in Ubuntu:
  Won't Fix

Bug description:
  When installing from live-cd or if Capser is installed, it leaves
  /usr/share/initramfs-tools/conf.d/comcache with a value
  'COMPCACHE="50%"'. This means that a user will loose half of their RAM
  to a compressed swap device on kernel initramfs generation and reboot.
  . In my opinion this is a _very_ poor user experience.

  A work around is to boot with "nocompcache" as a kernel option.
  However, requiring a user to boot with "nocompcache" is beyond many
  users and will surely frustrate power-users and developers.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: casper (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-15.24-generic 3.2.5
  Uname: Linux 3.2.0-15-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.91-0ubuntu1
  Architecture: amd64
  Date: Thu Feb 16 12:38:37 2012
  EcryptfsInUse: Yes
  SourcePackage: casper
  UpgradeStatus: Upgraded to precise on 2012-01-09 (38 days ago)
  modified.conffile..etc.casper.conf: [deleted]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/933712/+subscriptions




More information about the foundations-bugs mailing list