Hardware - ram & swap?

Asked by Abhisek

If I install more RAM ,Do I need to expand the swap partition? If yes please tell me how do I do that or I have to reinstall ubuntu.
I am using Ubuntu 8.04 desktop edition.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu parted Edit question
Assignee:
No assignee Edit question
Solved by:
Tom
Solved:
Last query:
Last reply:
Revision history for this message
Best Tom (tom6) said :
#1

No, the linux-swap partition 'should' be about 2xRam but unless you use "Hibernate" mode a lot then it isn't really necessary, especially above 1Gb of Ram

If you are a very heavy gamer who runs a lot of compiz and watch movies while playing those heavy games then it might still be an issue even above 1Gb of Ram. Otherwise if your Ram is now 2Gb then you probably don't need your linux-swap partition at all anyway :)

You can use a partition editor, preferably either "gparted" for Ubuntu or "Qtparted" in Kubuntu to resize partition space but if *buntu was working before then you are very very unlikely to need to change the size of you swap-partition.

Hope this helps
Good luck and regards from
Tom :)

Revision history for this message
Abi ^-^ (abiyasa-eka) said :
#2

Hello, this link can give you some information about swap

https://help.ubuntu.com/community/SwapFaq

Thank you

Revision history for this message
Tom (tom6) said :
#3

Wow, a good link but i would take the advice at the start of that page and avoid adding more swap space.

If your linux-swap partition is smaller than your Ram size and you really want to use hibernation mode (which really should be avoided) there is still no need to reinstall Ubuntu or anything. It's probably easier to use the Ubuntu Cd as a LiveCd, install Gparted and resize you Ubuntu partition down the tiny bit required and then resize your linux-swap up to the size you want. Messing around with swap-files sounds like getting one step back closer to the nightmare mess Windows makes of this issue and also sounds quite complicated. I would use the LiveCd of a different distro, probably Wolvix, if i really had to do this but as i said there's probably no need.

Please elt us know if you do want to increase your linux-swap partition and want help with that.
https://answers.launchpad.net/ubuntu/+source/parted/+addquestion

Good luck and regards from
Tom :)

Revision history for this message
Abhisek (abhisekpanda90) said :
#4

Is the G parted is automatically work?

--- On Tue, 24/2/09, Tom <email address hidden> wrote:

> From: Tom <email address hidden>
> Subject: Re: [Question #62019]: Hardware
> To: <email address hidden>
> Date: Tuesday, 24 February, 2009, 5:50 PM
> Your question #62019 on parted in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/parted/+question/62019
>
> Tom requested for more information:
> Wow, a good link but i would take the advice at the start
> of that page
> and avoid adding more swap space.
>
> If your linux-swap partition is smaller than your Ram size
> and you
> really want to use hibernation mode (which really should be
> avoided)
> there is still no need to reinstall Ubuntu or anything.
> It's probably
> easier to use the Ubuntu Cd as a LiveCd, install Gparted
> and resize you
> Ubuntu partition down the tiny bit required and then resize
> your linux-
> swap up to the size you want. Messing around with
> swap-files sounds
> like getting one step back closer to the nightmare mess
> Windows makes of
> this issue and also sounds quite complicated. I would use
> the LiveCd of
> a different distro, probably Wolvix, if i really had to do
> this but as i
> said there's probably no need.
>
> Please elt us know if you do want to increase your
> linux-swap partition and want help with that.
> https://answers.launchpad.net/ubuntu/+source/parted/+addquestion
>
> Good luck and regards from
> Tom :)
>
> --
> To answer this request for more information, you can either
> reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/parted/+question/62019
>
> You received this question notification because you are a
> direct
> subscriber of the question.

      Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/

Revision history for this message
Abhisek (abhisekpanda90) said :
#5

Thanks Tom, that solved my question.

Revision history for this message
Tom (tom6) said :
#6

If you really need help with gparted then please re-post this as a new question.  It's quite possible i haven't given enough information already to help with that so please feel free to ask.

Thanks and regards from
Tom :)