Re: swap space size

From: Paul Johnson (baloo_at_ursine.dyndns.org)
Date: 10/22/04

  • Next message: by way of Ritesh Raj Sarraf: "How does linux boot"
    To: debian-user@lists.debian.org
    Date: Fri, 22 Oct 2004 00:03:42 -0700
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    "Gilbert, Joseph" <jgilbert@insuresuite.com> writes:

    > There is an issue that I do not fully understand that I have always kind of
    > taken for rote. I was told back when I first started working with Unix that
    > the swap space needed to be at least twice the size of physical memory in
    > order to ensure a stable system.

    Well, that used to be the rule of thumb for a Linux-specific problem
    with swap space. Today, you can run without swap without a problem.
    I keep a gig of swap on hand to avoid out of memory problems at all
    costs and have never hit that.

    A sane default today would be to set your swap size to at least the
    size of your current physical memory. I suggest using a swap space
    equivilent to the maximum amount of memory your board can support,
    though this is generally considered massive overkill given how cheap
    RAM is these days.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.5 (GNU/Linux)

    iD8DBQFBeLDRUzgNqloQMwcRAvsTAJkBHvZzoQLX40Q9V90fJ2XgD9uagACeLQzi
    lm5g8dYHlNTwwUVMjlMEr3k=
    =k2L0
    -----END PGP SIGNATURE-----

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: by way of Ritesh Raj Sarraf: "How does linux boot"

    Relevant Pages

    • Fedora Core 5... How Much Swap Space?
      ... I have a new dual processor AMD 64 Opteron machine with 8 GB of ram (I ... I am installing the Fedora Core 5 and ... The swap space has always been a ... my physical memory. ...
      (comp.os.linux.misc)
    • Re: Intel takes back lead in U.S. retail
      ... than you have physical memory, so going beyond about 1.5GB physical ... the less swap space I set aside in proportion to the actual physical ... RAM I have. ... If you're running Windows, then ...
      (comp.sys.ibm.pc.hardware.chips)
    • Re: Swap space question
      ... that in the worst case scenario, i will be throwing disk space [because the ... system will never use the swap partition if it doesn't need it......why this ... It is how much swap space you use, not how much you have, that is ... The solution is to have more physical memory. ...
      (Fedora)
    • Re: Default FC2 Swap Space
      ... >> swap space as I had physical memory, ... If not don't install their ... Trinity University ...
      (Fedora)
    • RE: why swap at all?
      ... but it's not a magical property of swap space ... you will fill physical memory with pages eventually or your not doing ... All other file system operations are bound ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)