You are not logged in.

#1 2008-01-04 19:19:47

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Resize Swap?

I just did a new install on my new laptop and just realized that I have 4GB of ram and I only made my swap 2GB. Wouldn't that present a problem if I am suspending or hibernating and there is more then 2GB in ram?

So would it mess anything up if I booted into gParted and and moved my / and /home partitions to make my swap file 4GB since I have in this order:

/boot
swap
/
/home

And there is room behind the /home partition to do this.

Would this work?

Thanks

Offline

#2 2008-01-04 19:25:23

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: Resize Swap?

I have 1 GB of RAM and 1 GB in swap in my laptop and have *never* used more that 1/3 of my RAM. I even run Apache server (I use this machine for development) and other services.
I do not think you have a single reason to be concerned in a Linux system with 4 GB of RAM.

R.

p.s. my swap has never been used so far

Last edited by ralvez (2008-01-04 19:26:52)

Offline

#3 2008-01-04 19:28:02

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: Resize Swap?

Well I will be using virtualbox a lot with at least 2GB designated to it. Along with my usual web, email, devel tasks.

Offline

#4 2008-01-04 19:37:30

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: Resize Swap?

So do I in a daily basis.

R.

Offline

#5 2008-01-04 19:40:04

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Resize Swap?

You should be fine - especially if you use either uswsusp or tuxonice with compression enabled to hibernate.

Offline

#6 2008-01-04 19:40:04

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: Resize Swap?

Ok far enough. I wasn't sure what I should do. I don't even know if I will really use supend or hibernate all that much.

Thanks for the help

Offline

Board footer

Powered by FluxBB