Results 1 to 5 of 5

Thread: change swapfile

  1. #1
    Join Date
    Mar 2009
    Location
    south of the north pole
    Beans
    205
    Distro
    Ubuntu

    change swapfile

    i just added an additional drive to my desktop and wanted to put the swapfile on it in hopes of getting better performance, but i don't know how to do that or if its possible. can it be done and will it increase performance?

  2. #2
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: change swapfile

    No, hard disk access is many orders of magnitude slower than RAM access, so swapping will degrade performance, not enhance it. Max out your RAM first.

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

  3. #3
    Join Date
    Jul 2008
    Location
    Oklahoma City, OK
    Beans
    330
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: change swapfile

    Its more of a swap partition as opposed to a swap file.

    The swap partition is going to be slower than memory anyway. But if you wanted to do it, you would have to format the drive as a swap partition, then disable and reformat the existing swap partition into usable space.

  4. #4
    Join Date
    Dec 2006
    Beans
    7,349

    Re: change swapfile

    Quote Originally Posted by oldos2er View Post
    Nice page. My own situation is this one:

    High RAM and high disk space With 2 GB RAM and 100 GB hard disk, use 2 GB for swap since hard disk space is plentiful.
    although the disk is actually 300 GB. I have attempted to max out the ram + swap file several times, with conky watching, and it is very difficult to even make the swap file kick up to anywhere near the 1 gig mark . But of course the golden rule is max out the physical ram....
    You think that's air you're breathing now?

  5. #5
    Join Date
    Mar 2009
    Location
    south of the north pole
    Beans
    205
    Distro
    Ubuntu

    Re: change swapfile

    thanks for your comments, will max out ram

Bookmarks

Posting Permissions

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