Page 16 of 18 FirstFirst ... 61415161718 LastLast
Results 151 to 160 of 180

Thread: TIP: Improve bootup speed by reprofiling bootup

  1. #151
    Join Date
    Feb 2005
    Beans
    425

    Re: TIP: Improve bootup speed by reprofiling bootup

    Quote Originally Posted by macvr View Post
    how do i know/say when x starts? is it the appearance of the X ?
    X is starting when the usplash screen disappears and the screen blanks (and often flashes a bit). Sometimes it takes X a while (probing screens and outputs, setting up) before it displays the cursor. Once the cursor is there, it's the login manager (or session-manager if autologin) which is starting.
    Please use launchpad to search for/report bugs and problems: https://help.ubuntu.com/community/ReportingBugs

  2. #152
    Join Date
    Oct 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: TIP: Improve bootup speed by reprofiling bootup

    Quote Originally Posted by tormod View Post
    X is starting when the usplash screen disappears and the screen blanks (and often flashes a bit). Sometimes it takes X a while (probing screens and outputs, setting up) before it displays the cursor. Once the cursor is there, it's the login manager (or session-manager if autologin) which is starting.

    refererence (zero) is power on
    grub ends at 0:12
    the flashing blank screen appears at 0:51 secs [X]
    gdm greeter appears at 1:05
    usable system is 1:37

    any thing that could be reduced?
    Last edited by macvr; January 21st, 2009 at 01:07 PM.

  3. #153
    Join Date
    Feb 2005
    Beans
    425

    Re: TIP: Improve bootup speed by reprofiling bootup

    Quote Originally Posted by macvr View Post
    i have attached my bootchart to this post
    http://ubuntuforums.org/showpost.php...&postcount=140

    i think according to it , its 38 secs
    Your bootchart looks ok, nothing really bad in there. The readahead list takes about one third of the time though. As an experiment try to disable it completely. You also have a bunch of extra things installed, virtualization, samba, dkms, etc which takes time. The more specialized your system is, the more reason to reprofile it.

    BTW, I installed the Jaunty kernel in Intrepid and it sped up my boot because it has more drivers built in so less probing and loading is done in the initrd. However I will encourage interested people to install Jaunty to a separate partition and help sorting out boot performance issues as it is being developed, it is a stated goal of Jaunty to get the boot time down, but more testing on different hardware will help.
    Please use launchpad to search for/report bugs and problems: https://help.ubuntu.com/community/ReportingBugs

  4. #154
    Join Date
    Oct 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: TIP: Improve bootup speed by reprofiling bootup

    Quote Originally Posted by tormod View Post
    Your bootchart looks ok, nothing really bad in there. The readahead list takes about one third of the time though. As an experiment try to disable it completely. You also have a bunch of extra things installed, virtualization, samba, dkms, etc which takes time. The more specialized your system is, the more reason to reprofile it.
    was thinking of disabling readahead, but was worried if i might mess up my system... i'v noticed it takes nearly 10secs!
    will try that

    Quote Originally Posted by tormod View Post
    BTW, I installed the Jaunty kernel in Intrepid and it sped up my boot because it has more drivers built in so less probing and loading is done in the initrd. However I will encourage interested people to install Jaunty to a separate partition and help sorting out boot performance issues as it is being developed, it is a stated goal of Jaunty to get the boot time down, but more testing on different hardware will help.
    ya have been hearing a lot of good things bout jaunty

    how did u install jaunty kernel on intrepid??? i have a separate 9GB partition where i could install it... i will try it when i have some spare time...

  5. #155
    Join Date
    Feb 2005
    Beans
    425

    Re: TIP: Improve bootup speed by reprofiling bootup

    Quote Originally Posted by macvr View Post
    how did u install jaunty kernel on intrepid???
    Find the latest release on https://launchpad.net/ubuntu/+source/linux/
    and then click through the right package (for instance linux-image-2.6.28-5-generic) and find the .deb for your architecture. It will install along with the old one, so you can choose which kernel to boot in the grub menu.

    This will void all warranties of course

    For some hardware you might need an updated corresponding linux-firmware package as well, https://launchpad.net/ubuntu/+source/linux-firmware/

    Note that I don't post more direct links, they will change with newer releases, and also, those who don't understand much of this should probably not try it.
    Please use launchpad to search for/report bugs and problems: https://help.ubuntu.com/community/ReportingBugs

  6. #156
    Join Date
    Oct 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: TIP: Improve bootup speed by reprofiling bootup

    Quote Originally Posted by tormod View Post
    This will void all warranties of course
    WARRANTY!!!!!

    since when does ubuntu come with warranty ? [maybe for preinstalled ubuntu dell systems!]
    http://www.ubuntu.com/legal

    will be trying the newer kernel or also the alpha jaunty in the separate partition...

    thank you...

  7. #157
    Join Date
    Jul 2008
    Location
    Slovakia
    Beans
    6

    Re: TIP: Improve bootup speed by reprofiling bootup

    My ubuntu 8.04 boot 29s... with complete localhost server = lighttpd + php5-cgi + mysql5-server
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	hardy-20090130-2.png 
Views:	43 
Size:	135.5 KB 
ID:	101536  

  8. #158
    Join Date
    Jul 2008
    Beans
    29
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: TIP: Improve bootup speed by reprofiling bootup

    My system takes roughly 40 seconds just reading the file list, which has about 3500 lines, is this normal?
    Registered ubuntu user #25929
    1) PC - Windows 7
    2) Server - Ubuntu 8.04.1
    3) Laptop Dell M1210 - Ubuntu 9.10

  9. #159
    Join Date
    Feb 2005
    Beans
    425

    Re: TIP: Improve bootup speed by reprofiling bootup

    Quote Originally Posted by kyeh View Post
    My system takes roughly 40 seconds just reading the file list, which has about 3500 lines, is this normal?
    That sounds like way too many lines. My /etc/readahead/boot has 730 lines, /etc/readahead/desktop 274 (stock Jaunty).
    Please use launchpad to search for/report bugs and problems: https://help.ubuntu.com/community/ReportingBugs

  10. #160
    Join Date
    Oct 2008
    Location
    England
    Beans
    960
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: TIP: Improve bootup speed by reprofiling bootup

    I had used these tweaks a long time ago.
    All had been fine until recently. After running a profile from the kernel line my machine randomly failed to get a DHCP address on boot.

    Re-adding the --background switch to S01readahead fixed it completely.
    This issue seems very timing specific.

    If you start init.d/networking a few milliseconds later, as S60, it works fine.
    Or you could run /etc/init.d/networking restart at a much later point, and again, it's fine.

    So, if you have connectivity issues using anything but 'roaming mode' in Network Manager this is a possible reason for failure.
    Something to keep in mind when you tweak your readahead.
    » Praetoria Imperialis « A World of Warcraft Guild for Grown Ups. Mostly.

Page 16 of 18 FirstFirst ... 61415161718 LastLast

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
  •