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

Ron Frazier atllinuxenthinfo at c3energy.com
Mon Jan 17 21:52:04 EST 2011


Jeff,

Thanks for the note.  Several other people said similar things.  My
current RAM is 8 GB and my swap is 8 GB.  See the post I recently did at
around 9:40 PM for some results of some stress testing I did on the
machine.  Bottom line is, I'm leaving it as is.

Sincerely,

Ron

On Mon, 2011-01-17 at 21:44 -0500, Jeff Hubbs wrote:
> I keep seeing the 2xRAM rule of thumb applied even under insane amounts 
> of RAM (>2GiB) - fact is, at much over 2-4GiB of RAM, your box will be 
> well off into the weeds and unable to muster the disk I/O it would take 
> to get itself sorted out again if you pushed it out into 50%-75% or more 
> of your swap if you go by that rule. So when I see your 16GiB of swap, 
> I'm foreseeing a frozen screen for maybe a week if you tried to use 
> anywhere near that much.
> 
> Still, I've seen people make 64GiB of swap.  It's ridiculous.  If you 
> honest-to-goodness HAVE to go there, you'd better have absolutely maxed 
> out the motherboard on RAM and you need to have built not just one but 
> at least two very-high-speed disk subsystems on separate buses JUST for 
> swap (SSD; replace often).
> 
> - Jeff
> 
> On 1/17/11 5:21 PM, Ron Frazier wrote:
> > 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
> >
> 
> _______________________________________________
> 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

-- 

(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



More information about the Ale mailing list