psubuntu logo
It is currently Thu Sep 02, 2010 9:25 pm
Register


Post new topic Reply to topic  [ 6 posts ] 
Author Message
Offline
 Post subject: HowTo: Minor performance tweaks for Ubuntu Intrepid (8.10)
PostPosted: Sun Oct 26, 2008 6:35 pm 
 Profile

Joined: Thu Mar 27, 2008 8:14 am
Posts: 656
Location: Finland
First of all. This tutorial is about editing system files. DO remember that if you edit files wrong you'll very easily get yourself a nice non-bootable system that takes some knowledge of linux to restore back to functional. Be careful :)

Thought to share some tweaks and ways to improve performance on my Ubuntu Intrepid install. First of all I'll suggest to download sysv-rc-conf program to edit loaded components during bootup. This way of course you can reduce amount of memory used.
Code:
sudo apt-get install sysv-rc-conf


This program is to be run from terminal with command
Code:
sudo sysv-rc-conf

You'll see list of components loaded and in which runlevel during bootup. Use command man sysv-rc-conf to read it's manual to get more depth in using it. Quickly mentioned, use arrow keys to move cursor and use spacebar to enable/disable processes. Press q key to quit program and save settings.

NOTE that many processes are required for functional system so DO NOT think about just disabling everything. As always you can easily figure out what example cups means and how? Use google, _very_ easily find out. For example I've disabled following completely

cups, anacron, cron, klogd, laptopmode, powernowd (both), sysklogd and usplash

As said use google to find out which are essential to you. Hint, you won't be able to use some timed events, print and some log events are disabled with those. IT'S your job to figure out what to disable here. We all have different need of our installs so there are no absolutely right or wrong processes here. USE that google instead of asking. It's system settings you're about to fiddle with. Learn them if you're about to change them. If in doubt or too lazy to learn, best to leave them alone completely :D

Ok, I'll ease up now and suggest you leave readahead untouched on sysv-rc-conf if you want to increase your bootup time, we'll get to that soon. First I'd suggest edit /etc/fstab file with command
Code:
sudo gedit /etc/fstab
and edit relatime parameter to noatime.
Here's example (DO NOT COPY PASTE THIS LINE DIRECTLY TO YOUR FILE OR YOUR SYSTEM WON'T BOOT AT ALL) line from file.

Code:
UUID=5669a0b4-9105-46ed-ab0c-80a9efbf025b /               ext3    relatime,errors=remount-ro 0       1

Above is something you should see if used default install method. Note relatime parameter, change it way it's below
Code:
UUID=5669a0b4-9105-46ed-ab0c-80a9efbf025b /               ext3    noatime,errors=remount-ro 0       1


This should have little improving effect on read and write to hard drive. It disables inode access time updating. Google is once again a very good friend of you to figure out more in depth.

Now to already mentioned readahead. With following we'll profile bootup of system. Note that this is done one simply one startup and is meant to be used only after you have changed launched programs with sysv-rc-conf and/or changed your kernel completely.

Let's see our /etc/kboot.conf file. Here's example of my Intrepid launching line
Code:
Ubuntu Intrepid='/boot/vmlinux initrd=/boot/initrd.img root=UUID=5669a0b4-9105-46ed-ab0c-80a9efbf025b video=ps3fb=4'


This is how it's on my system when normal bootup is done. Now let's add profile to this line, so that it'll look like this
Code:
Ubuntu Intrepid='/boot/vmlinux initrd=/boot/initrd.img root=UUID=5669a0b4-9105-46ed-ab0c-80a9efbf025b video=ps3fb=4 profile'


Save and reboot your system. If you have discarded options quiet and splash (what I suggest to do) you'll now notice that bootup takes significantly longer than before. This is normal as system creates profile of booting processes and saves them. You should see profile word for sometime during boot. When system has booted change /etc/kboot.conf file back. Remove that profile word from file. Now your system should bootup quite much faster because of readahead. I could see definitely improvement in bootup speed.

As always make backups of system files you're about to edit and think twice before you try to change something. Use that google ;)

Here's only few methods to speedup things. I haven't disabled nearly all the things I want to from my sysv-rc-conf settings, because of I haven't checked out how changing of some of them affects system. Apport I won't disable for sometime as it's used for bugreporting because Intrepid isn't ready just yet and I plant to report bugs I notice etc.

One more hint. Check out program bootchart which should be found in repositories. If you do some research you'll notice it to be very handy tool to checkout which processes exactly take much time during boot. There's dozens of topics about how to use it. Now I don't have time to write about it and likely you'll easily find out very clear and helpful howto's how to use it from Ubuntu's forums.

