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
1answer
67 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 ...
0
votes
0answers
56 views

Errors during boot up of ubuntu 12.04 (related to swap, intallation)

I'm using ubuntu installed on usb external hard disk.. During installation, i had to allocate drive for /boot and /swap... I couldn't create a partition within my external hard drive itself... So I ...
0
votes
1answer
35 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
32 views

Very slow start up

I am using the following release: LSB Version: ...
10
votes
3answers
1k 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
33 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
86 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
189 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
72 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
0answers
44 views

Ubuntu Server Raid Swap

I installed Ubuntu server 12.04.3 LTS with RAID partition by installator, In free command swap is 0. root@xxx:~# free total used free shared buffers cached Mem: ...
0
votes
1answer
354 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
132 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
72 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
148 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
640 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
62 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
0answers
43 views

Swap file not being utilized. Program Killed due to memory

I have set up a swap partition on 12.04, as per the below. #swapon -s Filename Type Size Used Priority /swapfile file 1048572 0 -1 ...
0
votes
0answers
42 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
367 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
175 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
50 views

Why is the default Ubuntu swappiness 60?

What is the reasoning for Ubuntu's default swappiness being 60?
20
votes
4answers
2k 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
131 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 ...
2
votes
1answer
1k 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
24 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
2k 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
1k 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
144 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
1k 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, ...
4
votes
2answers
2k 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 ...
0
votes
0answers
29 views

How to define new swap space since the previous one as a partition has been removed? [duplicate]

How to define new swap space, which is currently not present on my system at all? Preferably to set on the system partition, not a new one. I do not have swap partition, which has been used only for ...
0
votes
1answer
60 views

Adjust new swap memory

Currently, my system have 2 GB swap memory, in the following structure- /dev/sda1 --linux-swap -- /dev/sda2 --ext4 -- System installation Unallocated --unallocated -- Now I want to ...
0
votes
1answer
109 views

How much swap space should I configure? [duplicate]

How much swap space should I have? I have a 500GB HDD and 6GB RAM. My specs: Release 12.04 (precise) 64-bit Kernel Linux 3.8.0-34-generic GNOME 3.4.2 Memory: 5.7 GiB Processor: Intel® Core™ ...
0
votes
0answers
73 views

swap on lvm2 partition

I have lvm2 volume with two logical partitions, root and swap. My fstab looks like this: ... /dev/mapper/lvm-swap none swap sw 0 0 /dev/mapper/cryptswap1 none swap sw ...
0
votes
3answers
198 views

Is this partitioning scheme for Windows7/Ubuntu fine?

This isn't an exact copy of my previous question. I have an ASUS K53U laptop with Windows 7 64-bit installed. I want it to dual-boot with Ubuntu (Linux-Secure-Remix, preferably). I have previously ...
0
votes
1answer
48 views

Swap partition usage

I created a 7.5Gb swap partition when I installed UBUNTU 12.04 on my 80 GB hard disk. My system runs with 512Mb RAM. I am not sure if this SWAP partition size is right. I also would like to know if ...
0
votes
2answers
169 views

Why does Ubuntu install default to minimum swap partition size?

When installing Ubuntu unless you do a manual partition, you get roughly and x+.5 MB swap space, where x is the amount of ram present. At least this has been my experience. I that official Ubuntu ...
0
votes
1answer
70 views

hibernate is diabled on ubuntu 13.04? [duplicate]

I'm using ubuntu 13.04 and hibernate is disabled Do I need a big swap file to enable hibernate ? How ?
0
votes
1answer
29 views

Ubuntu 12.04 swap USB [duplicate]

I'm new in ubuntu and I tried to install the alternate CD in my machine. Everything went fine but when I tried to boot a black screen and a blink cursor went on. I can boot from my USB and searching ...
1
vote
2answers
98 views

Is putting swap on a USB2 flashdrive practical?

After searching here, I found no direct answer to: Is it practical to put swap on a USB Flash drive? I do not yet know if the teeny-tiny flash drive (Fit CZ33 ) I wish to use runs at high-speed (480 ...
1
vote
1answer
48 views

What is the role of the swap space? [duplicate]

This has been something that I've wanted to ask for quite a while, but I just haven't. When Ubuntu is being installed there is an option where swap space can be assigned, at least in the custom ...
2
votes
2answers
128 views

Performance tuning - multiple swap partitions? (command-line)

SUMMARY Does Ubuntu take advantage of multiple swap partitions on separate physical media, from a load sharing point of view? i.e. if one drive with a swap partition is burdened with i/o, will it ...
0
votes
0answers
397 views

“Disk drive for dev/mapper/cryptswap 1 is not ready”, tried other resolutions already

So I used this link http://punygeek.blogspot.com/2012/10/ubuntu-1204-how-to-solve-disk-drive-for.html and followed it to a "T" and it worked fine until I restarted. I will explain a little more now. ...
2
votes
2answers
281 views

Sharing of swap partiton between linux systems?

I have a laptop on which I have installed Ubuntu 12.04 and Windows Now just for learning purposes I am going to install Backtrack OS on it. My laptop has 4 GB of RAM so according to the ...
0
votes
1answer
189 views

The Creation of Swap Space in Partition #9 of SCSI3 (0,0,0) (sda) Failed

I am trying ubuntu 13.04 from sandisk cruzer blade. I want to install it . I created a partition of 25 GB. I formatted to ex4-or something like that and mounted it to- / But I am reciving - The ...
0
votes
2answers
1k views

Swap on Ubuntu: No primary partition

I am running Ubuntu 13.10 64bit on a system with 4GB RAM, dual booting with Windows Most people say that it is good to have swap on a system, and results in speed, so I used it with my previous ...
1
vote
1answer
43 views

ubuntu 12.04 2D hibernatization

I'm pretty noob in linux OS. I chose ubuntu to start with, because is most user friendly. But i can't make him go to hibernate. I have 2 gb RAM and 4 gb SWAP, i follow the instructions to enable ...
0
votes
1answer
193 views

Wubi install: How to increase swap size

I am trying to increase the swapfile size on my WUBI install. I followed the answer here: sudo su swapoff -a cd /host/ubuntu/disks/ mv swap.disk swap.disk.bak dd if=/dev/zero ...
1
vote
2answers
5k views

What is the safest way to remove a swap partition?

I am running Ubuntu 12.04 on a 64-bit HP laptop with a 16 GB flash drive. I do not have a working hard drive right now. When I installed Ubuntu, I created a 2 GB swap partition on sdb1. I have since ...
0
votes
1answer
101 views

Issue with increasing the root partition from the swap

I have an issue with increase the size of my root partition. I have ElementaryOS Luna, and while installing it asked me how much space I want to use. I choosed 15 GB for it, because I want to use this ...