Find the answer to your Linux question:
Results 1 to 7 of 7
i have a abit ip35pro board& core 2 duo cpu and a bfg 9800gt, i have 4 gigs of ram on a 32 bit install, this is a regualr system ...
  1. #1
    Linux Newbie leo5111's Avatar
    Join Date
    Oct 2006
    Location
    escaped from XP hell
    Posts
    183

    should i adjust swap size?

    i have a abit ip35pro board& core 2 duo cpu and a bfg 9800gt, i have 4 gigs of ram on a 32 bit install, this is a regualr system not a laptop or anything my swap file is 2.86 gigs should i leave it as is, or make bigger or smaller? if needs to be resized how do i do it? thanks

  2. #2
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    I have 4 gigs on my desktop, and went with only 1 GB of swap, but I use my ram for larger than everage ramdisks. You really don't even need swap with 4 GB of ram. If you need it, you can add it (if you left unalocated space.) If you need the hard drive space, you're probably OK to get rid of it. If you don't, may as well leave it, but you are probably fine with whatever you do.
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  3. #3
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    By the sounds you are not doing anything intensive to even require that size of swap. On my machine with 4g ram I'm not sure I even have swap, and if I do it is less than 1g. The only reason to have any more than that is if you are using a hibernate feature. If in the future you require more swap for any reason, you could always create a swap file on disk and use that, instead of mucking around with resizing partitions and such.

  4. #4
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    Referencing my own swap area, I'd say you don't need it.

    I have 4GB RAM and I included 4GB of swap (in anticipation of heavy DVD video processing). For my normal computer usage, my swap space used is at 0k. I do occasionally use some swap, but I've never observed it go over about 250MB, even when I'm making DVD videos. YMMV, but I'm guessing you'd probably be safe dumping the swap and reclaiming the space.

    As far as required, right now you are not required to do anything; your current setup will work fine. It's all preference.

  5. #5
    Linux Newbie leo5111's Avatar
    Join Date
    Oct 2006
    Location
    escaped from XP hell
    Posts
    183
    well i like you i do dvd re-encoding and re-encodeing of high definition videos

  6. #6
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,975
    I run a 64bit system w/ 8GB of RAM and 16GB of swap. I don't hit the swapper very often, but sometimes I deal with large in-memory data sets for analysis and can hit the 8GB limit with my normal application suite running. Only increase swap if you really need to. You can use the swapon command to enable a swap device if you need to add swap space. If for temporary usage, you can use a USB thumb drive.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  7. #7
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    There's also the possibility of creating a swap file, and using swapon to mount it as if it was a swap partition. There are a few rules about making it work. This is the normal method for Knoppix and some other live distros.

    Adding Linux Swap File System - How to | Linux4All.Net

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...