Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Ubuntu 14.04.1 with no swap.

  1. #11
    Join Date
    Oct 2009
    Location
    Elgin, IL USA
    Beans
    3,363
    Distro
    Ubuntu 16.10 Yakkety Yak

    Re: Ubuntu 14.04.1 with no swap.

    SSD has limited write cycles (maybe a lot, but still limited at some point), so using SSD for swap is not recommended, and a good idea to use tmpfs for /tmp. But I have not used swap at all for many years even on a regular hard drive mainly due to limited partition availability when installed on a Windows drive. For example my Win7 desktop was using 3 partitions (utility, recovery, OS) and some Windows programs storing some data in what they "thought" was an unused part of the mbr initially stepped on larger grub2 in the mbr killing it. Also a Win7 service pack update would not work unless Win7 owned the mbr to do something during reboot. So I leave the Windows mbr and set up 1 primary partition with grub installed to that partition instead of the mbr, and was not sure if grub could boot if installed on extended instead of primary partition. I leave the boot flag on sda2 and normally boot from grub on sdb from a small backup system on SSD, but in a pinch I could switch the boot flag to sda4 and boot sda instead of sdb. For some reason my system seems to take about as long to wake up from suspend as it does to cold boot, so I do not suspend or hibernate. Even after playing Steam games I do not use 8 GB:
    Code:
    efflandt@XPS-8100-1404:~$ free
                 total       used       free     shared    buffers     cached
    Mem:       8102108    6247860    1854248      20252      91160    5332752
    -/+ buffers/cache:     823948    7278160
    Swap:            0          0          0
    But even on a non-gaming tablet PC with 2 GB RAM I have no swap because it has Win7 Pro on 32 GB SSD and runs either Ubuntu or Lubuntu 12.04 from SD with common /home partition.

    When I tried putting grub on sda4 of my Win7 laptop (over a year ago with 13.10 when I did not want to tamper with the mbr) and tried setting its boot flag to sda4 something peculiar in its BIOS or mbr kept resetting the boot flag on sda2 and it would only boot Win7. So I had to install grub on a USB memory stick and boot sda4 from there. I recently installed 64-bit 14.04.1 to 512 GB mSATA SSD card (sdb) and now boot from that. It has 8 GB RAM and no swap, but since I don't need 13.10 anymore I could switch sda4 to an extended partition for data and swap.
    Last edited by efflandt; March 11th, 2015 at 06:41 AM.
    i5 650 3.2 GHz upgraded to i7 870, 16 GB 1333 RAM, nvidia GTX 1060, 32" 1080p & assorted older computers

  2. #12
    Join Date
    Jun 2007
    Location
    Hikkaduwa, Sri Lanka
    Beans
    3,449
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Ubuntu 14.04.1 with no swap.

    I use a bootable flash drive to control my home entertainment center, (ie TV).
    I use a large swap so that I can hibernate in the middle of movies.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •