Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-19-2008, 07:25 AM   #1
LQ Newbie
Registered: Dec 2007
Posts: 20
Blog Entries: 1

Rep: Reputation: 0
creat new SWAP partition


I have upgrade RAM in my PC,so i want to extend swap partition.So please guide for the same.


Old 03-19-2008, 07:40 AM   #2
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
How much total RAM do you have now? (after the upgrade)

If the swap is at least 1GB, you probably don't need to change it.

Don't bother re-sizing a swap partition...just delete it and create a new one. Use fdisk or cfdisk in a terminal. Depending on your distro, there may also be something in the menus (eg GParted)
Old 03-19-2008, 09:29 AM   #3
Registered: Mar 2006
Location: Arkansas
Distribution: Sidux. Others on occasion.
Posts: 312

Rep: Reputation: 31
People tend to use the formula created way back when of doubling the swap amount of ram. This is completely unnecessary (especially for Linux) as most of the time you wont touch swap at all. Unless you are doing huge memory intensive projects, 512 megs of swap is more than satisfactory. On a regular desktop with 512 megs of ram, have never used more than 25 megs of swap. You would think the formula would be inverse(more ram less swap). I guess what I'm trying to say is that you can comfortably leave your swap alone unless you started off with an extremely low number. type "top" in a terminal to see how much swap you use during intensive processes. Open up the "Gimp" an office program, and a web browser all at the same time and see what top shows
Old 03-20-2008, 12:06 AM   #4
Registered: Mar 2008
Posts: 101

Rep: Reputation: 15
This can help

Fedora Development

Last edited by prad77; 04-17-2008 at 04:15 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Swap partition Roni_G Ubuntu 1 10-24-2005 06:43 PM
should i format X partition after creat Y partition No2002 Linux - General 3 07-16-2005 11:13 AM
Swap partition Proud Linux - Hardware 5 03-23-2005 08:17 PM
Creat free space from /home partition, how? hraposo Mandriva 1 09-22-2004 01:09 PM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 09:45 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration