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
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
245 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
359 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
84 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. ...
34
votes
3answers
19k 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
108 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
236 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
181 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
150 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
131 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
142 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!
10
votes
2answers
6k 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
48 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
365 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
174 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 ...
0
votes
1answer
346 views

What is the UUID of my swap drive?

I'm dual-booting Ubuntu 13.10 on an ASUS Windows 8 with an SSD (but not on the SSD). I configured it when installing to use a swap drive, but it doesn't seem to be using it since I get this message ...
0
votes
1answer
54 views

Which drive is better to keep a swap?

I have a laptop with a processor core i5. 4 GB of RAM. The laptop has a built-in hard disk SanDisk SSD U100 24GB [10.52.01] (/dev/sda). Read speed 270 MB / s, write speed of 78 MB / s. In addition, ...
0
votes
1answer
417 views

Swap not available [duplicate]

When I open System Monitor and click Resources, the chart has swap at 0% and says "Swap not available". I was triple booting on my computer, but I removed one of the distros, so that probably has a ...
0
votes
1answer
87 views

Is my Cryptswap working?

I was receiving a message saying that cryptswap cannot be mounted. After several reboots, I do not have this message displayed anymore. Is it normal (see below) for 0 to be used? $ swapon -s Filename ...
1
vote
1answer
43 views

Ububntu 13.10 x64 SWAP

I'm using ubuntu 13.10 64 bit. Established a system by default, compliance, sisema allocated to SWAP 35Gb file. How to reduce size SWAP file?
1
vote
1answer
42 views

Changing cpu from intel to amd

I currently have two computers using ubuntu, I want to switch the hard drives of the two so the one I use more has more space. My problem is one of my computers has a intel cpu and one has a amd CPU, ...
1
vote
1answer
86 views

Help with ram usage

I have a dual boot laptop with 512 MB RAM running Windows XP/Xubuntu. I try to load student.portal.chalmers.se (a huge bloat site) in Firefox. On XP, I can load the site without any swapping, but ...
1
vote
1answer
83 views

Can an exisiting swap partition be merged into a new partition as a logical volume?

I am using a dual boot setup (Windows 7 and Ubuntu 12.04 LTS). The first two partitions belong to Windows and the third and fourth are the ubuntu system and swap partions respectively. All of these ...
2
votes
0answers
43 views

Very slow start up

I am using the following release: LSB Version: ...
11
votes
3answers
2k views

Why is the default swappiness 60? What would be the effect if I lower the swappiness value for my desktop PC?

I was reading about swappiness in various forums and I saw some videos. Many stated that it's a good thing for desktop users to decrease the swappiness value below 60 (which is the default). Some ...
0
votes
1answer
57 views

Resized swap partition - swap space does not change?

Recently I resized my swap partition to make it bigger, but swap space staid the same. Why is that so and how can I change it? Here is what I get when I run swapon: swapon: /dev/sda6: pagesize=4096, ...
1
vote
1answer
164 views

What do I do when extensive SWAP access makes system dead

Memory is getting low and heavy SWAP access makes my system responding very slowly at first, but if I don't react by freeing a lot of memory, the system becomes like almost completely dead. Now I have ...
2
votes
2answers
335 views

Deactivating swap file without any computer freeze

I'm currently coding on my laptop: 4 gb of rams, never using more than 2.5-3gb but at times, I'll mess up my programs, run them with memory leaks and they'll make the computer freeze when trying to ...
0
votes
3answers
117 views

Make SWAP parition from existing Ubuntu partition [duplicate]

Using Ubuntu 12.04 LTS, upgraded from 11.10. Had no idea while installing Ubuntu for the first time. So missed SWAP partition. Now, at times Ubuntu hangs and system monitor shows the memory usage ...
0
votes
1answer
874 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
249 views

Swap taking more ram memory, my system running slow

When I give the command 'free -g' and view the output, it says total used free shared buffers cached Mem: 1 1 0 0 ...
1
vote
0answers
127 views

Swap, zram, CPU, memory & Software Center [closed]

This is a shot of my swapfiles and System Monitor: and I would like to know what is the best way to reconfigure my swaps. Below is the result on my terminal: harayz@ASUS:~$ cat /proc/swaps ...
1
vote
2answers
256 views

Cannot change swappiness default from 60 to 0 in Ubuntu 12.04

So I've read several related threads and there seems to be no answer. I have an old laptop, with a Dual Core 1.7 GHz processor and added 2 GB of RAM, with a 30 GB partition for Ubuntu 12.04 and the ...
1
vote
2answers
2k views

how can I increase my RAM size with a swap partition? [duplicate]

Presently my RAM is 2GB. I heard that in linux we can get extra memory to RAM from the harddisk by using swap partition. What is the procedure for that? here in the pics i'm giving my system info. ...
0
votes
2answers
82 views

3 swap partitions and only one in use

If I go to settings - disks (xubuntu) I see 3 swap partitions (2.1, 2.5 and 6.2 GB) but only one is in use, the 2.1, the smaller one, the others are wasted space. I can activate the other two ...
0
votes
1answer
100 views

More disk read/write after decreasing swapiness

I know this may sound absurd but my laptop has Xubuntu Saucy with 4GB RAM. I decreased swapiness from 60 to 7 but now applications take more time to launch and I see disk i/o before the application ...
2
votes
1answer
822 views

Swap partition not enabled after booting up

This is what my gparted looks like When i formatted my computer before installing Ubuntu, I set up the partitions properly (or so i thought) and had the last "unknown" area as a linux-swap and ...
2
votes
1answer
340 views

Why does rsync slow down my whole computer?

My powerful Linux desktop (12 core, 32GB RAM, SSD, fast processor, ubuntu 13.10) slows down to a crawl when I rsync from my internal drive to an attached USB3 NTFS drive. Typing any command, like "df" ...
2
votes
0answers
70 views

Why is the default Ubuntu swappiness 60?

What is the reasoning for Ubuntu's default swappiness being 60?
24
votes
5answers
6k views

With an SSD, do I need to change my swappiness to increase SSD life?

I encountered this article which includes the following suggestion: Swap and swappiness I kept my swap partition on the old HDD. Swap on the SSD would be faster, but would also shorten the ...
0
votes
1answer
191 views

“The harddrive for /dev/mapper/cryptswap1 is not yet ready or non existent.”

Two days ago I installed the Ubuntu 12.04 LTS on my laptop, now I have got a big problem I cannot sort out, even by reading and checking what some of you stated in the explanations. Problem: (Its in ...
3
votes
1answer
4k views

How to partition a small SSD alongside an HDD when installing Ubuntu

There is both a HDD and a 24GB SSD in my Ultrabook. I will install Windows (for testing in feature, as its free in university) in the HDD. I need to decide what to do with Ubuntu, as its the system ...
0
votes
1answer
28 views

NEW Ubuntu USER SWAP

i'm new to ubuntu website and operating system, and as I am very curious, i searched some topics, and i noticed something called SWAP,i know its supposed to be twice the physical ammount that we own, ...
-1
votes
3answers
8k views

Do I need a swap partition? [duplicate]

I have 4GB of RAM and I want to install Ubuntu. Do I need a to have a swap partition? Because my computer has 4GB RAM, I do not think it is necessary to have a swap partition. If I do need to have a ...
1
vote
1answer
3k views

swapon: /dev/sdb1: swapon failed: Invalid argument

I am unable to mount a swap partition Terminal code: Device Boot Start End Blocks Id System /dev/sdb1 2048 7831551 3914752 82 Linux swap / Solaris ...
0
votes
2answers
254 views

How to mklink /home/ to a new empty partition [duplicate]

Due some weird issues with my current lubuntu I'm going to do fresh installation. But when I install lubuntu I need to do two things that I probably can't perform because I'm newbie. I'm going to ...
2
votes
1answer
2k views

Encrypted home partition + encrypted swap + working hibernate

I would like to set up disk encryption on Ubuntu 13.10 such that I have plain / encrypted /home partition encrypted swap partition working hibernation and resume As these requirements suggest, ...
5
votes
4answers
5k views

Unsafe swap space detected

So I had a Ubuntu 13.04 installation and I had encrypted my hard drive while I was doing installation. I was playing around and mistakenly deleted all the partitions, now I downloaded lUbuntu 13.10 ...