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

1
vote
1answer
313 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
41 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
221 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
475 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
55 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
202 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
592 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
145 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
3k 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
123 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
456 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
40 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 , ...
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 ...
1
vote
2answers
453 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
1answer
413 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 ...
1
vote
3answers
582 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
150 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
82 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
299 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
1answer
286 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
354 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 ...
2
votes
2answers
5k 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
158 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 ...
5
votes
2answers
5k 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 ...
2
votes
1answer
94 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 ...
1
vote
1answer
1k 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 ...
16
votes
5answers
13k 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. ...
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 ...
2
votes
1answer
1k 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
108 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
559 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
71 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
119 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
7k 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
46 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
2k 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
183 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
1answer
2k 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
2k 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 ...
8
votes
2answers
261 views

How could one really get sensitive information from a swap partition?

When I google this question, I only get all sort of information on how to protect sensitive data, how to encrypt swap, and how "dangerous" could be to keep a "normal" swap in a linux system. But I ...
0
votes
1answer
465 views

setting up swap space on a triple boot system?

First off, OS: Ubuntu 13.10, Kali-Linux, Windows 7 Ultimate H/W: asus laptop, i7, 1tb hdd, 8gb ram Since my hard drive already had 3 primary partitions I cannot create a dedicated swap partition ...
0
votes
1answer
87 views

swap partition not working on ver 13.10

It's a 3 day old install of Ubuntu 13.10 I set my partitions up correctly beforehand with Gparted(you'll have to trust me on that) swap partition was formatted as linux-swap and given 6gb of space. ...
37
votes
3answers
24k views

How can I turn off swap permanently?

Swap makes my system all sluggish and turning it off makes everything smoother. I have 3.5 GB of RAM. I know how to turn swap off by entering sudo swapoff -a in the terminal, but that's just for the ...
1
vote
1answer
113 views

How to edit partition table in Ubuntu 12.04.4 LTS?

When installing, I used the advanced setup and I do not recall whether or not I added a swap partition. Upon boot I typically have to wait for "cryptswap1" to be ready. It does work, but I usually ...
1
vote
1answer
279 views

Is there a maximum swap partition size for 12.04, 64 bit

I am running 64 bit ubuntu 12.04 on HP Envy Spectre ultrabook, with 4GB of RAM. I have been running into problems with python code which uses RAM very inefficiently, see e.g. here, causing my code to ...
1
vote
2answers
232 views

Why do some processes use swap and others don't?

I experience from time to time when I'm working heavily, that my systems (Ubuntu 13.10) freezes. Syslog says, that a process had to be killed to to memory shortage. Killed process 4693 ...
0
votes
1answer
156 views

Swap Area partition

I created a swap area with gparted successfully.How can know if swap area is created? I created the swap area after the Ubuntu installation. When i write swapon -s command to terminal there appears ...
0
votes
1answer
137 views

How to extend logical volume swap space to atleast 64 GB on SSD

My current configuration of physical volumes is as follows. --- Physical volume --- PV Name /dev/sda5 VG Name vgssd PV Size 190.89 GiB / not usable ...