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!
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!
Here's an optimization to make gnome feel faster :
Faster gnome menus
http://www.ubuntuforums.org/showthread.php?t=215119
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 :
to /etc/sysctl.conf by using your favorite editor :Code:vm.swappiness=0
$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.
I added a blog entry about performance tweaks right here :
http://ubuntudemon.wordpress.com/200...rmance-tweaks/
.folder
Dell Inspiron 600m
Ubuntu Feisty 7.04
digg my blog entry :
http://digg.com/linux_unix/Ubuntu_De...ormance_tweaks
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)...
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
11.04
PTAC Air Conditioners
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?
Bookmarks