[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

Rick Timmis 1767299 at bugs.launchpad.net
Tue Oct 2 08:19:12 UTC 2018


We have 3 ASUS Laptops which have been re-imagined from Windows to
Ubuntu 18.04, as part of an initial trial to move all 38 laptops to
Ubuntu 18.04.

Every laptop had been installed with Encryption and LVM, via the installer, and each demonstrated lagging, and hanging at regular intervals throughout the day.
The pattern seemed to be when the browser was being used with multiple tabs. Initial I suspected perhaps a GPU driver issues, but all the laptops are using the Intel i915 drive appropraite to the chipset.

I did wonder about Swap, and so I took one of the laptops and re-
installed it, without Encryption and LVM.

That laptop now appears to be working without lag or hang ( certainly
last 24hrs )

However, I know that our executive will want Encryption for the data
stored on these machines. My plan is to do manual partitioning, but I
think that a this issues MUST be resolved for the standard Ubuntu
install.

As a final note, I have an 2009 Intel laptop, with 3Gb of RAM which I use for Art and Music, Krita and Ubuntu Studio. To get the performance out of that, I created a separate 32Gb SWAP partition on the SSD. The speed of the SSD, when used unencrypted is fast enough to make the machine quite capable of handling hi resolution large scale images that can be as much as 16Gb.
Swap is still an incredibly powerful and valuable aspect of a Linux system, made more so because of the ever increasing performance of SSD Drives.

Hope this is useful info.,

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

Title:
  Ubuntu 18.04 Installer creates swap partition too small

Status in partman-auto package in Ubuntu:
  Opinion

Bug description:
  Installed Ubuntu 18.04 final release.

  The disk is 512 Gigabyte, the RAM is 8 Gigabyte. The installer just
  gave me 979 Megabyte of space. I chose LVM to have an encrypted drive.

  Here are some details:

  free -h
                total        used        free      shared  buff/cache   available
  Mem:           7,7G        4,0G        152M        399M        3,6G        3,0G
  Swap:          979M          0B        979M


  swapon --show
  NAME      TYPE      SIZE USED PRIO
  /dev/dm-2 partition 980M   0B   -2

  
  cat /etc/fstab
  # /etc/fstab: static file system information.
  #
  # Use 'blkid' to print the universally unique identifier for a
  # device; this may be used with UUID= as a more robust way to name devices
  # that works even if disks are added and removed. See fstab(5).
  #
  # <file system> <mount point>   <type>  <options>       <dump>  <pass>
  /dev/mapper/ubuntu--vg-root /               ext4    errors=remount-ro 0       1
  # /boot was on /dev/sda2 during installation
  UUID=removed-id /boot           ext4    defaults        0       2
  # /boot/efi was on /dev/sda1 during installation
  UUID=removed-id  /boot/efi       vfat    umask=0077      0       1
  /dev/mapper/ubuntu--vg-swap_1 none            swap    sw              0       0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-auto/+bug/1767299/+subscriptions



More information about the foundations-bugs mailing list