Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Add more swap space?

hardware

  • Please log in to reply
8 replies to this topic

#1 Tor

Tor

    CC Devotee

  • Just Joined
  • PipPipPipPipPipPip
  • 448 posts

Posted 24 January 2008 - 04:49 AM

Is it possible to add more swap space to my Linux installation? I think this will help Linux run better because I only have 512mb with 2gb of actual ram. I've been reading that I should have at least 4gb, is this true?
  • 0

#2 v0id

v0id

    Retired

  • Retired Mod
  • PipPipPipPipPipPipPipPip
  • 2313 posts

Posted 24 January 2008 - 06:05 AM

As far as I know, 200 mb is enough swap space. Personally, I use 200 mb, and I've never had any problems, not even when I've played 3D-heavy games.

If you want to change/modify your swap space anyway, then this looks like a nice guide.
  • 0

#3 Guest_Jordan_*

Guest_Jordan_*
  • Guest

Posted 24 January 2008 - 07:53 AM

I've always heard and doubled my swap space compared to my physical RAM. So if I have 2 gigs I use 4 gigs of space. I've never used more than 4 gigs of swap though. If you run Oracle or similar then you will about 20gb of swap.

v0id's link should show you how to add more swap.
  • 0

#4 Tor

Tor

    CC Devotee

  • Just Joined
  • PipPipPipPipPipPip
  • 448 posts

Posted 21 February 2008 - 03:51 PM

So I have 1 gig of ram. Should I use 2 gigs of swap or go ahead an up to 4 gigs?
  • 0

#5 v0id

v0id

    Retired

  • Retired Mod
  • PipPipPipPipPipPipPipPip
  • 2313 posts

Posted 21 February 2008 - 11:25 PM

Wow. I've never been aware of this. My 200mb of swap-space is working fine.
  • 0

#6 Oigen

Oigen

    CC Addict

  • Just Joined
  • PipPipPipPipPip
  • 105 posts

Posted 19 June 2008 - 01:46 AM

What's the difference between swap partition and swap file?
  • 0

#7 rumen

rumen

    CC Addict

  • Just Joined
  • PipPipPipPipPip
  • 102 posts

Posted 19 June 2008 - 06:30 AM

I think the swap file is an artificially created swap space to fill up when you run out of your actual swap partition. You have to rename a regular file, adjust its size and use it as a backup to your existing swap space.
  • 0

#8 Tor

Tor

    CC Devotee

  • Just Joined
  • PipPipPipPipPipPip
  • 448 posts

Posted 20 June 2008 - 04:09 AM

A swap file is simply a file on your local partition. A swap partition is an entire new partition used as swap space. The reason a partition is better is because a swap file can become fragmented but you can't defrag a system file (swap file) so it slows down your computer.
  • 0

#9 Oigen

Oigen

    CC Addict

  • Just Joined
  • PipPipPipPipPip
  • 105 posts

Posted 21 June 2008 - 12:08 PM

Ok, I got it now. Thanks for the info, guys.
  • 0





Also tagged with one or more of these keywords: hardware

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download