Results 1 to 8 of 8

Thread: Use swap less and speed up Ubuntu?

  1. #1
    Join Date
    Jan 2011
    Location
    Linux heaven
    Beans
    Hidden!
    Distro
    Ubuntu

    Use swap less and speed up Ubuntu?

    I have Ubuntu 12.04.

    Can I do this to speed things up?

    Use swap less frequently. It will enable faster switching between applications:

    sudo sysctl vm.swappiness=10

    And edit /etc/sysctl.conf and add the line at the end of the file to set it automatically at boot time:

    vm.swappiness=10
    Don't touch the Linux hat!
    Linux user #572109


  2. #2
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,044
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Use swap less and speed up Ubuntu?

    Open a terminal, post the output of:

    Code:
    free
    What processor are you running?
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  3. #3
    Join Date
    Jan 2011
    Location
    Linux heaven
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Use swap less and speed up Ubuntu?

    Quote Originally Posted by tgalati4 View Post
    Open a terminal, post the output of:

    Code:
    free
    What processor are you running?
    Processor? How do I find that out?
    Don't touch the Linux hat!
    Linux user #572109


  4. #4
    Join Date
    Jan 2011
    Location
    Linux heaven
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Use swap less and speed up Ubuntu?

    I found it. Processor info:

    Dual Core AMD Athlon QL-62.
    Don't touch the Linux hat!
    Linux user #572109


  5. #5
    Join Date
    Jan 2011
    Location
    Linux heaven
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Use swap less and speed up Ubuntu?

    Output of free:

    Last edited by pretty_whistle; January 22nd, 2013 at 11:29 PM.
    Don't touch the Linux hat!
    Linux user #572109


  6. #6
    Join Date
    Apr 2005
    Location
    Finland/UK
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Use swap less and speed up Ubuntu?

    Quote Originally Posted by pretty_whistle View Post
    Output of free:
    You have plenty of free memory, and are not using swap at all. Adjusting swappiness value wouldn't have any effect on your computer's performance.

  7. #7
    Join Date
    Jan 2011
    Location
    Linux heaven
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Use swap less and speed up Ubuntu?

    Quote Originally Posted by mcduck View Post
    You have plenty of free memory, and are not using swap at all. Adjusting swappiness value wouldn't have any effect on your computer's performance.
    Thanks.

    That's what I thought.
    Don't touch the Linux hat!
    Linux user #572109


  8. #8
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,044
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Use swap less and speed up Ubuntu?

    If the desktop manager response is too slow, then change desktop managers. Try Linux Mint Mate 64-bit with a Live DVD and see if the response is any better.

    I agree with the others, if you are not using swap, then changing swapiness is not going to have any effect.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

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
  •