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

Thread: Superspeeding Ubuntu RAM performance

  1. #1
    Join Date
    Aug 2005
    Beans
    53

    Superspeeding Ubuntu RAM performance

    I have been watching for quite some time that the speed of the Linux system is generally slow as compared to Widows because it uses swap more rapidly than RAM.
    So I discovered a great article as to how to increase the performance of Ubuntu 5.04 Horay and other linux systems.
    I am extremely happy with the performance tuning and You will see great improvement.
    Follow this link

    PART-I
    http://www.linuxjournal.com/article/8308

    PART-II
    http://www.linuxjournal.com/article/8317

    PART-III
    http://www.linuxjournal.com/article/8322

    Then let me know what you think ?
    Any suggestions and improvements over this method?
    Last edited by xthaparian; October 4th, 2005 at 04:12 PM. Reason: Added new Link (Tweaking Part II)

  2. #2
    Join Date
    Jun 2005
    Location
    France
    Beans
    7,100
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Superspeeding Ubuntu RAM performance

    It seems interesting, but is it still interresting if your system never use swap memory (in case of enought RAM memory) ?
    Sorry to answer with a question but it's the first thing that i thought.

    However it's a really interesting article.

  3. #3
    Join Date
    Aug 2005
    Beans
    53

    Re: Superspeeding Ubuntu RAM performance

    Quote Originally Posted by frodon
    It seems interesting, but is it still interresting if your system never use swap memory (in case of enought RAM memory) ?
    Sorry to answer with a question but it's the first thing that i thought.

    However it's a really interesting article.

    Well thats the Case.

    Linux by defauly relies more on SWAP than memory. If you read the website PART-I you will see the RAM usage was consistant but swap changed, if you fireup an application. So no matter if you have high RAM it will still rely more on SWAP.

    So thats the point of changing reliance on RAM instead of SWAP with this tutorial

  4. #4
    Join Date
    Oct 2004
    Location
    Kingston, On
    Beans
    Hidden!

    Re: Superspeeding Ubuntu RAM performance

    Even with only 128 megs of ram, my system rarely swaps.

    It runs faster than windows, too. (Out-of-the-box)

    If I add another 128 megs, it pretty much never swaps.
    Last edited by az; October 4th, 2005 at 04:42 PM.
    I lost a "z". Anyone seen it around here?

  5. #5
    Join Date
    Aug 2005
    Beans
    53

    Re: Superspeeding Ubuntu RAM performance

    Did you do this on your PC??

    $ sudo cat /proc/sys/vm/swappiness

    Check the value. If the value is small then you are fine, but if its 60 or something else, the you are definatly using more SWAP.

    I installed supekaramba and saw sudden spike in CPU usage and it would always be at 5-10% range because it was accessing HDD all the time.

    It went down with the usage of this command.

    Read all the Article and let me know if otherones are good too..

    Thats the whole point of this article is to get your feedback and other stuff.

    Thanks

  6. #6
    Join Date
    Jun 2005
    Location
    France
    Beans
    7,100
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Superspeeding Ubuntu RAM performance

    Quote Originally Posted by xthaparian
    Well thats the Case.
    Linux by defauly relies more on SWAP than memory. If you read the website PART-I you will see the RAM usage was consistant but swap changed, if you fireup an application. So no matter if you have high RAM it will still rely more on SWAP.
    So thats the point of changing reliance on RAM instead of SWAP with this tutorial
    Ok, i ask that because like azz my computer really rarely use swap memory (maximum 10%).

  7. #7
    Join Date
    Jul 2005
    Location
    Canada
    Beans
    363

    Re: Superspeeding Ubuntu RAM performance

    i have 512 ram and whenever i look at the swap it always has 100% free. (1.5Gig swap)
    I did your command and it gave me 60..? i dont know what that is but im still using no swap?
    AMD AXDL2600 2.4ghz
    ASUS A7N8X-E Deluxe
    512MB pc3200 RAM

  8. #8
    Join Date
    Aug 2005
    Beans
    36

    Re: Superspeeding Ubuntu RAM performance

    hi

    my computer also has 512 megs og ram, and rarely uses swap, only after being idle all night. Then some of the data gets written to swap, and then its only about some megs...otherwize it's allways around 0-1.0%

    also the swappiness cat thing puts out the value 60 and swapon -s outputs:
    Filename Type Size Used Priority
    /dev/hda1 partition 979924 2776 -1
    this corrosponds to about 0.3%
    so the value of the swappiness file has nothing (apparently) to do with the swap usage
    Last edited by tktreload; October 4th, 2005 at 08:55 PM.

  9. #9
    Join Date
    Mar 2005
    Beans
    16

    Talking Re: Superspeeding Ubuntu RAM performance

    I ran into thswappiness setting a while ago, while working on a different issue. The symptoms were that it would take forever to get back to a useable desktop after the system had been idle for a long period of time (say, over night).
    In the end I figured out what was happening... during the idle time, my system was being backed up. The kernel was swapping all of the idle apps out to disk, to make room for buffer space to facilitate disk copies for the backups. When I came back to the PC, it would need to swap all of the apps back in to draw the screen.
    By changing the swappiness to a lower value, I was able to achieve a good mix of desktop response and backup performance.

  10. #10
    Join Date
    Jun 2005
    Beans
    42

    Re: Superspeeding Ubuntu RAM performance

    http://kerneltrap.org/node/3000

    I'm of the opinion that it's not worth adjusting. The above link is good material on which to form an opinion.

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
  •