Results 1 to 7 of 7

Thread: Swap/Page files - Are they really necessary anymore?

  1. #1
    Join Date
    Nov 2010
    Location
    Virginia, USA
    Beans
    325
    Distro
    Xubuntu 13.04 Raring Ringtail

    Swap/Page files - Are they really necessary anymore?

    These days new computers are coming with more and more RAM out of the box, and 8GB or higher is becoming common. This makes me wonder: are page files/swap areas really necessary anymore? Sure, it's possible to use all that RAM and then it would become necessary, but I can't think of many programs that can push a computer that hard. Can anyone shed some light on this subject for me?
    "Every man is guilty of all the good he did not do." ~Voltaire



  2. #2
    Join Date
    Jul 2009
    Location
    AL, USA
    Beans
    326
    Distro
    Kubuntu 16.04 Xenial Xerus

    Re: Swap/Page files - Are they really necessary anymore?

    Swap space probably becomes more of an issue when editing/encoding large graphics/video files.
    HP Pavilion dv6, Core i3-3110M, 6GB RAM, nVIDIA Geforce GT 650M, 640GB HDD: Win10 / Haven't-decided-untu 16.04 64bit

  3. #3
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    4,996

    Re: Swap/Page files - Are they really necessary anymore?

    You could always see for yourself.

    Code:
    sudo swapoff -a
    Code:
    sudo swapon -a

  4. #4
    Join Date
    Apr 2012
    Location
    Darkstar
    Beans
    348

    Re: Swap/Page files - Are they really necessary anymore?

    err... It seems like a bigger problem with laptops, as in for hibernation. I don't make a swap anymore, cause I never use it and it takes precious time when you need to setup Arch.
    CrunchBang Linux
    Plz no tpe lik dis or no anser!!
    The search tool can be found in the upper right corner of your screen, please use it to your advantage, especially before asking questions.

  5. #5
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Swap/Page files - Are they really necessary anymore?

    Quote Originally Posted by codingman View Post
    err... It seems like a bigger problem with laptops, as in for hibernation. I don't make a swap anymore, cause I never use it and it takes precious time when you need to setup Arch.
    That's probably the only reason you really need swap.

    I have one on my server, but the whole 2x max RAM thing kinda gets old.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  6. #6
    Join Date
    Jun 2008
    Location
    Tennessee
    Beans
    3,421

    Re: Swap/Page files - Are they really necessary anymore?

    Apart from hibernation, I wouldn't see any point in swap with that much RAM. I mean, can you imagine if you were utilizing even half that much swap (4gb)? Think of how long it takes to copy a 4 Gb file to a partition. Seems like you'd be better off not swapping at all.

  7. #7
    Join Date
    Jan 2007
    Beans
    6,540
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Swap/Page files - Are they really necessary anymore?

    I still tend to keep a swap file on hand in case it's needed, but with 4GB RAM I find it's very rarely used. Tbh after installing Raring recently I haven't bothered to set the swap file up yet, I'll probably get around to it but the system works fine without it.

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
  •