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
143 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
122 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
437 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 , ...
8
votes
1answer
8k 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
438 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
387 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
548 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
145 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
80 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
278 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
274 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
324 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
4k 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
153 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
90 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
998 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
12k 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
105 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
537 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
68 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
118 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
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
178 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
255 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
419 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
86 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
23k 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
111 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
269 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
224 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
155 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 ...
0
votes
0answers
44 views

May I install Ubuntu and Debian sharing the same swap memory? [duplicate]

I want to install Debian and Ubuntu in the same disk with different partitions. I also have a windows partition. The question is if I could install Ubuntu and Debian sharing the same swap memory or ...
1
vote
1answer
154 views

Forgot to add swap memory during installation [duplicate]

In my ignorance I didn't add swap memory to my install. So my question is, can I work without it and if not how can I add it to my existing install? Love to get some feedback!
11
votes
2answers
7k views

Why is kswapd0 running on a computer with no swap?

I have a cloud server with ~14G of RAM and no swap. However, I occasionally see kswapd0 taking up some CPU when I run top. Why would kswapd0 be running at all if there's no swap space for it to ...
0
votes
1answer
52 views

Is it wise to run computing virtual machines on KVM?

I have a physical server with 384GB memory. My main applications are to run CPU and I/O intensive programs. I could run everything on the physical server. But I'm wondering if it is better to host a ...
0
votes
1answer
456 views

Reinstalling Ubuntu 12.04 on a dual booted system with swap file

After installing my amd drivers from their website, I ran into some problems and now i boot into "low graphics mode". I decided to reinstall Ubuntu with the live cd. The first time i installed ...
0
votes
1answer
208 views

I need to “swapon” after each boot

I just clean-installed Ubuntu (12.04.4 lts) for my first time about a week ago and have been having problems with swap from the get-go. Initially, I was receiving the error message "The disk drive for ...
0
votes
0answers
24 views

How to clean SWAP space in ubuntu 12.04 [duplicate]

I have a computer with ubuntu 12.04 installed. Unfortunately, when I run a memory taking program, it fills the RAM and uses the SWAP space. Then after the program terminates, the memory is completely ...