The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Swap Space

    Discussion in 'Linux Compatibility and Software' started by Adam24367, Dec 3, 2008.

  1. Adam24367

    Adam24367 Notebook Consultant

    Reputations:
    7
    Messages:
    140
    Likes Received:
    0
    Trophy Points:
    30
    Hello,
    I Would like to know what Swap space for Linux is
    What does it do
    How do i make linux use it
    etc
     
  2. Bog

    Bog Losing it...

    Reputations:
    4,018
    Messages:
    6,046
    Likes Received:
    7
    Trophy Points:
    206
    The swap space is a partition on the hard disk that Linux uses as if it were RAM; it uses swap space for some critical files as well as when available RAM is running low. Windows has something similar, but it is called the page file, and as you can tell it is a file, not a partition.

    Most popular Linux LiveCDs feature partition management software that you can use during the installation process. If you plan on hibernating your laptop, your swap partition must be at least as large as your RAM (ie, 2048MB of RAM = 2048MB of swap, if not slightly more, such as ~2100MB).
     
  3. Adam24367

    Adam24367 Notebook Consultant

    Reputations:
    7
    Messages:
    140
    Likes Received:
    0
    Trophy Points:
    30
    Okay.
    Thanks bog!
    :)
     
  4. Bungalo Bill

    Bungalo Bill Notebook Deity

    Reputations:
    97
    Messages:
    806
    Likes Received:
    0
    Trophy Points:
    0
    Hibernation has a tendancy to not work in linux anyways. My swap feels like wasted space.
     
  5. Adam24367

    Adam24367 Notebook Consultant

    Reputations:
    7
    Messages:
    140
    Likes Received:
    0
    Trophy Points:
    30
    So, The Installer will set the swap space automattically?
     
  6. ALLurGroceries

    ALLurGroceries  Vegan Vermin Super Moderator

    Reputations:
    15,730
    Messages:
    7,146
    Likes Received:
    2,343
    Trophy Points:
    331
    Hey there just want to clarify that on 32 bit linux the max swap size is 2048MB so if you go beyond that it will not be used. 64 bit is a different story I think the limit is something ridiculous.

    Edit: Also the installer may set it up for you... it depends on if you choose to partition manually or have the installer do it automatically... in general you will want to set it up manually unless there is nothing else on the disk (another OS/windows for instance).