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
3answers
422 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
0answers
12 views

How to manipulate the threshold(s) that memory swapping (paging) occurs? [duplicate]

I'm trying to do something that seems counter-intuitive, but I hope will make sense by the time I'm finished with the question. I have a hosted VPS that's running 64-bit Ubuntu 12.04. The VPS comes ...
-1
votes
0answers
84 views

How Can I Successfully Copy User Profiles With An Encrypted Home and Swap?

I followed the instructions in Can't Clone a User Profile? with only partial success. I get an error message that is something to the effect of cannot copy /'olduser' /../'newuser' unable to create ...
0
votes
1answer
895 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
996 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
443 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
118 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
1
vote
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
97 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
705 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
153 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
175 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
194 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
755 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
7k 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
66 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
359 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
1k 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
192 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
10k 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
494 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
361 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
706 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
417 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
979 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
728 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
25 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
420 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
249 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
539 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
566 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
218 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
192 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
289 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 ...
1
vote
3answers
848 views

Ubuntu DualBoot Installation Process - Resizing Partition

I decided to have Ubuntu to dualboot with Win7. I have read couple of guides, and it seems that I still can't get this right. ATM I have my laptop running the Ubuntu CD, I picked in installation type ...
1
vote
0answers
616 views

'hibernate' doesn't work on xubuntu 12.04

I've just installed Xubuntu on my laptop. All works fine except that hibernating doesn't work. I (successfully) resized the swap partition with GParted but it's still the same. When restarting the ...
-1
votes
2answers
102 views

Swap Files slowing down games

I have a 16 GB Alienware M17X, and every time I try to play a game the game will run perfectly for a minute or so but then the game starts to lag. Now I believe this is a swap file problem. So does ...
0
votes
1answer
339 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 ...
6
votes
1answer
4k 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 ...
2
votes
2answers
2k views

What is swap and usage?

My question is what is swap? I am planning to install Ubuntu 12.10 version. I have 2.5 gigabytes of ram and want to use it all. How do I do the right way. I plan to use 500 gigabytes and a Sempron ...