Unix systems, and other Unix-like operating systems, use the term "swap" to describe both the act of moving memory pages between RAM and disk, and the region of a disk the pages are stored on. In some of those systems, it is common to use a separate whole partition of a hard disk for swapping. These ...

learn more… | top users | synonyms

0
votes
0answers
120 views

enabling swapping cripples system

I am having a strange issue. Essentially, when swapping is enabled (on a swap partition), the system becomes unusably slow even at times when no swapping is in fact occurring. For example, when ...
4
votes
2answers
105 views

Add a swap partition post-install 15.04

I installed 15.04 onto a lvm partition with the mount point / and /boot onto a separate unencrypted partition. Can someone list the steps (clearly please) to set up a swap partition post-install? It ...
2
votes
0answers
20 views

Slow shutdown caused by cryptswap

After upgrading to 15.04 my computer takes a very long time to power off. Hitting escape during shutdown shows messages like so: (1 of 6) A stop job is running for ...
0
votes
1answer
54 views

Ubuntu 14.04 too slow and laggy!

I have Lenovo Ideapad y510p and have dual boot Ubuntu 14.04 with Windows 8.1 and I uses Ubuntu for all my work specially for developing Android apps, I have 8GB of RAM and 9GB for swap, but it's so ...
11
votes
1answer
8k views

How do I setup an encrypted swap file?

When I installed Ubuntu, I setup an encrypted home partition. Now I have come to an issue where I am running out of memory because I haven't setup swap. How can I setup an encrypted swap file? A ...
-1
votes
1answer
56 views

Encrypted SWAP partition creation after ubuntu 15.04 installation, 15.04 installer bugs!

Today I decided to install clean copy of 15.04. Using the installer partitioning tool, I created an encrypted luks system volume, then created an unencrypted SWAP, clicked continue, then got an error ...
6
votes
2answers
187 views
+100

Graphics stuttering issue in Ubuntu 14.10 for Intel on-board graphics

I'm running Ubuntu 14.10, and for the past couple of days, I'm facing graphics stuttering all over Unity, which mainly affects text and various parts of Unity (refer to screenshot). And this ...
2
votes
2answers
835 views

Can't boot after upgrading to 15.04

I'm an amature linux user, so excuse my ignorance. After upgrading to 15.04, the screen hangs on the Ubuntu loading image and then finally goes to a black screen with the following: [ 1.595012] ACPI ...
3
votes
2answers
47 views

Realistic working swap for 128GB RAM?

I've just installed Ubuntu 15.04 on a new 240GB SSD, and immediately noticed that /dev/ubuntu-vg/swap_1 on the resulting installation is 137GB. That seems excessive, even counter-productive, but ...
0
votes
1answer
14 views

Swap Partition: What to do with two different swaps, one of them encrypted?

I installed Ubuntu for the first time a few months back, and I have recently begun to really try and learn how my system works. So today I have been reading about Swap Partitions and so I have been ...
2
votes
2answers
40 views

Ubuntu Swap Partition on HDD

I'm installing Ubuntu on my SSD and don't want to waste space on a swap partition because I have 16GB of ram, nor do I use hibernation. But as a precaution, would there be any drawbacks if I created a ...
2
votes
3answers
15k views

How to increase the size of linux-swap partition

I want to increase the size of Linux-swap partition after installing ubuntu(not during the ubuntu installation wizard). I want to increase /dev/sda9 partition from 9.31GB to 16 GB.Please help me.
0
votes
3answers
336 views

Is having swap on hard drive or sd card better?

I have a bunch of 16gb normal speed sdhc cards, so if I use them I'm not worried about them getting damaged, but I was wondering: is swap on a 7200rpm 320 gb hard drive that is also the drive ubuntu ...
0
votes
1answer
28 views

How do I find out why I get anytime the same error message from an original Ubuntu script?

Swap2Ram.sh always produces its error message, even when I have enough ram left. Any ideas? #!/bin/sh mem=$(free | awk '/Mem:/ {print $4}') swap=$(free | awk '/Swap:/ {print $3}') if [ $mem -lt ...
0
votes
1answer
51 views

ZRAM vs. regular swap partition

I don't fully understand the functionality and the potential advantages of zram. For example: once zram is activated, what percentage of memory will be dedicated to paging? Another issue: obviously ...
0
votes
0answers
17 views

swap option missing while installing in ubuntu server 14.04 lts

There is no option to select swap partition while installing the server version....I have tried all the possible ways to check the option and not found anything. Is their anyway to enter manually
0
votes
3answers
36 views

Can Red Hat and Ubuntu Share swap

