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

110
votes
1answer
210k views

How do I configure swappiness?

I need a step-by-step, simple and easy way to configure swappiness.
0
votes
2answers
24 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 ...
38
votes
3answers
52k 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 ...
3
votes
2answers
1k 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 ...
0
votes
1answer
16 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
1k 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
33 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
64 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 ...
0
votes
0answers
11 views

Why am I being repeatedly asked for swap partition password when apt-get upgrade?

I installed recent kubuntu on a laptop, and choose to encrypt / and swap. Works fine. But very often, when I do apt-get upgrade, I get questions about password for swap partition. I could understand ...
0
votes
2answers
18 views

Why does the installer make an extended partition for swap by default?

Every time I've done a clean default install of Ubuntu or a variant on an MBR type system, I end up with a system partition and a swap partition. The installer always tucks the swap partition inside ...
0
votes
1answer
3k 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) ...
0
votes
0answers
29 views

Swap is super slow on Xubuntu

Swap is somehow super slow on xubuntu. I have 8GB ram running vivid 15.04 Xubuntu. When ram usage reaches around 7+gb ... the hdd light goes crazy (actually, it just stays on) and stuffs get dumped ...
0
votes
1answer
43 views

Maximum RAM for my Ubuntu and laptop? [duplicate]

My laptop is Thinkpad T400, and running 64 bit Ubuntu 14.04. I wonder if there is no limit of the RAM size that I can use in my laptop? Now I am running Windows 8.1 in VirtualBox, which takes 2GB ...
-1
votes
2answers
152 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 ...
0
votes
0answers
5 views

How to swap Caps with Left Control and change layouts using Caps Lock+Swith (grp:shift_caps_switch)

I already tried a lot of methods for changing this and none of those worked. I used xmodmap and setxkbkey but it both ways there's always problem with setting it. However, using those methods don't ...
0
votes
2answers
45 views

creating swap partition, convert primary partitions to logical

I tried to install Ubuntu 14.04 into my laptop which already has got windows 8 installed in it. I had a 30GB free space and I allocated 29 out of that 30 as primary partition for Ubuntu. I wanted to ...
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
0answers
96 views

15.04 Swap won't “stay decrypted” (both Disk and Home Directory encrypted)

I just installed Ubuntu 15.04. During installation, I enabled both full disk encryption and home directory encryption. I then proceeded to install several applications. While installing these with ...
0
votes
1answer
513 views

I deleted swap partition, what more I should do?

Well I deleted my swap partition using gparted just because I needed one more primary partition and the swap was the 4th, that is the maximum number of primary partitions. I think I don't need it ...
13
votes
4answers
10k views

How big should I make my swap partition?

I'm (re)installing Ubuntu on my Toshiba NB100 netbook (Intel Atom, 120GB HD, 2GB RAM). Already have a partition I call "Stuff" with all my media and docs. Will be deleting the one I had Win7 on ...
0
votes
0answers
45 views

How to find swap usage per process when conventional methods fail? (15.04)

I'm having some difficulty determining what is using my swap space on Ubuntu 15.04. Even though I've set vm.swappiness to 1 and have more than 1/2 of my 16GB of RAM free (or at least unoccupied by a ...
1
vote
0answers
21 views

Why does my Eee PC try to mount the extended /swap partition?

In PCManFM on the left side there is a volume called "1,0 KB Volume". When I click on it, it shows an error message that it can't mount /dev/sda2, but /dev/sda2 is extended partition with the swap ...
0
votes
0answers
23 views

vmware workstation on ubuntu 14.04 do not use ram and swap don disk

i have a strange problem, just get new notebook, moved disk from old notebook. new pc have intel i7 with 8gb ram, ubuntu 14.04 64 bit on board (previous was 3gb ram). i'm using vmware workstation ...
1
vote
1answer
54 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
15 views

Swap not working even after following previous advice

I have previously posted a question in which solsTiCe showed me how to setup a swap on a GPT partition. It worked for a while but now I am having problems again. The swap was not detected again. I ...
0
votes
0answers
15 views

Swap sharing Windows and Ubuntu

This question has been asked before but not in this manner. I have Windows 8.1 and Ubuntu 15 dual booting on an SSD, A secondary HDD is currently has a partition at the end that is NTFS formatted ...
0
votes
0answers
123 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
295 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 ...
3
votes
0answers
71 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
70 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
9k 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 ...
6
votes
2answers
239 views

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 ...
3
votes
2answers
58 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
15 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
58 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
373 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
80 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
21 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
46 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
75 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
29 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
904 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
39 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
39 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
534 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 ...
0
votes
1answer
373 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
1answer
59 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 ...