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,656
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: TIP: Improve bootup speed by reprofiling bootup

    Confirm please - this is now invalid (no longer applicable) for Lucid and Maverick?
    Ubuntu 14.04.x & Windows XP-SP3, Dell Precision 390, Pentium D 3.40G, 4G RAM, NVIDIA GT360, 2M VRAM | Ubuntu 12.04.x Dell Dimension E520, Pentium D 2.80G, 3G RAM, NVIDIA GeForce 9500GT, 1M VRAM
    Debian Jessie on EeePc 1005HAB

  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
    563
    Distro
    Ubuntu 14.04 Trusty Tahr

    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
  •