I already have Red Hat installed. When I install Ubuntu, the swap area for the already-installed Red Hat was identified by the Ubuntu installer, and the default option is to "Use as: swap area". The ...
3
votes
2answers
68 views

Deleted Swap, now boot takes forever

Running Ubuntu 15.04. I was receiving messages about my root / partition running out of space, and so I looked up how to allocate more space to it. I followed the answer to this question: How to ...
0
votes
0answers
24 views

How to monitor the effect of increasing or decreasing swappiness?

I'm on a system with 1.5GB RAM (don't laugh!), half of which is generally being used by Firefox. Currently, 3% of the 3GB Swap are being used (some 80MB). I tried to change the swappiness like so: ...
0
votes
1answer
879 views

Should i enable zram and/or lower swappiness value?

I use ubuntu 12.04 LTS. I have 2GB RAM. Now, that is split about 55-45 memory-swap. My CPU is almost flatlined! Could I get faster leaner meaner more efficient performance if I lowered swappiness down ...
0
votes
1answer
35 views

Neuroimaging Use: How big for partitions (root, home, swap) and some other Qs

I will be using my Ubuntu for neuroimaging use. This is my first time using -- I've been using Macs for the last few years so am not familiar with using Ubuntu on a regular PC. A few questions: Are ...
0
votes
1answer
23 views

Encrypted swap partition not available

How should I correctly set up my encrypted swap partition? How can I ensure that the setup persists? I'm running 14.04 using encrypted home folder. I noticed that occasionally my machine would ...
0
votes
1answer
197 views

Install Ubuntu 15.04 with full disk encryption, but without swap partition

I have a laptop with 16GB of RAM, but SSD is only 64GB. I need to install Ubuntu 15.04 with both standard options - "Encrypt the new Ubuntu installation for security" and "Use LVM with the new Ubuntu ...
1
vote
1answer
35 views

How to re-setup swap partition in GPT system

I installed Ubuntu 14.04 as dual boot on my windows 8 acer desktop pc. I am sure I set up a swap drive but now if I do swapon -s I don't seem to have a swap partition. Upon sudo fdisk -l I get: ...
0
votes
1answer
362 views

No swap in Xubuntu 14.04 LTE with full disk/system encryption

I'm a newbee to Linux. I installed Xubuntu 14.04 LTE on my 1.6GHz/2GB RAM/120 GB SSD HDD netbook. Everything goes smoothly, except I realized that during booting and logging in there was a warning ...
6
votes
1answer
4k views

How do I get Ubuntu 12.04 to recognize encrypted swap partition so that I can hibernate?

I just installed Ubuntu 12.04 and used gparted to erase and enlarge my swap partition. When I rebooted, gparted said that the file partition for the swap was unknown. Gparted doesn't let me change ...
0
votes
1answer
47 views

How to delay mounting swap after boot?

systemd-analyze blame showed me that mounting swap took 9.125 seconds. I cannot disable it because I'm using hibernation a lot. But I'd like to delay mounting it for 5 minutes after boot. Is that ...
0
votes
0answers
29 views

Several gigabytes free RAM, so why is my swap file used? [duplicate]

This is a typical situation on my computer: I'm running a few different apps and a LOT of Chrome browser tabs. There are still three gigabytes free RAM on my system: I had expected my swap file to ...
1
vote
0answers
46 views

default ubuntustudio 15.04 install crypto passphrase works fine except for swap

I did a fresh install of ubuntustudio 15.04 (64b), with activated encryption. I sometime get a request to provide a passphrase for ubuntu--studio--vg-swap_1, for example if I execute sudo service ...
3
votes
1answer
49 views

Order of partitions on drive? [closed]

I plan to partition my hard drive into efi, /, /home, and swap. If considering the beginning of my disk is faster than its end, how shall I arrange the order of my partitions? Should / be as ...
2
votes
3answers
2k views

Swap Not available in system monitor

i make a swap partition with 5 GB but i notice always that it is marked as "not available" on the system monitor plus when i do operations consume the whole RAM ubuntu starts to kill to relief the RAM ...
0
votes
3answers
46 views

Windows 8 doesn't show in GRUB 2, Bootrepair didn't help

I've spend the entire day on this problem, probably because I'm relatively new to Ubuntu. I installed Windows 8.1 after Ubuntu. First I wasn't able to start Ubuntu, but after Bootrepair I was. ...
4
votes
4answers
5k views

Swap partition not recognized (The disk drive with UUID=… is not ready yet or not present)