_________________
New users, read and understand forum rules! Click me!
In a nutshell
- Use forum search always before posting new messages.
- Remember to add [solved] to subject line of your post if solution is found.
- Never make double posts


Top
 

Offline
 Post subject: Re: HowTo: Minor performance tweaks for Ubuntu Intrepid (8.10)
PostPosted: Sat Dec 13, 2008 9:32 am 
 Profile

Joined: Thu Aug 28, 2008 2:59 pm
Posts: 22
Thankyou, xbmc. This is very useful, and I notice a signifigant performance boost in gnome after disabling some boot time items and using the kboot profile option. If you have any other tricks up your sleeve, I'd be interested to hear them. :) Thanks again.

-Rak


Top
 

Offline
 Post subject: Re: HowTo: Minor performance tweaks for Ubuntu Intrepid (8.10)
PostPosted: Tue Nov 24, 2009 6:48 pm 
 Profile

Joined: Mon Jun 22, 2009 7:57 pm
Posts: 2
Here's some threads you should check out for more performance tweaks.
Firefox Performance Tweaks
General System Performance
The firefox performance thread might not be so useful, but the other thread might be.

Note: I didn't make this thread, nor did I have to do anything with it.


Top
 

Offline
 Post subject: dhgate jerseys
PostPosted: Fri Jul 09, 2010 11:46 am 
 WWW  ICQ  Profile

Joined: Fri Jul 09, 2010 6:27 am
Posts: 28
A luggage, if you have installed too heavy will be too full of very tired. One can not carry too much luggage of life. Dragged his exhausted body walking in the road of life, we are doomed to abandon a lot. Decisively abandoned in the face of life face a clear choice of life. Only learn to give up the burden of the abandoned, life will be traveling light, all the way singing; only learn to give up the worry out of trouble, life will feel gorgeous vibrant
Life is worth a lot of things we seek, if that entangled in those things without any result, the desperate pursuit of those who are the abandoned,

the pursuit of the hard but not enough pity to give up. Known everything about genome return for . If the attachment is a spirit. It is a courage and give up the state. Not or should not have to give up on the bold. Hurry limited life of life, not allow me to attack on all fronts, spread their time and effort.
In the good times in the end nothing was busyLife is like the sea. Extensive deep and mysterious and unpredictable. We do not personally like a child. Running around the beach searching for their beautiful shells, and some people as long as you like on all in his arms,
when he found himself unable to choose between all taken away when the hesitation. Some people just find you like one or several content to the left. Fine clothes and shoes wholesale prices Click here dhgate jerseys
The future is always less than the sea.hereBecause he already has his own shell. Some people pick the East West challenge also did not find your favorite shell, with a rogue empty-handed. Some people are not satisfied with the shells on the beach, the ocean's depths, not only pick up a beautiful shell was also found unexpected pearl ~~~~~ If you, how would you go to choose their own life?



_________________
clothing shoes wholesale prices Click here [url=http://www.dhgate.com/store/rgm]


Top
 

Offline
 Post subject: job vehicles
PostPosted: Tue Aug 03, 2010 5:53 am 
 Profile

Joined: Thu Jul 15, 2010 2:10 am
Posts: 191
job vehicles, air and naval Vehicle wow gold Designing Domiciliate", has been search buy wow gold for his new labor, it is
comprehendible that for Nazi cheap wow gold ordered the evolution of "noncombatant car," uttered diversion, because in the stressed run be paid. So, Jan 17, 1934, Boersheti out wow power leveling recommended 12 months to programme the German civilian cars, the "firefighter and clubby wow account experts committee" for accounting.


Top
 

Offline
 Post subject: assemblage, the
PostPosted: Wed Aug 04, 2010 4:23 am 
 WWW  ICQ  Profile

Joined: Tue Jul 20, 2010 2:57 am
Posts: 207
emotion century wow gold grouping calls, because the ethnical brio not collective on the fundament of hatred. all hearts buy wow gold period after assemblage, the flaming has been oxidization hatred of fill who can cheap wow gold not Commence from the day suddenly announced: 'Enough! from today, and I hate wow power leveling him, but ulterior I testament only screw.' can not, he present still emotion go, face closer to the grouping to hatred. you eff Hull Vig's such a poem: "'Christian-style' - this argument too wow accounts far. This self-styled .


Top
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group  
Design By Poker Bandits