Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: swap

  1. #1
    Join Date
    Oct 2007
    Beans
    Hidden!

    swap

    if your laptop had an SSD only and was running Xubuntu 13 ......would you still do the swap adjustment where you change it from 60 to 10???
    or is this just for regular HD laptops...??

  2. #2
    Join Date
    Dec 2007
    Beans
    12,521

    Re: swap

    How much RAM?

  3. #3
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,616
    Distro
    Ubuntu

    Re: swap

    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  4. #4
    Join Date
    Oct 2007
    Beans
    Hidden!

    Re: swap

    how do I see how much ram???

  5. #5
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,790
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: swap

    Hi ub9876.

    To see how much RAM your system has available (and how much is being used):
    Code:
    free -m
    Regards.

  6. #6
    Join Date
    Oct 2007
    Beans
    Hidden!

    Re: swap

    what does this say????

    total used free shared buffers cached
    Mem: 993 669 324 0 27 424
    -/+ buffers/cache: 216 776
    Swap: 1012 0 1012

  7. #7
    Join Date
    May 2013
    Beans
    11

    Re: swap

    Your computer only has 1GB of RAM (993 MB total ~ 1GB).

    I would leave swappiness as it is because it does not matter whether you have an SSD or a conventional HDD; it is purely dependent on the amount of available RAM in your system.

    Since you only have 1GB, your computer will most likely require heavy use of swap space regardless of the settings.

  8. #8
    Join Date
    Aug 2011
    Location
    52.5° N 6.4° E
    Beans
    6,824
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: swap

    It means you have 993MiB of RAM, 669MiB of which is in use, but most of that is cache, which can be dropped from RAM whenever it's needed for something else. You have 1GiB of swap, but don't use it right now. In fact, with Xubuntu you won't use swap very often with 1GiB of RAM. I only use more than 1GiB when rendering pdfs at high resolution. Right now, my Xubuntu uses 290 MiB of 3000MiB available, excluding cache.

  9. #9
    Join Date
    Dec 2007
    Beans
    12,521

    Re: swap

    Quote Originally Posted by moltenicee View Post
    Your computer only has 1GB of RAM (993 MB total ~ 1GB).

    I would leave swappiness as it is because it does not matter whether you have an SSD or a conventional HDD; it is purely dependent on the amount of available RAM in your system.

    Since you only have 1GB, your computer will most likely require heavy use of swap space regardless of the settings.
    OP hasn't described the intended usage.

  10. #10
    Join Date
    May 2013
    Beans
    11

    Re: swap

    Quote Originally Posted by vasa1 View Post
    OP hasn't described the intended usage.
    OP is asking if he should change swappiness from 60 to 10 because he has an SSD.
    10 swappiness, which I am using currently, means that ubuntu will try to wait as long as possible until it swaps which is good for computers >4GB RAM.

    However, he only has 1GB, and whether he changes swappiness or not will not drastically affect the frequency of swapping and therefore will not have a profound impact on the life of his SSD.

    If anything, setting such a low swappiness on a low memory system would result in more lag because at around only 300MB free, ubuntu would wait as long as possible before swapping and this might cause some larger programs to be less responsive as the system only swaps when the RAM is on the verge of being completely filled instead of leaving some leeway.

Page 1 of 2 12 LastLast

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
  •