I think I had an encrypted swap partition, because I chose to encrypt my home directory during the installation. I believe that's what the line with /dev/mapper/cryptswap1 ... in my /etc/fstab is all ...
13
votes
5answers
10k views

Swap not working on clean 14.04 install using encrypted home

Update 3: I decided to reinstall the system from scratch to remove any old cruft lying around since I had been experiencing some other issues after the upgrade aswell. Howver, this issue persisted. ...
0
votes
1answer
65 views

Swap does not work in Kubuntu 15.04

I've installed Kubuntu 15.04. It seems that swap doesn't work: free -m: total used free shared buffers cached Mem: 3706 3109 596 197 ...
0
votes
2answers
41 views

Is it safe to delete a Swap Partition on a USB install?

I have a Ubuntu 14.04 installation on my 32gb USB drive. I recently read that having a Swap causes a lot of reads and writes to the drive making the OS slow and reducing the lifespan of the drive. ...
12
votes
3answers
2k views

Allocate swap after ubuntu 14.04 LTS installation

I've installed Ubuntu 14.04 LTS about one month ago, I'm dual booting Ubuntu 14.04 LTS and Windows 8.1. I didn't create any swap space while installation but now I really need to add this for ...
0
votes
0answers
39 views

swap does not work in 14.04

I use vagrant to install my dev VM. The VM configured config.vm.box = "ubuntu/trusty64" config.vm.provider "virtualbox" do |vb| vb.memory = "256" end I follow How do I configure swappiness? to ...
3
votes
0answers
128 views

Chromium build fails due to `out of memory` allocation

I am trying to build chromium content_shell. But it fails at the last linking stage because of out of memory. Error Log: [1/1] LINK content_shell ... /usr/bin/ld: out of memory allocating ...
2
votes
1answer
167 views

Swap doesn't seem to mount after update

I updated to Ubuntu 15.04 and now my swap partition does not seem to mount. I'm not an expert, but it looks like the partition does not seem to have a UUID anymore. How do I get the swap partition to ...
0
votes
1answer
44 views

Too much swap, how do I change it?

I'm new at Ubuntu and I'm fiddling around with Ubuntu Server 14.04. I'm trying to get it to run a Minecraft server, but whenever anyone joins, it starts skipping ticks and players reported heavy ...
1
vote
1answer
28 views

How to recover an HDD after using it for SWAP

Last night I was working on my linux box using a CFD solver where I needed more than the 16 GB RAM that I already have installed. So I took one of my external HDDs (total of 360G capacity with about ...
5
votes
3answers
10k views

How to delete a second swap partition safely?

First of all I've tried to install Ubuntu , but something went wrong and the installation was interrupted. Then I tried to install again , and it was installed successfully. And there was another ...
0
votes
4answers
2k views

Create Swap for Ubuntu 14.04 LTS [closed]

I'm using 2 GB RAM I've installed Ubuntu 14.04 LTS how much swap do I need to create?
-2
votes
2answers
104 views

How much swap should I take for ???GB RAM on 14.04? [duplicate]

I will install 64 bit 14.04 on a Thinkpad T400 with 8GB RAM. How much shall I allocate for the swap partition? And especially: WHY those recommendations for swap? (None of the existing answers ...
1
vote
2answers
69 views

I can't create both Swap and Ext4 partition

I installed Ubuntu using the dual boot method. My laptop is HP pavilion DV6. It has MBR on my HDD, so I'm limited to create 4 primary partitions. In Windows 8 I have used 4 primary partitions. In the ...
0
votes
0answers
15 views

Default Ubuntu or any derivate distro installation creates swap AFTER home (single partition installation)

Today I have encountered the same problem twice and the second one was actually just checking if the first occurence is actually something that has happened by accident. I had to deploy a Kubuntu VM ...
-1
votes
1answer
117 views

First time installing Ubuntu. Partition. Do I need swap area? I only have SSD

I want to install Ubuntu on my laptop (Thinkpad X201). I already have Windows 8 on my Laptop, so it will be a dual boot. My laptop has 4 GB RAM and a 120 GB SSD, but no HDD. My question is, for ...
23
votes
2answers
33k views

What to do about “the disk drive for /dev/mapper/cryptswap1 is not ready yet or not present”?

While booting Ubuntu 12.04, the disk drive for /dev/mapper/cryptswap1 is not ready yet or not present is showing. What is this? Is this is an error?
0
votes
0answers
25 views

Ubuntu 14.04 randomly freezing [duplicate]

I have Ubuntu 14.04 running on a Thinkpad T440 with Intel Core i5 Vpro 4gb with Intel Haswell graphics but it is randomly freezing with no reason. Recently I didn't have made any big change on the ...