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

wolf at wolfhalton.info wolf at wolfhalton.info
Tue Jan 18 05:49:44 EST 2011


My average swap usage is zero(0) in a system with 2GB Ram or more.
I set swap to 200MB
The rule of thumb was set when the average ram was 16 MB.  RAM is so
available and cheap now that the rule is outdated.

-----Original Message-----
From: Ron Frazier <atllinuxenthinfo at c3energy.com>
Reply-to: Atlanta Linux Enthusiasts <ale at ale.org>
To: Atlanta Linux Enthusiasts <ale at ale.org>
Subject: [ale] how do I increase Linux swap file size?
Date: Mon, 17 Jan 2011 17:21:31 -0500


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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20110118/50b738a7/attachment-0001.html 


More information about the Ale mailing list