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
1answer
642 views

swap partition shows as unknown in gparted

My swap partition does not seem to be operating properly. It worked fine yesterday, but seems to be inactive today. Per lsb_release -a, running Ubuntu 14.04 LTS trusty on a Compaq CQ62, dual booting ...
0
votes
0answers
167 views

Deleted linux swap, now booting to grub rescue

I just deleted my linux swap from gparted and used that to extend my main linux partition. Now I just boot into grub rescue. It seems like a simple fix in fstab but I'm not sure. Here's my fstab # ...
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?
-1
votes
1answer
563 views

What size should swap partition be if I want to hibernate later?

Since I'm installing Ubuntu for the first time ever (please don't shoot) i have no idea how large the swap partition should be. On the one hand, I know that people recommend "double the ram unless it ...
1
vote
1answer
200 views

Dynamic swap file like in Windows?

I would like to install Ubuntu to a 8GB USB stick so really don't have space for swap. I have 8GB RAM and the most memory intense apps I use are Firefox and LibreOffice. I don't use hibernate. I know ...
0
votes
1answer
36 views

No Swap - Easy Way To Add?

My Ubuntu has no swap space. Apparently you can run a swap file on an existing partition - is that true? I'd like to add one, but the online instructions are all rather complicated and require the ...
0
votes
2answers
121 views

Would increasing my swap partition's size benefit my computer's performance?

Apparently increasing the size of the swap should make my computer able to handle more applications because it can "push more data aside" into the swap. ...or will it make the computer hang more ...
0
votes
3answers
218 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
52 views

I can't do hibernate to my PC due to swap partition size is equal zero?

How can I do that swap partition without losing data when I used ~$ free -k The output was: total used free shared buffers cached Mem: 3891772 ...
1
vote
2answers
160 views

Swap not availlable

I have noticed that my swap is not available. This could explain why my computer freezes every so often when I am using it heavily. I installed 14.04 64-bit with an encrypted folder, which ...
2
votes
2answers
431 views

Shrink or remove swap with 4GB RAM and SSD?

I wasn't exactly sure so I created a swap partition 4100MB in size. Now I have swappiness at 0 and it's highly unlikely I'll ever need swap because I don't use any memory intensive apps. I also don't ...
0
votes
1answer
100 views

Swap Keys for Game

I want to swap Tab key with Left Shift key for playing Dota 2 from Steam. I swap the keycodes of the keys and works fine until I start the game. I push Tab (it should be shift to queue actions) but ...
3
votes
3answers
2k views

Why does my system use so much cache?

Previously, on my desktop computer running Ubuntu 14.04, I had 4GB RAM, which I thought should be plenty. However, after being on for a while, my computer would seem to get slow. I have a system ...
0
votes
2answers
100 views

Creating Swap Partition

Hello I am very new user of Linux. I am going to install Ubuntu 14.0.4 and have two questions: The partition in which the Ubuntu will be installed, what would be the partition type primary or ...
0
votes
1answer
363 views

Why did Ubuntu 14.04 create a 15.8GB swap partition?

I started with Windows 7 on 120GB SSD and Ubuntu 14.04 32bit installed on 60GB partition on separate 1TB HDD. I just did a fresh reinstall of 14.04 64bit on the 1TB HDD. In the installation set up ...
0
votes
1answer
36 views

Are all pages of a process loaded in swap file / partition?

"Swap space is the area on a hard disk which is part of the Virtual Memory of your machine, which is a combination of accessible physical memory (RAM) and the swap space" . According to a user now , ...
5
votes
1answer
4k 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 ...
0
votes
0answers
35 views

Swap partition missing or not found error? How do i solve this error?

No swap partition found. I get this error all the time and i have attached the picture of it. It appears when Ubuntu 12.04 is starting and i got no idea how to solve it. I did create a swap partition ...
1
vote
2answers
355 views

NAS running Ubuntu / Raid 5 / SSD cache

I'm about to setup a NAS - planned hardware so far: MB: ASUS P9D WS(*link1): sry, it's german, it says th MB supports Hot-Plug in AHCI or RAID Mode, supports Intel Smart Response (SSD Caching) CPU: ...
4
votes
3answers
1k views

Do I need a swap partition for every Linux distribution?

To install various Linux distributions on the same physical machine, do I need to add a swap partition for each distribution, or one will suffice for all?
0
votes
0answers
295 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 ...
0
votes
3answers
331 views

No Swap Partition!

I'm in dire need of help. My system has become incredibly laggy and hardly usable. I have realised that this is because for some reason I'm running without virtual memory (this is not intentional). ...
0
votes
1answer
112 views

Creating a swap partition on an SSD with full encryption

Much to my surprise I recently found myself to lack a swap partition. Since (as is evident from the output of df, which I hereby repost) that I am running off a single encrypted volume, I was ...
0
votes
1answer
61 views

Hibernation/swap partition

I'm trying to enable hibernation on my laptop, a Dell XPS-13 (with a 256 GB SSD mounted as an encrypted volume). I was following the official documentation here and I attempted the "hibernation test" ...
1
vote
1answer
175 views

Swap partition showing unknown. Can I format it to ntfs or ext4 for keeping my files or this will cause problems to system? I don't need swap space

The gnome disk utility shows a partition with 3.1 GB is linux swap with unknown content. In a terminal running free command total swap shows 0. What does this mean? I don't need any swap space, so ...
0
votes
0answers
224 views

Swap partition on SSD with full encryption

I installed ubuntu 14.04 on my laptops SSD with full encryption enabled on installation and I just realized, that the installer created a swap partition. swapon shows me Filename Type ...
0
votes
1answer
186 views

Can't disable swap partition on USB persistence ubuntu 14.04 LTS

I created an ext2 partition for swap and I got it working fine. I'm new and just wanted to try it. But I don't want to blow up the USB flash, so I tried to disable it and it's not possible! I try ...
1
vote
3answers
228 views

Ubuntu Frozen every time when Memory usage over 80%

Ubuntu Frozen every time when Memory usage over 80%, It seems that the system hangs due to a load of disk IO - the screen is frozen and the only thing I can see is the indicator LED of disk keeping ...
0
votes
2answers
1k views

Choosing partition types for swap and root and choosing device for bootloader installation

I am trying to install Ubuntu 12.04 via manual partitioning because I want to remove an existing Windows 7 operating system but keep all my other partitions with their contents intact. My questions ...
0
votes
0answers
40 views

How to convert Linux swap drive to windows readable format [duplicate]

Okay so I'm rather new to linux but I my laptop has 2 drives. One 64gb msata that i use for my windows boot drive and a terrabyte hdd that i use for all my other files. I decided to create a new ...
1
vote
1answer
130 views

Know programs in cache

I have this situation with RAM and SWAP at the moment: $ free -h total used free shared buffers cached Mem: 7,7G 7,5G 159M 100M ...
3
votes
2answers
3k views

Encrypted Swap Partition for 14.04

How can I produce an encrypted Swap Partition for 14.04 ? All the advices I saw here are for versions <14.04 and do not work for me. I tried a lot but nothing lasted longer than a reboot. Is there ...
0
votes
0answers
76 views

Find users of swap when smem reports zero swap usage

I want to know, who and why uses my swap, but can't see swap users by smem. After setting sysctl vm.swappiness to 10, and starting chromium (10 tabs), my swap usage jumps from 0 to 30-35 MB ...
2
votes
1answer
68 views

Lagging when swapping

I use Ubuntu 14.04 on my Lenovo E531 with 4GB installed. The problem is that when the RAM is about 70% full the system starts swapping. After swap is used (even if only 10MB is in swap) the system ...
0
votes
1answer
525 views

Why dont changes to the swappiness remain permanent after reboot?

System Ubuntu 14.04 I want to change my swappiness from the default 60 to 10. According to this answer http://askubuntu.com/a/103916/71679 I need to log in as root and edit /proc/sys/vm/swappiness ...
9
votes
4answers
7k 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. ...
5
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
0answers
37 views

Help fix swap error when waking from suspend to ram

I suspend to Ram fine. I can't wake from Ram. It always ends up in a swap error, and I have to reboot the whole computer.. Why? What info do you need from me? Please help!
2
votes
1answer
816 views

How to create swap file on ext4

My friend whats to create a 4GB swap file on his ext4 file system. because he is using a chromebook acer c7 the way he installed he did not have a chance to specify swap partition and now he want to ...
1
vote
2answers
92 views

Is available swap memory important in my case?

I've read a little bit about swap memory, but I don't understand it enough to make a decision on trying to look into this more on my system. Here's what I have available right now: user@ubuntu:$ ...
0
votes
1answer
455 views

Ubuntu Disk Management

So, I notice when I open up "Disks", that it is showing 3 partitions on my main drive. 1 is the system, 1 is the swap, but the other is simply labeled as "Extended Partition" So what I'm wondering ...
0
votes
1answer
49 views

Memory is not released from swap when a program is terminated

Memory and swap are both near maximum. I shut down all the processes I initiated. The memory and swap are still both near maximum. Is there a way to release the memory used by a terminated program? ...
0
votes
1answer
94 views

Have encrypted my disk and need swap space

I have just installed xubuntu 14.04 and elected to do the encryption (not the full disk, just the ubuntu part and my home dir). I realized however that I failed to create any swap space. When I run ...
8
votes
1answer
5k views

Swap not being detected on 14.04 LTS

I upgraded from 12.04 to 14.04. When I opened my resource monitor, I noticed my swap was not detected. I installed Gparted, opened the program and started to look at my file tree. I noticed that my ...
1
vote
1answer
44 views

What is a swap partition and why is it important?

While I was installing Ubuntu 13.10, it asked me to make a swap partition. I made it ~5.6GB, as I didn't know what it was or anything.
0
votes
1answer
1k views

Increasing swap memory in ubuntu 14.04

I want to know if it is possible to increase swap memory in Ubuntu 14.04. How is it possible? Another question: I installed Ubuntu 14.04 on my laptop (ASUS)...When I'm working with it and open URL ...
1
vote
1answer
118 views

Why is a very small percentage of the swap being used when my ubuntu is almost freezing? [duplicate]

My Ubuntu gets very slow because of too many apps, but when i check the system monitor, Ram use is 80% but swap is less than 5%. How do you let ubuntu use the swap more effectively?
0
votes
0answers
232 views

Upgrade to 14.04 Memory Allocation Problem

Recently did a fresh install on my laptop to 13.10 to prepare for the LTS release. I started the upgrade process when the updater prompted and read a book waiting for it. When I checked on the ...
0
votes
1answer
1k views

Increasing size of swap partition

There are other postings on this topic, but because of the importance of getting it right I am posting the exact details of my requirement. My disk is: /dev/sda /dev/sda/sda1 to be mounted as / ...
2
votes
1answer
1k views

VMware Player warns me of no swap whenever I launch a VM

I just installed 14.04 Desktop, using "automatic partition setting" by the installer, with the "encrypt entire hard disk" option. I installed the latest VMWare (version date Apr 17th). Now whenever I ...