Page 18 of 18 FirstFirst ... 8161718
Results 171 to 180 of 180

Thread: TIP: Improve bootup speed by reprofiling bootup

  1. #171
    Join Date
    Apr 2007
    Location
    Upstate NY
    Beans
    7
    Distro
    Ubuntu Karmic Koala (testing)

    Re: TIP: Improve bootup speed by reprofiling bootup

    Quote Originally Posted by jdong View Post
    Purge readahead then reinstall the package to restore the default list.
    Back to 67s. Thank you.

  2. #172
    Join Date
    Apr 2009
    Beans
    20

    Re: TIP: Improve bootup speed by reprofiling bootup

    Interesting thread. I tried to optimize with profiling the booting process of my rig (Intel G45 mainboard, E8500 Core 2 Duo downclocked @ 2.53 Ghz, Western Digital Raptor 74GB 10k rpm) on Ubuntu 9.10 Karmic Koala (development-testing) and to track the changes with Bootchart:

    Without profiling: 12 seconds
    With profiling: 12 seconds
    With profiling and --background read-ahead: 12 seconds

    It looks like I hit a wall, though with optimizations, according to Bootchart, I/O transfer speed seems to have increased and Hard Disk usage maxed out. Probably the boot time decreased by less than one second.

    This is a video of a cold-start complete bootup of my pc before profiling: http://www.youtube.com/watch?v=3wj6n66d9b4

  3. #173
    Join Date
    Aug 2006
    Location
    Estonia
    Beans
    9
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: TIP: Improve bootup speed by reprofiling bootup

    Mystifying...

    After profiling boot time went from 25s to 30s(according to bootchart.

    The bonus hack seems to be enabled by default as there is no "--background" anywhere in the file.

    Since i have only 256MB RAM I considered disabling readahead altogether. The "boot" file was already empty however the "desktop" file was loaded with useless stuff like:
    Code:
    /usr/lib/bluetooth/plugins/audio.so
    /usr/lib/bluetooth/plugins/hal.so
    /usr/lib/bluetooth/plugins/input.so
    /usr/lib/bluetooth/plugins/netlink.so
    /usr/lib/bluetooth/plugins/network.so
    /usr/lib/bluetooth/plugins/serial.so
    /usr/lib/bluetooth/plugins/service.so
    I'm running Jaunty 9.04 which was upgraded from 8.10 using aptitude safe-upgrade. Googling yields bug reports on Intrepid having an overenthusiastic readahead file and preloading stuff like screensavers.

    With readahead disabled boot time increased to 31s...

    Is there any way i can get it back to 25s?

    EDIT: I purged readahead and reinstalled, got it down to 26s.
    Last edited by Fyrzen_; May 2nd, 2009 at 11:14 AM. Reason: Correcting my own stupidity.

  4. #174
    Join Date
    Jul 2005
    Beans
    123
    Distro
    Ubuntu Development Release

    Re: TIP: Improve bootup speed by reprofiling bootup

    I have a OCZ vertex and an i7 920. Jaunty boots in 15sec according to bootchart with no profiling (I am using preload, haven't checked if that changing boot speed).

    After profiling this went up to 27sec (purging readahead fixed it), so it seems fairly pointless for those of us with SSDs.

  5. #175
    Join Date
    Jul 2009
    Beans
    13

    Re: TIP: Improve bootup speed by reprofiling bootup

    Id like to save boot up time but ive got a problem...
    when my grub loads i press ESC as you said and nothing seems to happen, after some time itll just boot up normally, ignoring what i pressed.
    any help?

  6. #176
    Join Date
    Sep 2006
    Location
    Southern Indiana, USA
    Beans
    1,667
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: TIP: Improve bootup speed by reprofiling bootup

    Confirm please - this is now invalid (no longer applicable) for Lucid and Maverick?
    Ubuntu 16.04-Dell P390,Pentium D 3.4G,4G R,NVIDIA GT360
    Ubuntu 16.04-Dell DE520,Pentium D 2.80G, 3G R,NVIDIA GeForce9500GT
    Ubuntu 18.04-Dell PM90,Intel T2600 2.1G,4G R,NVIDIA Quadro FX 500M
    Ubuntu 18.04-HP 15-F233wm,Celeron N3050 1.6G,4G R,Intel HD

  7. #177
    Join Date
    Feb 2009
    Location
    Barcelona
    Beans
    32

    Re: TIP: Improve bootup speed by reprofiling bootup

    If you are using Lucid Lynx and you don't have another operating system on your computer, to show up your grub, you should edit the follow archive:

    sudo gedit /etc/default/grub

    It shows your grub configuration, find the following line and comment it with this simbol '#':

    GRUB_HIDDEN_TIMEOUT=0

    Like this:

    #GRUB_HIDDEN_TIMEOUT=0

    Save this new configuration, and run the following command in your terminal:

    sudo update-grub

    ##To come back to the default configuration, uncoment the line and run again:

    sudo update-grub

    I hope it helps, but with the default grub in Lucid Lynx 10.04 the line begining by 'kernel' doesn't exist. Then were to put 'profile'?

  8. #178
    Join Date
    Feb 2005
    Beans
    425

    Re: TIP: Improve bootup speed by reprofiling bootup

    Quote Originally Posted by Alfons81 View Post
    I hope it helps, but with the default grub in Lucid Lynx 10.04 the line begining by 'kernel' doesn't exist. Then were to put 'profile'?
    /etc/default/grub has this line:
    Code:
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    where you can add kernel options and run update-grub.

    However, to reprofile ureadahead, just delete /var/lib/ureadahead/pack
    Please use launchpad to search for/report bugs and problems: https://help.ubuntu.com/community/ReportingBugs

  9. #179
    Join Date
    Apr 2006
    Location
    Scotland
    Beans
    36
    Distro
    Ubuntu

    Re: TIP: Improve bootup speed by reprofiling bootup

    spiffing, if it works..

    But we shoudl only be rebooting with kernal updates come on folks, uptimes important, not boot-time*

    *sarcasm
    Windows: Where do you want to go today?
    MacOS: Where do you want to be tomorrow?
    Linux: Are you coming or what?!!

  10. #180
    Join Date
    May 2007
    Location
    albuquerque
    Beans
    581
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: TIP: Improve bootup speed by reprofiling bootup

    Quite a long-running thread!

    Looks like the technique mentioned in the following article accomplishes pretty much the same thing:

    http://www.techtipsgeek.com/speed-up...cid-lynx/9496/

    Ubuntu boot times have gotten a lot better since this thread started -- so much so that I don't think I'll bother using "profiling." But, fascinating stuff!

Page 18 of 18 FirstFirst ... 8161718

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •