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.

    Why is my system using swap even with 3GB of RAM unused ?

    Discussion in 'Linux Compatibility and Software' started by wearetheborg, Oct 29, 2009.

  1. wearetheborg

    wearetheborg Notebook Virtuoso

    Reputations:
    1,282
    Messages:
    3,122
    Likes Received:
    0
    Trophy Points:
    105
    Debian Lenny
    Total ram: 5GB
    Used ram: 1.4GB
    Swap: 315MB


    Why is it going to swap ?
    ?? :confused:
     
  2. Thomas

    Thomas McLovin

    Reputations:
    1,988
    Messages:
    5,253
    Likes Received:
    0
    Trophy Points:
    205
    http://www.linux.com/news/software/applications/8208-all-about-linux-swap-space

    Good read ^
     
  3. wearetheborg

    wearetheborg Notebook Virtuoso

    Reputations:
    1,282
    Messages:
    3,122
    Likes Received:
    0
    Trophy Points:
    105
    Thanks. My swappiness value is the default, 60. I guess thats why its swapping pages ? Even with 3.5GB of free ram.
     
  4. Thomas

    Thomas McLovin

    Reputations:
    1,988
    Messages:
    5,253
    Likes Received:
    0
    Trophy Points:
    205
    It's not always a bad thing to have some swap used, you know.
     
  5. wearetheborg

    wearetheborg Notebook Virtuoso

    Reputations:
    1,282
    Messages:
    3,122
    Likes Received:
    0
    Trophy Points:
    105
    What is the upshot of it with 3.5GB of free ram ?
     
  6. Thomas

    Thomas McLovin

    Reputations:
    1,988
    Messages:
    5,253
    Likes Received:
    0
    Trophy Points:
    205
    Well, if an application needs certain file to open, but doesn't use them much at all, it's more beneficial to have it on swap, so other programs can take advantage of more of your RAM.
     
  7. Th3_uN1Qu3

    Th3_uN1Qu3 Notebook Deity

    Reputations:
    214
    Messages:
    1,192
    Likes Received:
    0
    Trophy Points:
    55
    This would have been true with 256MB RAM maybe.
     
  8. Pitabred

    Pitabred Linux geek con rat flail!

    Reputations:
    3,300
    Messages:
    7,115
    Likes Received:
    3
    Trophy Points:
    206
    Only if you're running a 2.4x kernel. Programs keep getting larger, as well as data files. Why would you want to keep an entire video in memory when you're only transcoding part of it at a time? Things like that. Swap is still useful, even with massive amounts of memory, mostly because we're dealing with larger and larger data sets.