LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-19-2014, 05:39 AM   #1
CuriousLittlePenguin
LQ Newbie
 
Registered: Nov 2012
Distribution: Ubuntu
Posts: 9

Rep: Reputation: Disabled
Help with reducing boot time


Hello everybody!

I treated myself to a "new" (used) laptop which came with a factory install of Windows 7. I do all my work on Ubuntu so I installed it alongside Windows. I installed the 14.04 LTS, 64bit version and installed all suggested updates. Before proceeding with installation of anything else I want to minimize the current boot time of a fresh install. I would like to kindly ask for your help in achieving that.

As I measured it there are four main "delays" during start up:
  1. Approximately 6 s from the time the power on button is pressed and the ThinkPad's splash screen appears (I have a Lenovo T410 laptop hence the ThinkPad splash screen).
  2. Approximately 5 s during which the ThinkPad splash screen is visible. After it dissapears, GRUB is started.
  3. Approximately 18 s from the time GRUB is started to the time Ubuntu splash screen appears. Mind you I have reduced GRUB's wait time to 1 s in its configuration files.
  4. App 12 s from the time Ubuntu's splash screen appears to the time at which desktop appears and I can start opening programs.

I am attaching a dmesg output right after boot, a bootchart and a list of startup applications. I also gathered some information about my disk organization and all partitions here:
https://dl.dropboxusercontent.com/u/...ganization.zip

I am hoping to reduce at least the times described in points 3 and 4 above although any ideas about how to improve points 1 and 2 will also be warmly welcomed.

For shortening time under 1) I already fiddled around BIOS a bit, removing all unneeded boot devices and enabling fast boot. As for point two I looked for a way to shorten the time during which the ThinkPad splash is shown thinking that it can be done. During that time the system gives the user time to press a button on the laptop to enter BIOS or choose a boot device so I figured this wait time can be adjusted, similarly as that can be done for GRUB. But so far I was not able to find a way to do that or even information if it is even possible.

For shortening time under points 3) and 4) I started going over bootchart's image and googling the processes but soon realized it will take me a very long time to go over them all and decided to ask the community for help. What I did do was disable a few startup applications (Backup Monitor, Chat and Desktop Sharing). But I left the rest in the startup list since they all seemed important after reading about them.

System info:
Lenovo T410
Intel Core i5 M540 @ 2.53GHz x 4
8GB DDR3 RAM

Thank you in advance for all your help. It is much appreciated.

Have a nice one!
Attached Thumbnails
Click image for larger version

Name:	bootTime-bootchart_01.jpg
Views:	21
Size:	229.1 KB
ID:	16157   Click image for larger version

Name:	bootTime_startup-apps.png
Views:	18
Size:	120.6 KB
ID:	16159  
Attached Files
File Type: txt bootTime_dmesg-output_01.txt (66.8 KB, 19 views)
 
Old 08-19-2014, 12:57 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Not that difficult and it does save some power, instead of shutting down why don't you let the laptop sleep or hibernate?
 
Old 08-19-2014, 01:03 PM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
the time it took you to write and compile all that info, you could already have tried to uncheck most of your startup applications, and reboot.

do you really need orca, zeitgeist, onboard, mount helper, pulse audio? only you can answer that.

for a full-fledged ubuntu bloat setup on a not-so-new machine, the boot times sound just fine.

in other (my) words: if you really want fast, use something else than ubuntu.
if you really want to be in control of your system, use something else than ubuntu.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reducing System Power draw, one DVD drive at a time linuxbird Linux - Hardware 1 07-29-2014 11:59 AM
reducing the bootup time hoshangi Red Hat 1 02-09-2008 06:54 AM
Reducing Boot Time sharkee Ubuntu 2 01-13-2006 09:34 PM
redhat 9 partion reducing on dual boot xp akurtis Red Hat 1 08-02-2004 02:29 PM
Reducing Startup Time w/Mandrake 9.1 eric_hcr80 Linux - Newbie 5 07-13-2003 03:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration