LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-27-2011, 11:38 PM   #1
Konphine
Member
 
Registered: Jul 2011
Location: Phoenix, New York
Distribution: Slackware 13.37
Posts: 376

Rep: Reputation: 11
Resizing a Partition


Hi,

First off, I'm not 100% sure if this is a hardware question, but I hope it is.

Basically what's going to happen is, in a few days (about 2 weeks) I'm going to be getting a stick of 4GB RAM, whereas right now I'm running on 2GB.

I've been told it's a good idea to make the swap partition double the size of your RAM (I've been using 1024, but some Google searches say 1000 is fine).

Since I'll be getting new RAM, I'm wondering if using cfdisk to delete and then re-size it would be safe (or fdisk, but I don't have as much experience with that).

Any help is greatly appreciated.
 
Old 08-28-2011, 12:06 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
My advice would be to wait until you add disk space to the system. If the existing swap space has been adequate, then adding more RAM should make the need for swap space less, assuming your usage pattern stays about the same. The rule of thumb of swap size being two times the RAM is about right, until you start getting into much larger memory scenarios. Swapping 10's or 100's of GB will start to get slow.
--- rod.
 
Old 08-28-2011, 12:24 AM   #3
Konphine
Member
 
Registered: Jul 2011
Location: Phoenix, New York
Distribution: Slackware 13.37
Posts: 376

Original Poster
Rep: Reputation: 11
Okay, I see thank you. ^^ I think the most I'll make my swap partition is to about 6 or 8gb and I will wait until I add disk space to the system. I have an SSD coming too but that's not for quite some time now.

Thank you!
 
  


Reply


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
resizing PV does not work (lvm) after resizing partition deadeyes Red Hat 5 03-11-2011 11:19 AM
Resizing partition Denisius Slackware 9 08-28-2007 01:44 PM
Resizing Partition? Frank Soranno Linux - Software 1 05-11-2006 07:36 AM
Problem Resizing Linux Partition From Partition magic John_Emad SUSE / openSUSE 5 02-16-2005 12:42 PM
need help resizing an ext3 partition with an underlying partition... spiroth10 Linux - Software 1 07-30-2004 12:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:33 PM.

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