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
2answers
609 views

Is Linux Swap really needed? Accidentally Deleted

My DELL laptop has a 500 GB hard-disk. I planned to install dual OS in it, so I re-sized the disk using Gparted and my primary OS is Ubuntu 12.10. While resizing my disk, it displays an error only for ...
1
vote
1answer
204 views

How to expnad size of root partition, and using Swap Partition

My computer have 500 GB hard drive, and partition table as following 367 MB - Windows 8 Loader 104 GB - Windows 8 332 GB - Personal Stuff 64 GB - extended from above partition previously it was ~400 ...
0
votes
0answers
51 views

How to recover the drive that is lost due to swapping?

During the Ubuntu installation, I selected a drive (partition) for the swap. I didn't know that, after the swap worked, I won't be able to access it and now its giving me a headache. I would like to ...
1
vote
1answer
54 views

logical swap shown as 2 separate partitions. Extended and Swap

i would like to ask why Ubuntu disk utility shows my 12gb logical swap partition, as if there were 2 different partitions? I just set 12gb for swap and made it logical. Was this a wrong decision? Why ...
0
votes
2answers
99 views

Swap space too little

My machine is running Ubuntu 12.10 with Gnome 3.6; I have 2GB of RAM and I have allocated 1 GB of swap space during installation. And I am not running out of it anytime (as I'm aware/think so), ...
0
votes
1answer
57 views

Encrypted Swap Causes Boot Crash

I have been trying to solve this problem for a while now. I encrypted my home folder and the swap area and now when I select the first option in the boot loader the OS freezes. I tried reinstalling ...
1
vote
2answers
305 views

Why am I unable to create a SWAP partition?

I created the SWAP partition in GParted after resizing my Ubuntu partition. All the operations went off smoothly. When I right-clicked the SWAP drive, it showed "SWAPON", so I clicked it & it ...
2
votes
1answer
94 views

How can I enable two installed versions of Ubuntu to use a common swap space?

I have an Acer Aspire One AO751H, and I've got two Ubuntu versions on it: 10.04.4 LTS Netbook Edition (which I keep around mainly because I really like the user interface) and 12.04.2 LTS. I have ...
1
vote
3answers
433 views

I cant make a partition for Ubuntu

I am running windows 8 and I want to dual boot with ubuntu 13.04. According to this post: Installing on a Pre-Installed Windows 8 System (UEFI Supported) I should make the partition for Ubuntu in ...
0
votes
1answer
926 views

Comparing Virtual Memory Size with Resident Size

I came across this stackoverflow post: http://stackoverflow.com/questions/10400751/how-do-vmrss-and-resident-set-size-match The answer voted correctly states the following: "So, VSS should be ...
0
votes
1answer
49 views

After creating swap partition, LTS won't recognize new partition

I downgraded my system from 13.04 to 12.04, and in the processes messed up cryptswap. Each time i booted, i would get a warning about cryptswap not being there, so I deleted cryptswap using a ...
2
votes
0answers
1k views

13.04 Swap partition not found

I just installed 13.04 a few days ago. I didn't read the install screens all that carefully and apparently picked the default partition scheme. Now I am trying to build the Thunderbird source and ...
0
votes
1answer
462 views

How to change Swap partition to add more

I play a lot of Minecraft/Tekkit. I have quite a bit of lag issues and my brother told me to add more VM RAM. He said it's called Swap Partitioning on Linux. I am looking for a simple solution, I ...
1
vote
2answers
120 views

Need to give swap space as didn't give it while installation

I did not provide swap space while installing Ubuntu. How shall i give the swap space now? I've a multibooted system with win xp and ubuntu. please help
2
votes
3answers
2k views

Why encrypt the swap partition

I have seen on this site that many Linux users encrypt the swap partition. What are the benefits of encrypting swap?
0
votes
1answer
99 views

How to re-encrypt my swap to activate it again?

A while back I was messing with my swap space, turning it on and off using sudo swapon -a and sudo swapoff -a. Since I generally have enough RAM anyway (6GB) I totally forgot about it. Currently I am ...
1
vote
1answer
706 views

Dual booting Ubuntu and Fedora

I'm thinking about dual booting my current ubuntu 12.04 OS with fedora 18. My question is when I shrink the current ubuntu partition, which takes the whole disk (with Gparted) will I be able to share ...
0
votes
1answer
161 views

myeclipse asks for virtual memory

I have been trying to install the 2013 version of my Eclipse on Ubuntu 13.04 and have upgraded the same from Ubuntu 12 on-line the installation was normally done with a Live CD and mechanism was ...
1
vote
2answers
178 views

Swap HDD to change OS?

I'm going to a LAN tomorrow, however, they all use windows and we're planning on playing some games that are only for windows. I have a laptop with a pretty SDD of 60GB with Ubuntu that works perfect ...
1
vote
0answers
201 views

Encrypted swap no longer being activated at boot after removing and re-adding it

I have a Ubuntu 13.04 system using encryption for /, /home, and swap. This used to work flawlessly, but then I needed to resize the swap partition. After doing that, and manually trying to set it up, ...
2
votes
0answers
760 views

13.04 :: setting up hibernate + encryped swap under full disk encryption

So I recently installed 13.04 and chose full disk encryption (I didn't bother to encrypt home too - seemed pointless), and I'm wanting to encrypt my swap drive, and also enable hibernate so I can be ...
22
votes
5answers
8k views

Does it make sense to create swap partitions for new installations nowadways?

For a desktop installation in a new and shiny laptop (let's say 16gb ram and ssd hd), does it make sense to have a swap partition?
0
votes
1answer
69 views

How can see find process that have pages swapped out?

I would like to know which processes have pages swapped out. htop only show virtual memory which may or may not be paged out. Are there any tool that are more refined than this?
5
votes
1answer
1k views

Use swap for hibernating only

I have Ubuntu 12.10 installed on an SSD with the swap partition on the same disk. Now I want to use the swap partition only for hibernating (not for swapping memory) because the SSD don't like the ...
0
votes
1answer
1k views

Ubuntu 13.04 boot time is 1 min 20 seconds!

I have a lenovo z370 notebook (i5...6GB RAM..750 GB HDD) and running Windows 7 dual boot with ubuntu 13.04. The boot up is very slow and I have tried many things in this forum (for e.g disabling ...
0
votes
2answers
1k views

Swap Not available in system monitor

i make a swap partition with 5 GB but i notice always that it is marked as "not available" on the system monitor plus when i do operations consume the whole RAM ubuntu starts to kill to relief the RAM ...
1
vote
2answers
2k views

I need to increase swap space [duplicate]

I used the Windows installer to install Ubuntu. It did not ask me the size of swap. I am currently using Ubuntu and have only about 200 MB and my system crashes when I open too many applications.
1
vote
2answers
377 views

Mounting a pendrive as a swap partition, having problems

The building of one of the softwares I am installing is failing because of the error c++: internal compiler error: Killed (program cc1plus) I think this is because I have only 500Mb swap ...
0
votes
1answer
2k views

How to set swap in /etc/initramfs-tools/conf.d/resume if I have two swap partitons?

I have two swap partitions in fstab : /dev/sda8 none swap sw,pri=1 0 0 /dev/sdb8 none swap sw,pri=1 0 0 How to set swap in ...
2
votes
1answer
198 views

ux31a freezes when running out of memory

I have difficulties to understand swap policy. I have installed system (ubuntu 13.04 but 12.10 had same issue) with 4gb of swap partition because ux31a has 4 gb of memory. Problem is that every time ...
5
votes
4answers
11k views

Do we still need swap partitions on desktop?

I have read this question, but it was asked in the context of servers not desktops or notebooks. If a good amount of RAM is installed on a notebook, say 8 GB, do we still need a swap space?
0
votes
1answer
499 views

ZRAM enabled but Swap in RAM not used

So I've just decided to enable zram on my 6 GB ram Ubuntu 12.04, using zram-config. It takes about 2.9 GB of ram (after manually starting up the service, fixing this later...), but, even with ...
0
votes
1answer
380 views

Is swap enabled on this server? should it be?

We have a sysadmin configure a couple of servers at digitalocean. To me, it looks like swap wasn't enabled on this but it's been a VERY long time since I've had to do things like this. It's a rails ...
0
votes
1answer
730 views

how to check if cache is working

is there a way to check if disk cache is working on a regular sata disk? i see "asking for disk cache failed" error messages, but discovered my laptop has a 1gb solid state drive without a ...
2
votes
2answers
436 views

why I have 2 swap paritions?

I'm new in using Ubuntu, I just installed ubuntu 12.10 and everytime I start up the pc, a message tell me that the drive /dev/mapper/ubuntu-swap_1 is not ready yet or not present . This is my ...
7
votes
1answer
1k views

Why is swappiness=10 recommended?

A value of swappiness=10 is recommended in Ubuntu's SwapFaq. Why is a value of 10 is recommended rather than swappiness=0? Are there any pros of 10 or cons of zero?
1
vote
2answers
762 views

defragmenting and increasing performance of old lubuntu system with swap partition

I am using the latest Lubuntu on an Intel Celeron 1.7Ghz and 512MB RAM. Lately system performance has deteriorated significantly. The hard disk is an 80GB IDE drive and we suspect it to be the ...
2
votes
1answer
26 views

How to appear drive on windows if whole drive is selected as swap space?

I was installing ubuntu at time of drive selection i selected whole drive d as swap area and then i quit the installaton now it is not appearing in windows and even in try ubuntu button as came up on ...
1
vote
1answer
458 views

Is ecryptfs-setup-swap persistent?

I have what I think is a quick question: Is running ecryptfs-setup-swap on a system that didn't have home-directory or swap encryption enabled when it was installed persistent? The man page at ...
1
vote
1answer
25 views

Can't enlarge swap drive

Running Ubuntu 12.04 on a Toshiba Netbook. Netbook has like .8 gigs of Ram so I'm trying to offset the crappy ram amount with a larger swap drive. Tried to do it from a pretty detailed tutorial, was ...
3
votes
1answer
251 views

Linux: how swap is reported by free/top. How to determine correctly swap usage by process

Can somebody please explain how swap is reported in Linux? I'm asking this because free and top commands reports some swap used that cannot be found in /proc/$PID/status. grep --color VmSwap ...
0
votes
1answer
112 views

How can I restore the swap drive used by ubuntu, back to windows 7?

I just installed ubuntu 12.10 on my laptop (which has windows 7) but I used my second data drive as a swap for Ubuntu. How can I restore this swap drive back so it can be accessed by Windows 7 again? ...
1
vote
1answer
548 views

Ubuntu 12.04.1 LTS Init Process using all swap space and free memory

Mem: 16402220k total, 16165840k used, 236380k free, 132244k buffers Swap: 4194296k total, 4191452k used, 2844k free, 1208664k cached PID USER PR NI VIRT RES SHR S %CPU %MEM ...
1
vote
1answer
578 views

Swap F keys to perform functions without Fn key

My laptop has a function key which turns F keys into keys which change volume or brightness. I would like to swap a number of them so that they perform that function under normal operation and are an ...
3
votes
1answer
221 views

Is swap memory required on a flash drive installation?

I have Ubuntu 12.10 installed on a 16gig flash drive without a swap partition. I heard from many users that skipping swap on installing Ubuntu on flash drives extends the speed and life of a flash ...
1
vote
0answers
54 views

I broke hibernate when I set two distros to use the same swap space

I use Ubuntu as my primary OS, but I have also installed Fedora to see what all the hype is about. I made the stupid decision of making them share swap space, not thinking of the consequences on ...
1
vote
1answer
199 views

Why swap is used when loads of memory is free? [duplicate]

I have 4GB of ram, and an 8GB swap partition available. Sometimes I like to see how much memory is used at particular points. And I noticed, that sometimes there is small amounts of swap used ...
3
votes
2answers
1k views

Without having swap partition how to hibernate using only “SWAP FILE”

I found answer near to this question but not exact answer in Ubuntu-forums.I found answer to 1. How to create swap partition after installing Ubuntu. 2. How to create or add swap file to existing ...
1
vote
1answer
294 views

What event failed? As far as I can tell everything is mounted as expected and the system boots fine

At boot I get a message mountall: Event failed but everything seems to mount fine. With verbose output I see this: / is local /proc is virtual /sys is virtual /sys/fs/fuse/connections is virtual ...
1
vote
2answers
1k views

Is it important which comes first ,root or swap partition on my external drive?

I am trying to creat root , swap and home partition in order to install ubuntu onto my external hard drive.I use the program called Gparted. But some people say first section must be root ,other say ...