[ale] how do I increase Linux swap file size?

John Scott John.Scott at peak10.com
Mon Jan 17 17:32:50 EST 2011


It's the non-destructive shrinking that is the problem.  I'm sure you will get some responses detailing some ways you can do this if you really need to.  However, you may not really need 2x RAM for swap.  Most people don't (that's why it's a good rule of thumb -- do 2X ram and you will not need more).  Do you know your average swap usage?  I wouldn't bother changing anything it if it doesn't look like you are using all of your swap space.  When you add RAM to a machine, if your usage patterns are staying the same, you have probably just *decreased* your dependence on swap.


-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of Ron Frazier
Sent: Monday, January 17, 2011 5:22 PM
To: Atlanta Linux Enthusiasts
Subject: [ale] how do I increase Linux swap file size?

Hello all,

My main hard drive on this machine is partitioned as follows:

157 GB NTFS Windows Vista
97 GB EXT4 Linux (Ubuntu 10.04)
8 GB Linux swap
235 GB NTFS Windows Data (Also usable in Ubuntu)

I normally keep my swap file set for 2X system ram.  I recently upgraded
the computer to 8 GB of RAM, so I would like to non destructively shrink
the last partition, while keeping it at the end of the disk.  Then, I
want to increase the swap file to 16 GB.  Anybody know how to do that,
preferably with a graphical utility, under Ubuntu?

Thanks in advance for your help.

Sincerely,

Ron

-- 

(PS - If you email me and don't get a quick response, you might want to
call on the phone.  I get about 300 emails per day from alternate energy
mailing lists and such.  I don't always see new messages very quickly.)

Ron Frazier

770-205-9422 (O)   Leave a message.
linuxdude AT c3energy.com

_______________________________________________
Ale mailing list
Ale at ale.org
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo



More information about the Ale mailing list