TechSpot

What is the Linux "Swap"

By daniel161
Mar 1, 2007
Topic Status:
Not open for further replies.
  1. Hi everyone! What is the "Swap" partition? Why does it need it? Will 2gb be enough? Thanks!



    --Daniel L
  2. twite

    twite TechSpot Paladin Posts: 1,083

    You need to explain what you are talking about.

    Which linux distro are you using?

    How big is the H.D that you are using?
  3. jobeard

    jobeard TS Ambassador Posts: 13,355   +302

    Unix/Linux Swap partition has the same usage
    as the windows pagefile.sys; Pages of real memory are moved to/fro as needed.

    The normal setup for a Swap partition is 2x real ram installed, but not more than
    3x. You need a separate partition as it has its own formatting requirements
  4. daniel161

    daniel161 Newcomer, in training Topic Starter Posts: 94

    Thanks for the help!



    Twite, it is a 15 GB HD partitioned at 13 and 2 GB. (Compaq Standard)
    And the installed OS is UBUNTU.





    --Daniel L
  5. Nodsu

    Nodsu Newcomer, in training Posts: 9,431

    You can also use a swapfile no problem if you don't want to waste disk space on a dedicated partition. The performance difference is nonexistent unless you plan on doing very heavy swapping. 2GB of swap is more than enough for any sane use.
  6. Phantasm66

    Phantasm66 Newcomer, in training Posts: 6,504

  7. mk_once

    mk_once Newcomer, in training Posts: 21

    1 time you grfx-memory is often also fine, more the 2x is wasted..
    google your Distributon Userforum !!
Topic Status:
Not open for further replies.


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.