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

9
votes
1answer
9k views

zram vs zswap vs zcache Ultimate guide: when to use which one

What the hell are they? how are they different (I've written my understanding in an answer below) In the Zswap system, when a page is evicted from the zswap to the actual swap is it stored in a ...
-2
votes
0answers
18 views

Disk buffer causes applications to swap out? [on hold]

I have an OVH Classic VPS 1 with Ubuntu 15.10 running on it. Whenever I use a program that reads a lot of different files, (e.g. tripwire), I see through htop that my disk buffer grows drastically and ...
4
votes
1answer
72 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 ...
8
votes
4answers
21k views

Do we still need swap partitions on desktop?

I have read this question, but it was asked in the context of servers not desktops or notebooks. If a good amount of RAM is installed on a notebook, say 8 GB, do we still need a swap space?
-1
votes
2answers
29 views

I increase my ubutu performance withough swap partition? [duplicate]

I ever install Uuntu withough swap partition or file, is that ok?, or i must create one? How can i see if i need it
2
votes
1answer
30 views

How to use all unused swap partition?

I am sorry if my question is repost from another, but this is quite confusing to me. First, I will start with my situation. I have a Laptop with 8GB RAM and 320gB HDD. I install Ubuntu 14.04 x64 to ...
2
votes
2answers
2k views

message disk drive for /dev/mapper/cryptswap1 is not ready yet or not present even after trying various options

I have tried the advice here: Puny geek including the last amendments. and here Askubuntu including the advice further down for 14.04 I am running Xubuntu 14.04 on an older system. I just upgraded ...
0
votes
1answer
4k views

“Failed to create swap space” error during installation

I've been trying to install Ubuntu for the past two days or so, but I've been running into a problem: every time I run the installation program on the LiveCD, I always get the same (or a very similar) ...
6
votes
3answers
3k views

14.04 with FDE and swap is missing

Helo I have a fresh install of 14.04 on a laptop with an SSD hard drive. When installing I turned on Full Disk Encryption as well as encryption of home folder. Partitioning was left to the ...
0
votes
2answers
35 views

How to create separate swap partitions for 2 linux distro

I have triple booted my laptop with those OS and also installed them in this order: Windows 8.1 Pro, Ubuntu 14.04 LTS, Kali 2.0 When installing Ubuntu, I also created a swap area (8 GB) for it to use ...
0
votes
0answers
24 views

Ubuntu fails to boot after deleting swap

System: Ubuntu 15.04 64 Bit (only OS on the machine, only 1 hard drive). I chose "encrypt my home folder" during the installation. In system monitor I see a swap partition available but GParted shows ...
0
votes
0answers
13 views

Triple Boot, Swap Area

Currently have Windows 8.1 Pro and Ubuntu already running on my system. Ubuntu has swap area of around 4 gigs. I am manually doing the partitioning for the new distro (kali 2.0) which I'm installing. ...
1
vote
1answer
33 views

Can swap be used instead of RAM?

I have an older netbook that I love. It's currently using a relatively recent version of Lubuntu. The hangup is its relatively low amount of onboard RAM: 1GB. This amount also cannot be updated as it ...
1
vote
0answers
16 views

swap partition crashes 14.04/12.04

Hardware: Acer Aspire ACX-603-UR10 8 GB RAM Blue WD010EZEX 1 TB HDD -- or -- Green WD30EXRX 3 TB HDD -- or -- Samsung HM251JI 250 GB HDD Seagate ST3160815AS 160 BG HDD (Windows 8.1/now upgraded to ...
2
votes
2answers
49 views

Ubuntu 15.04 not using swap

I am running Ubuntu 15.04 on my Dell laptop. For some reason Ubuntu is not using swap. The swap partition is created: Device Boot Start End Sectors Size Id Type /dev/sda1 * ...
7
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 ...
4
votes
3answers
2k 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 ...
2
votes
3answers
239 views

How much swap should I take for 1-128GB RAM on 14.04?

I'm going to install 64 bit 14.04 on a Thinkpad T400 with something like 1 to maybe 128GB RAM. How much space should I allocate to the swap partition? And especially: WHY those recommendations for ...
0
votes
1answer
21 views

Slower boot after installation with encrypted home directory

I have installed Ubuntu 15.04 x64 recently. I have observed that in comparison to non-encrypted installation, the installation with encrypted home directory results in slower boot time: without ...
5
votes
4answers
120 views

swapon has no effect, /proc/swaps remains empty

My Ubuntu server has no more than 512 MB of memory. It is not enough for running Node.js + MongoDB. Hence I decided to add a swap file: # dd if=/dev/zero of=/root/myswapfile bs=1M count=1024 1024+0 ...
2
votes
1answer
37 views

Swap partition mount error

Every time Ubuntu startup, a message is displayed : Partition is not mounted, continue to wait, press S to skip mounting, or M for manual setup. # swap was on /dev/sda1 during installation ...
0
votes
1answer
22 views

Why server uses swap [closed]

My server has 64GB total RAM and currently the server has 13GB free. But, it takes the swap. What will be the reason? The server using numactl.
12
votes
3answers
3k 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 ...
1
vote
1answer
12 views

Can't unmount ext 4 in gparted

I wanted to add extra swap to my pc I followed lots of tutorials but i needed to make a unallocated partition and for that I needed to unmount ext4 I'm totally new in Ubuntu or linux Anybody a ...
0
votes
2answers
33 views

How to add swap area? [duplicate]

This is the status of my system: $ grep 'Swap' /proc/meminfo SwapCached: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Please let me know how can I increase the swap area without re-installing.
0
votes
1answer
19 views

why the swap partition is not working

i have setup fully encrypted lvm on my laptop,it have created a swap partition also.But why system does not recognize the swap partition? here is the screenshot link
0
votes
0answers
17 views

Unlocking at boot time Luks LVM

This is my first question, but let me start by saying how much of a big fan I am up this site. Every question I ever had over the last 4 years has been answered here and I am so grateful for the help ...
4
votes
4answers
121 views

Why no swap partitions on SSD drives?

I often read that one should not place swap partitions on a SSD drive, as this may harm the device. Is this true? Can you please explain the reason to me? Because I otherwise would have thought that ...
0
votes
0answers
21 views

Ubuntu 14.04 Increase swap file size

So I am new to Ubuntu and Linux but I am learning. How do I increase the size of the swap file? I have been researching posts and have not found a solid solution. Based off previous post here is the ...
2
votes
1answer
51 views

With 128GB of physical RAM in my repurposed server, do I need swap space at all?

I have seen people asking question about the necessity of swap space with various amounts of RAM installed, but my question is one to two orders of magnitude larger in the respect of installed RAM. ...
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?
0
votes
2answers
75 views

SSD - safe to use hibernate?

In a couple of days, I'm going to buy a new notebook (Asus N551, should it matter), tending to replace the HDD with a Samsung EVO 500GB SSD. Now, I've often read that one should make sure that Ubuntu ...
10
votes
1answer
20k views

Adding a new swap file. How to edit fstab to enable swap after reboot?

I've deleted my existing swap partition due to some partitioning problem. I don't have a swap space now so I've created a swap file with: dd if=/dev/zero of=/root/myswapfile bs=1M count=1024 Here's ...
2
votes
1answer
261 views

Can Ubuntu 14.04 use encrypted swap without resorting to unofficial hacks?

On a fresh install of Ubuntu 14.04, I get this error message during boot the disk drive for /dev/mapper/cryptswap1 is not ready yet or not present and the swap partition is never activated. From ...
2
votes
1answer
59 views

How can I convert a linux swap partition to ntfs? [closed]

Recently I decided to remove Ubuntu from my dual boot configuration of Windows and Ubuntu. I formatted the drive which contained Ubuntu, but I couldn't format my swap partition from Windows because it ...
0
votes
0answers
20 views

Swap and Ram both maxed out and nearly froze my computer; what log files should I open, and who should I share them with?

Woah, linux just got gridlocked. Everything started screeching to a halt, not even mouse movement. Just opening tabs on chrome. Jumped to a terminal with ctrl+alt+f5 or something, took me minutes to ...
2
votes
1answer
50 views

Should my swap size be zero or am I misunderstanding the output?

We are running an Amazon EC2 R3 instance so has 30G of memory available. We are running 5 Apache Tomcats (version 7). According to lsb_release -a the version of Ubuntu is: Ubuntu 14.04.2 LTS Tomcats ...
2
votes
2answers
1k views

Is putting swap on a USB2 flashdrive practical?

After searching here, I found no direct answer to: Is it practical to put swap on a USB Flash drive? I do not yet know if the teeny-tiny flash drive (Fit CZ33 ) I wish to use runs at high-speed (480 ...
0
votes
0answers
34 views

Adding swap due boot take too long time

everyone. I noticed that adding swap takes too long: Jul 5 22:41:10 dizpers-pc kernel: [ 19.762255] Adding 7999484k swap on /dev/sda5. Priority:-1 extents:1 across:7999484k FS Jul 5 22:41:15 ...
2
votes
2answers
49 views

Hibernation kills all programs

Following this answer I was able to restore hibernation on my Ubuntu Vivid Vervet 15.04. Unfortunately after hiberate/restore all running programs are gone, as if it was a regular power-off. Any ...
1
vote
0answers
38 views

Extremely slow OS. Swap related?

I really hope you can help me. An inexperienced sysadmin, installed Ubuntu on a new Dell Desktop, it's a pretty powerful machine, and I ran a bunch of hardware tests, and can confirm that RAM/HDD and ...
1
vote
0answers
25 views

Booting failed after enabling swap and installing uswsusp

After reinstalling Ubuntu 15.04, my swap partition was not active which is why Ubuntu did not hibernate. I followed steps given in this answer . I edited /etc/fstab/ by typing sudo nano /etc/fstab in ...
78
votes
7answers
90k views

How to empty swap if there is free RAM?

When I open a RAM-intensive app (VirtualBox set at 2GB of RAM), some swap space is generally used, depending on what else I have open at the time. However, when I quit that last application, the 2GB ...
116
votes
1answer
228k views

How do I configure swappiness?

I need a step-by-step, simple and easy way to configure swappiness.
0
votes
2answers
26 views

Did I Dual Boot incorrectly?

I dual booted Ubuntu with Windows 7. I dual booted by shrinking my drive to 45 GB. This was for ubuntu. After I dual booted, I noticed that there was a small primary partition. I found out that this ...
40
votes
3answers
56k views

How to increase swap space?

I have, by default, 250MB of swap space in Ubuntu, and I want to expand it to a larger size. I need 800MB, which I think will be enough to open several applications without having to hit the current ...
0
votes
1answer
108 views

i2c-hid i2c-SYN1B7B:01:01 failed to retrieve report from device - problem during boot, device stops booting

My laptop is configured to dual boot Windows 8 and Ubuntu 14.04. Windows 8 works fine, but when I try to boot into Ubuntu, sometimes, boot gets stuck at: i2c-hid i2c-SYN1B7B:01:01 failed to retrieve ...
3
votes
1answer
2k views

Gnome 14.10 memory leak, over 5gb of gnome-shell [closed]

I am experiencing a pretty huge memory leak from gnome-shell and after a while memory is up to over 5gb. I have 8gb of system memory and when the system start using swap the whole system slows down a ...
0
votes
1answer
45 views

Swapping for best performance

I have Ubuntu on my laptop for like 10 days. I'm new to Linux. So I'm interested about getting better performance of my laptop. Laptop: DELL: Intel CPU i7-4510U 2.00x4 , Graphics: Intel Haswell ...
0
votes
2answers
569 views

Ubuntu 15.04 installation stuck in a loop because of missing swap partition?

I say "because of missing" swap partition, but I am not sure about that. That's my hypothesis at the moment. Read on to understand the full context. I am attempting to install Ubuntu but it appears ...