PDA

View Full Version : How to make Ubuntu faster



t12t43
February 6th, 2009, 12:07 PM
What do you do to make your ubuntu faster?
Let's discussion.

steeleyuk
February 6th, 2009, 12:09 PM
Install Preload.
Disable unneeded services.
Remove Tracker (doesn't make too much difference on Intrepid because I think it doesn't scan by default).

I'm sure I've said this in a similar thread not so long ago...

Johnsie
February 6th, 2009, 12:36 PM
I'm not sure about now but swapiness used to be an issue. Lowering swapiness used to help me speed ubuntu up on slower machines.

imlinux
February 6th, 2009, 02:19 PM
use xfce or lxde environment

MindFlayer
February 6th, 2009, 02:27 PM
Compiled a 64-bit custom kernel for my Intel Core 2 Duo and optimized some stuff such as kernel Hz, scheduling and preemption modes etc.. Everything's blazing fast now. :p

adamlau
February 6th, 2009, 02:51 PM
1. Choose the best hardware I can afford at the moment.
2. Always start with a minimal install off the minimal CD.
3. Install a featherweight window manager such as JWM :) .
4. Compile as many kernel and userland apps as possible.
5. Focus on lightweight apps with as few dependencies as possible.
6. Rely heavily on bash aliases, functions and scripts.

mkfs.xfs -f -l size=64m,lazy-count=1 [format to and tune xfs]

tmpfs /tmp tmpfs noatime 0 0 [/tmp on tmpfs and noatime for all mounts]

xfs_db -r /dev/sda(x)
frag
xfs_fsr -v /dev/sda(x) [defrag fragmented xfs partitions]

/etc/default/console-setup [disable ttys]

/etc/sysctl.conf > vm.swappiness=0 [limit swapping]

sysv-rc-conf [disable unnecessary services and daemons]

.gtkrc-2.0 > gtk-menu-popup-delay = 0 [for GNOME]

/etc/dhcp3/dhclient.conf > prepend domain-name-servers 208.67.222.222,208.67.220.220; [use opendns]

/etc/modprobe.d/aliases > alias net-pf-10 off [disable ipv6]

That should about cover most of what a typical speed demon does to go faster ;) .

MikeTheC
February 6th, 2009, 04:29 PM
Run it on faster hardware?

Get the source code and hand-optimize it then re-compile it?

Profit?

chucky chuckaluck
February 6th, 2009, 04:43 PM
the most noticeable speed difference i ever got using ubuntu was using a wm instead of a DE. also, using lighter apps (terminal apps instead of gui apps, etc).

mikjp
February 6th, 2009, 04:51 PM
Install Debian instead of Ubuntu :-)

Mikko

angelosapo
February 7th, 2009, 11:01 PM
1 Go for a minimal install

2 Xfce/Jwm as a WM

3 Install prelink through synaptic or

sudo apt-get install prelink



sudo nano /etc/default/prelink
(or your favourite terminal based editor)

change
PRELINKING=yes


sudo /etc/cron.daily/prelink (WAIT until it completes!!!)


sudo /etc/cron.daily/prelink Has to be executed after each system update

PhoHammer
September 22nd, 2009, 09:32 PM
I wrote an article here (http://bit.ly/4tthBI) that might help with this. It's the same one as in my sig.

tcoffeep
September 22nd, 2009, 11:31 PM
I install Gentoo.

sdlynx
September 23rd, 2009, 12:12 AM
I'm not sure about now but swapiness used to be an issue. Lowering swapiness used to help me speed ubuntu up on slower machines.

Unless you have low RAM.

dragos240
September 23rd, 2009, 12:23 AM
Let's discussion.

Agreed. We need to discussion this!