Broadcom 43xx (4318) Wireless on 64 Bit Ubuntu Oolite Addons with Ubuntu
Feb 24
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

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…



Refurbished DELL XPS M1330 13.3" Laptop/Notebook PC
US $655.00 (30 Bids)
End Date: Thursday Dec-04-2008 11:33:41 PST
Bid now | Add to watch list
HP tx2000z 2.4Ghz CPU 3GB 250GB HDD Laptop Notebook
US $705.00 (37 Bids)
End Date: Thursday Dec-04-2008 12:00:00 PST
Bid now | Add to watch list
Dell LATITUDE D820 Dual Core Duo Laptop Notebook Win XP
US $425.00 (16 Bids)
End Date: Thursday Dec-04-2008 12:10:00 PST
Bid now | Add to watch list
Dell LATITUDE D820 Dual Core Duo Laptop Notebook Win XP
US $457.00 (41 Bids)
End Date: Thursday Dec-04-2008 12:20:00 PST
Bid now | Add to watch list
Dell LATITUDE D820 Dual Core Duo Laptop Notebook Win XP
US $466.00 (31 Bids)
End Date: Thursday Dec-04-2008 12:30:00 PST
Bid now | Add to watch list
New Compaq Presario CQ50-139WM Notebook 15.4" Laptop
US $405.00 (28 Bids)
End Date: Thursday Dec-04-2008 12:30:26 PST
Bid now | Add to watch list
Dell LATITUDE D820 Dual Core Duo Laptop Notebook Win XP
US $660.00 (38 Bids)
End Date: Thursday Dec-04-2008 12:50:00 PST
Bid now | Add to watch list
HP 17" Pavilion dv9819wm Laptop PC Computer notebook
US $590.00 (28 Bids)
End Date: Thursday Dec-04-2008 12:58:07 PST
Bid now | Add to watch list


  • Digg
  • del.icio.us
  • Facebook
  • Google
  • Reddit
  • StumbleUpon
  • Technorati
  • Slashdot
  • TwitThis
  • Yahoo! Buzz

Related posts:

  1. Concurrent init.d scripts and HAL initialise error on boot up
  2. Ubuntu Usplash
  3. Firestarter firewall GUI 1.0.3-5 bug in initscript on system boot up
  4. Ubuntu Sound on Acer Aspire 5052
  5. IEs4Linux - Internet Explorer 5.0, 5.5, 6 & 7 on Ubuntu Linux

Related posts brought to you by Yet Another Related Posts Plugin.

written by Hodge \\ tags: , , , , ,

One Response to “Ubuntu Readahead boot profiling, and Bootchart”

  1. Concurrent init.d scripts and HAL initialise error on boot up | 64 Bit Jungle Says:

    [...] with boot profiling, this does speed up my boot time by a small, but noticeable amount. These icons link to social [...]

Leave a Reply

Webloogle Blog Directory