->
I’ve been messing around, tweaking and poking my system in an attempt to optimise, and speed things up a little. Installing 2Gb RAM has helped, but I’ve also been playing trying to speed up my laptop’s boot time. I stumbled across a cool little application, called bootchart:
“boot sequence auditing and chart generator
bootchart allows you to audit the boot sequence of your computer and
generate a pretty chart of the processes run, including how long they
took and how much CPU and I/O they used.The auditing is performed by adding a script to the top of your initramfs
which lives inside is own tiny filesystem during the boot process and
monitors the rest of the system booting”
(description from the Synaptic Package Manager)
So, I installed bootchart
sudo apt-get install bootchart
and rebooted to benchmark the boot time - 44 seconds (bootchart creates a cool png image in /var/log/bootchart each time the computer boots up). Not bad, but surely it could be a little better, right?
Aside from the obvious optimisation tricks of turning off unnecessary services, I’d also heard about readahead, which can be used to cache files to be loaded at boot time. To enable it, all I had to do was create a boot profile, which can be done via Grub at boot time. So, I rebooted again, and when the Grub boot list appeared, created the profile:
First, I highlighted the default boot option - actually it was already highlighted, since it’s what I usually boot into! - and pressed the “e” key. Then I scrolled down to the “kernel” line, and pressed “e” once again, which allows a temporary edit of the Grub boot command line. Moving the cursor to the end of the line, I added ” profile” (notice the space character before the word profile), pressed “Enter”, and booted. It took longer than usual, obviously, since readahead was creating the profile to, well, read ahead on the next, and all subsequent boots.
After my system had fully booted into Gnome, I rebooted, waited, then checked the bootchart log again. 42 seconds…
Oh well - a couple of seconds improvement is better than nothing! Back to the drawing board…
| US $655.00 (30 Bids) End Date: Thursday Dec-04-2008 11:33:41 PST Bid now | Add to watch list |
| US $705.00 (37 Bids) End Date: Thursday Dec-04-2008 12:00:00 PST Bid now | Add to watch list |
| US $425.00 (16 Bids) End Date: Thursday Dec-04-2008 12:10:00 PST Bid now | Add to watch list |
| US $457.00 (41 Bids) End Date: Thursday Dec-04-2008 12:20:00 PST Bid now | Add to watch list |
| US $466.00 (31 Bids) End Date: Thursday Dec-04-2008 12:30:00 PST Bid now | Add to watch list |
| US $405.00 (28 Bids) End Date: Thursday Dec-04-2008 12:30:26 PST Bid now | Add to watch list |
| US $660.00 (38 Bids) End Date: Thursday Dec-04-2008 12:50:00 PST Bid now | Add to watch list |
| US $590.00 (28 Bids) End Date: Thursday Dec-04-2008 12:58:07 PST Bid now | Add to watch list |
Related posts:
- Concurrent init.d scripts and HAL initialise error on boot up
- Ubuntu Usplash
- Firestarter firewall GUI 1.0.3-5 bug in initscript on system boot up
- Ubuntu Sound on Acer Aspire 5052
- IEs4Linux - Internet Explorer 5.0, 5.5, 6 & 7 on Ubuntu Linux
Related posts brought to you by Yet Another Related Posts Plugin.






















April 30th, 2008 at 10:54 am
[...] with boot profiling, this does speed up my boot time by a small, but noticeable amount. These icons link to social [...]