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

2
votes
1answer
6k views

Swap file creation success/failure?

I just installed Linux for the first time (after 5 tries). I was trying to follow directions on creating a swap file from this website: http://www.linux.com/news/software/applications/8208-all-about-...
5
votes
3answers
12k views

How to delete a second swap partition safely?

First of all I've tried to install Ubuntu , but something went wrong and the installation was interrupted. Then I tried to install again , and it was installed successfully. And there was another ...
9
votes
7answers
38k views

System not mounting swap partition

Even though the swap partition exists, and set to load in fstab, it's still not being mounted. fdisk returns this for the swap partition: file system: /dev/sda5 start: 1 end: 244 ...
1
vote
2answers
3k views

Taking advantage of an “Intel Turbo Memory” card for swap or fast bootup

I have an X61 thinkpad (currently running 10.10) that I purchased 3 years ago. I splurged a little and got a Turbo Memory expansion to improve my windows boots. When I installed 10.04 (and ...
2
votes
4answers
2k views

Would I benefit from reducing, or increasing swappiness?

I've read a few articles now about changing the swappiness level on Ubuntu to possibly increase performance. But I'm very unfamiliar with how swappiness works, would I benefit from increasing, or ...
1
vote
2answers
1k views

linux-swap partition is in extended drive

My apology if my question sounded silly, but I am very new to ubuntu. I have just formatted my pc to ubuntu. However, I found out that now I have 3 partitions in my harddisk. One is the ext4 /dev/sda1 ...
2
votes
1answer
969 views

Computer not hibernating despite free swap [closed]

I am on Acer 5742G. Here are some specs Processor : Intel Core i5-460M Mobile Processor (3MB Intel Smart Cache, 2.53GHz) Chipset : Mobile Intel HM55 Express Memory : Up to 3GB DDR3 ...
9
votes
3answers
19k views

How to disable cryptswap?

How can I disable cryptswap? I would like an unencrypted swap like before. This is on an ubuntu 9.10 system.
79
votes
6answers
110k views

How do I add a swap partition after system installation?

I did not opt for a swap partition during Ubuntu installation. Later I freed up some space, and made a swap partition. Now after booting up I am manually opening gparted and right-clicking the swap ...
4
votes
1answer
527 views

So what is the reason behind the claim that you need at least as much swap area as main memory for hibernate to work?

I saw a lot of recommendations claiming that for hibernation the swap partition/file must be at least as large as the main memory. This makes no sense to me. Lets assume I have 8 GB of main memory and ...
1
vote
1answer
388 views

Swap utilization: system level versus individual processes

On my top output, at header level, swap is showing 0k used. But on each individual process the SWAP is shown as a non-zero value (output column enabled with option p). What does this mean? Swap: ...
3
votes
2answers
4k views

Sharing swap space between Windows and Ubuntu

This Linux Swap Space Mini-HOWTO describes how to share swap space between Windows and Linux. **Do these instructions still apply to Ubuntu in 2011? How should I modify the steps for Ubuntu? Is ...
4
votes
2answers
5k views

Change swap memory size after adding RAM?

I ordered some addon RAM a few days ago to install on my Ubuntu 10.10 stationary computer and while giving it some thought, I remember that I previously did change the SWAP memory file size on a XP ...
3
votes
2answers
1k views

Change swap (potentially with user data) to ext4

I have a 1 TB external harddisk where I recently installed Ubuntu onto. Before I had some backups there which I didn't want to lose. Therefore I created a new partition for Ubuntu. During this process ...
2
votes
1answer
3k views

Install fails, cannot mount swap

I am trying to fresh install a box to 10.04 (it was previously 9.10), but during the install process mounting the swap partition fails giving the error: The attempt to mount a file system with ...
12
votes
6answers
4k views

Do we need Swap partition on a LAMP server?

Do we need actually swap partition on the ubuntu-server with LAMP? I think I don't need it, but better to know for sure if it will not cause some unpredicted behaviour. Actually my thoughts were: ...
7
votes
2answers
474 views

Is it safe to resize my swap partition on a production system?

I have a laptop with 4GB RAM, but when I first set it up, I had no plans to hibernate so I gave it 2GB swap. I don't want to use a swap file, so is it safe to resize the swap partition (and of course ...
31
votes
4answers
6k views

Importance of Swap Partition

What is the purpose of a swap partition? How do I know I have just enough swap partition? Not too much/little. My Ubuntu PC is used for typical stuff: Web (email, facebook, etc.) Some movies ...
11
votes
3answers
2k views

Is the swap partition encrypted?

Selecting the encryption option at install time to encrypt the home partition. Does this enable encryption of the swap partition or is the swap partition unencrypted. If the swap partition is ...
6
votes
2answers
5k views

Hibernate to a swap file

I have configured a new Ubuntu 10.10 installation in a Notebook to use a swap file, instead of using a swap partition. For default is not possible to get Ubuntu to hibernate using a swap file, so i ...
14
votes
4answers
14k 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 (...
122
votes
6answers
144k 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 ...