Page 5 of 10 FirstFirst ... 34567 ... LastLast
Results 41 to 50 of 96

Thread: Improve performance in Ubuntu

  1. #41
    Join Date
    Jul 2006
    Beans
    17

    Re: Improve performance in Ubuntu

    This definatly shed time off my bootup for my lappy which is a plus since i just completely migrated it to linux got tired of windows and all its...restrictions/shortcommings keep up the good work!

  2. #42
    Join Date
    Oct 2004
    Location
    Netherlands
    Beans
    2,983
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Improve performance in Ubuntu

    Here's an optimization to make gnome feel faster :

    Faster gnome menus
    http://www.ubuntuforums.org/showthread.php?t=215119

  3. #43
    Join Date
    Oct 2004
    Location
    Netherlands
    Beans
    2,983
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Improve performance in Ubuntu

    This is regarding vm.swappiness.

    In my personal experiences the default vm.swappiness=60 is okay for most users who don't like tweaking.

    If you need more speed you might want to reconsider using a lighter desktop environment such as fluxbox or icewm like I explain here :
    http://www.ubuntuforums.org/showpost...9&postcount=13
    which is part of this thread :
    http://www.ubuntuforums.org/showthread.php?t=213694

    But if you just like tweaking : here we go .

    If you have on average a lot of memory free (or used for cache) you probably want to prevent your system to start swapping. This is done by setting vm.swappiness to 0. In my personal experiences this is what you want for Xubuntu with 512 mb of memory or more and for Ubuntu (gnome) with more than 512 mb of memory.

    $sudo sysctl vm.swappiness=0
    sets your swappiness variable to 0
    To get turn your swap off (and get everything which is needed back into memory)
    $sudo swapoff -a
    To turn it back on (being empty and it should stay almost empty because of vm.swappiness=0)
    $sudo swapon -a

    If you like your new settings you can make it more permanent by adding this line :
    Code:
    vm.swappiness=0
    to /etc/sysctl.conf by using your favorite editor :
    $sudo gedit /etc/sysctl.conf

    After reboot vm.swappiness is 0

    Additional information :

    In my case I have 1 gb of memory and a large part isn't used (or only used for cache) I choose to prevent swapping as much as possible by vm.swappiness=0. For 512 mb of memory this is also the best setting if you use xubuntu and be careful (about not using too much memory).

    This was the best setting for laptop with only 64 mb of memory running icewm / fluxbox : vm.swappiness=100. Because with that amount of memory swapping is needed anyway so better to do it as soon as possible.

    In cases between 128 mb and 512 mb of memory you need to try and tweak and find out what works best for you. You can use "$free -m" to see whether swap is used.

    -If you (almost) succeed in not using swap at all then set vm.swappiness to 0

    -if your computer still needs to swap much set vm.swappiness to 100

    -if you have little memory and don't notice any difference go for vm.swappiness=60

    You can find more information about "free -m" and swappiness here : http://gentoo-wiki.com/FAQ_Linux_Memory_Management
    Last edited by ubuntu_demon; August 9th, 2006 at 11:24 AM.

  4. #44
    Join Date
    Oct 2004
    Location
    Netherlands
    Beans
    2,983
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Improve performance in Ubuntu

    I added a blog entry about performance tweaks right here :
    http://ubuntudemon.wordpress.com/200...rmance-tweaks/

  5. #45
    Join Date
    Jul 2005
    Beans
    39

    Re: Improve performance in Ubuntu

    .folder
    Dell Inspiron 600m
    Ubuntu Feisty 7.04

  6. #46
    Join Date
    Oct 2004
    Location
    Netherlands
    Beans
    2,983
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Improve performance in Ubuntu


  7. #47
    Join Date
    Feb 2005
    Beans
    5,138

    Re: Dash!

    Quote Originally Posted by Rui Pais View Post
    Hi,
    i tried this, but some scripts fails or output errors like:
    That's because some scripts are not Posix compliant (dash is). The scripts should be fixed, there is nothing wrong with dash, other than it is lighter and faster and therefore better suited as /bin/sh...

    Anyway dash is going to be the default /bin/sh in Edgy (not login shell though, I persoanlly like zsh for that)...

  8. #48
    Join Date
    Mar 2006
    Beans
    135
    Distro
    Ubuntu

    Re: Improve performance in Ubuntu

    newbie here with an AMD duron processor. if i do a "sudo apt-get install linux-k7 linux-headers-k7", is there any way this will mess up my current xfce system?

    how noticable is the speed improvement over the standard headers?

    thanks,

    takayuki
    Last edited by takayuki; August 12th, 2006 at 12:51 PM. Reason: typo

  9. #49
    Join Date
    Oct 2004
    Location
    Netherlands
    Beans
    2,983
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Improve performance in Ubuntu

    Quote Originally Posted by takayuki View Post
    newbie here with an AMD duron processor. if i do a "sudo apt-get install linux-k7 linux-headers-k7", is there any way this will mess up my current xfce system?

    how noticable is the speed improvement over the standard headers?

    thanks,

    takayuki
    There's a noticable difference between linux-386 and linux-686 (especially if your processor supports SMP).

    I don't know how big the difference wil be on your machine. This can't mess up your system. You should try it.

  10. #50
    Join Date
    Aug 2006
    Beans
    3

    Re: Improve performance in Ubuntu

    Hi, a question.. I just upgraded to the AMD-optimized kernel with "sudo aptitude install linux-k7" but after rebooting, the Software Updates panel wants to install:
    linux-image-2.6.15-26-386
    linux-image-386
    linux-restricted-modules-2.6.15-26-386
    linux-restricted-modules-386

    I'm guessing this shouldn't be as I have an AMD chip? Is this normal or is there any way to tell dapper to stop asking me to install these guys?

Page 5 of 10 FirstFirst ... 34567 ... 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
  •