Results 1 to 8 of 8

Thread: [12.3] Slow bootup

  1. #1
    Join Date
    Jun 2008
    Location
    Oświęcim/Poland
    Posts
    58

    Default [12.3] Slow bootup

    I run openSUSE 12.3 x86_64 with Dell Vostro 3450. System was upgraded from 12.2 when 12.3 was out. Everything works fine but boot time is too long, I think.
    Code:
    fisiu@vostro ~ $ systemd-analyze time
    Startup finished in 5531ms (kernel) + 43431ms (userspace) = 48963ms
    Code:
    fisiu@vostro ~ $ systemd-analyze blame
     27623ms NetworkManager.service
      7481ms ntp.service
      2672ms smb.service
      1654ms cycle.service
      1440ms systemd-udev-root-symlink.service
      1029ms home.mount
      1007ms dev-hugepages.mount
      1006ms dev-mqueue.mount
       857ms systemd-vconsole-setup.service
       637ms systemd-modules-load.service
       480ms systemd-remount-fs.service
       430ms systemd-udev-trigger.service
       417ms rc-local.service
       270ms postfix.service
       261ms systemd-tmpfiles-setup.service
       190ms polkit.service
       184ms systemd-user-sessions.service
       122ms systemd-sysctl.service
       117ms var-run.mount
        87ms systemd-udevd.service
        81ms systemd-readahead-replay.service
        69ms avahi-daemon.service
        64ms bluetooth.service
        51ms nmb.service
        50ms xdm.service
        50ms fbset.service
        46ms sshd.service
        43ms systemd-readahead-collect.service
        27ms rtkit-daemon.service
        19ms systemd-logind.service
        15ms udisks2.service
         6ms upower.service
         4ms sys-kernel-debug.mount
         2ms sys-fs-fuse-connections.mount
         2ms var-lock.mount
    Boot plot looks like: http://img96.imageshack.us/img96/5107/c81b.png and full bootup log is here (too many lines to pase directly on forum): KDE Pastebin

    Do You have any ideas what can be wrong and how can I speedup boot process?
    Pozdrawiam / Greetings,
    Mariusz Fik
    openSUSE Community Member
    openSUSE 12.3 Rocks!

  2. #2
    Join Date
    Nov 2009
    Location
    West by God Virginia
    Posts
    7,583

    Default Re: [12.3] Slow bootup

    Looks like it is the network that is slow to come up. Network manager is taking way to much time.

    How are you connecting, wired/wifi??

    Have you tried ifup.

    Maybe go to yast and reconfigure it.

  3. #3
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,500
    Blog Entries
    48

    Smile Re: [12.3] Slow bootup

    Quote Originally Posted by Fisiu View Post
    I run openSUSE 12.3 x86_64 with Dell Vostro 3450. System was upgraded from 12.2 when 12.3 was out. Everything works fine but boot time is too long, I think.
    Code:
    fisiu@vostro ~ $ systemd-analyze time
    Startup finished in 5531ms (kernel) + 43431ms (userspace) = 48963ms
    Code:
    fisiu@vostro ~ $ systemd-analyze blame
     27623ms NetworkManager.service
      7481ms ntp.service
      2672ms smb.service
      1654ms cycle.service
      1440ms systemd-udev-root-symlink.service
      1029ms home.mount
      1007ms dev-hugepages.mount
      1006ms dev-mqueue.mount
       857ms systemd-vconsole-setup.service
       637ms systemd-modules-load.service
       480ms systemd-remount-fs.service
       430ms systemd-udev-trigger.service
       417ms rc-local.service
       270ms postfix.service
       261ms systemd-tmpfiles-setup.service
       190ms polkit.service
       184ms systemd-user-sessions.service
       122ms systemd-sysctl.service
       117ms var-run.mount
        87ms systemd-udevd.service
        81ms systemd-readahead-replay.service
        69ms avahi-daemon.service
        64ms bluetooth.service
        51ms nmb.service
        50ms xdm.service
        50ms fbset.service
        46ms sshd.service
        43ms systemd-readahead-collect.service
        27ms rtkit-daemon.service
        19ms systemd-logind.service
        15ms udisks2.service
         6ms upower.service
         4ms sys-kernel-debug.mount
         2ms sys-fs-fuse-connections.mount
         2ms var-lock.mount
    Boot plot looks like: http://img96.imageshack.us/img96/5107/c81b.png and full bootup log is here (too many lines to pase directly on forum): KDE Pastebin

    Do You have any ideas what can be wrong and how can I speedup boot process?
    Looks like Network Manager is really bad. So, my questions are, what desktop do you use? Do you have Network Manager enabled or use ifup? You can use the following terminal command to look up networking errors for the service:

    Code:
    sudo journalctl _SYSTEMD_UNIT=NetworkManager.service
    As for speed ups, in general, adding in more memory and of course, using an SSD. I have decided to use a 120 GB SSD and use Network Manager and not ifup. Other fixes are possible if we know more.

    While a slow startup is a drag, you spend only a minute there and so how are things after you get up and running? For help with systemd, have a look at my bash script here:

    SysdCmd - systemd Command Help/Config Editor - Blogs - openSUSE Forums

    And for Changes to Grub 2, have a look here:

    GNU Grub2 Command Listing Helper with --help & Input - Blogs - openSUSE Forums

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  4. #4
    Join Date
    May 2010
    Location
    Space Colony Lagrange Point 22° à, 77° Ƅ, 56° ɤ, 99° ɜ
    Posts
    3,305

    Default Re: [12.3] Slow bootup

    GNOME 3.10.1
    openSUSE 13.1 (Bottle) (x86_64) 64-bit
    Kernel Linux 3.11.6-4-desktop
    www.vazhavandan.blogspot.com

  5. #5
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    37,180
    Blog Entries
    17

    Default Re: [12.3] Slow bootup

    Switch from ifup to network manager control should sort it
    13.2_Laptop_Spec
    My Articles
    Was I any help? If yes: Click the star below

  6. #6
    Will Honea NNTP User

    Default Re: [12.3] Slow bootup

    caf4926 wrote:

    >
    > Switch from ifup to network manager control should sort it
    >


    Just an eyeball estimate, but my machine seems to pause a long time trying
    to initialize the bluetooth system - which is reasonable as it doesn't exist
    - during bootup. I haven't gotten around to looking for what causes the
    bluetooth stuff to be called just yet but the delay is noticable. I also
    see a long delay when the wireless AP is not available but I just disable
    wireless in the network manager as I use just the wired ethernet.

    --
    Will Honea
    whonea@yahoo.com

  7. #7
    Join Date
    Jun 2008
    Location
    Oświęcim/Poland
    Posts
    58

    Thumbs up Re: [12.3] Slow bootup

    Thanks for You answers,

    I use Plasma Desktop (KDE) 4.10.3 from official Update repository. As connection manager I use NetworkManager, and it even works
    I followed hints from post linked by @vazhavandan and my system starts 2 times faster

    Code:
    fisiu@vostro ~ $ systemd-analyze time
    Startup finished in 5435ms (kernel) + 15642ms (userspace) = 21078ms
    Code:
    fisiu@vostro ~ $ systemd-analyze blame
      6741ms NetworkManager.service
      1419ms systemd-udev-root-symlink.service
      1368ms dev-hugepages.mount
      1359ms dev-mqueue.mount
      1331ms cycle.service
      1120ms systemd-vconsole-setup.service
      1096ms systemd-remount-fs.service
      1047ms smb.service
       684ms systemd-modules-load.service
       682ms polkit.service
       617ms ntp.service
       576ms home.mount
       403ms avahi-daemon.service
       393ms upower.service
       378ms rc-local.service
       343ms postfix.service
       281ms systemd-sysctl.service
       231ms systemd-udev-trigger.service
       201ms var-run.mount
       195ms var-lock.mount
       194ms nmb.service
       190ms sys-kernel-debug.mount
       185ms systemd-tmpfiles-setup.service
       141ms xdm.service
       102ms bluetooth.service
        98ms fbset.service
        97ms systemd-user-sessions.service
        79ms systemd-udevd.service
        64ms systemd-readahead-collect.service
        63ms systemd-logind.service
        61ms systemd-readahead-replay.service
        41ms sshd.service
        26ms rtkit-daemon.service
        23ms udisks2.service
    And plot:


    I'm sure there is a place for further optimizations but I'm quite happy with current result.
    Thanks guys!
    Pozdrawiam / Greetings,
    Mariusz Fik
    openSUSE Community Member
    openSUSE 12.3 Rocks!

  8. #8
    Join Date
    May 2010
    Location
    Space Colony Lagrange Point 22° à, 77° Ƅ, 56° ɤ, 99° ɜ
    Posts
    3,305

    Default Re: [12.3] Slow bootup

    Quote Originally Posted by Fisiu View Post
    I followed hints from post linked by @vazhavandan and my system starts 2 times faster
    I faced similar issue on 12.2 and that was the actual solution i applied. Glad it worked out for you.
    GNOME 3.10.1
    openSUSE 13.1 (Bottle) (x86_64) 64-bit
    Kernel Linux 3.11.6-4-desktop
    www.vazhavandan.blogspot.com

Posting Permissions

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