• Too slow boot...


    Hi guys.

    There is something i can do to improve the speed boot? it´s kinda slow…

    systemd-analyze time 
    Startup finished in 3.981s (kernel) + 37.262s (userspace) = 41.244s
    
    
    systemd-analyze blame 
             11.976s NetworkManager-wait-online.service
             10.238s systemd-journald.service
              6.733s dev-sda2.device
              5.672s org.cups.cupsd.service
              5.409s ModemManager.service
              4.623s teamviewerd.service
              3.138s systemd-journal-flush.service
              2.320s NetworkManager.service
              2.269s accounts-daemon.service
              1.932s [email protected]
              1.848s polkit.service
              1.837s lm_sensors.service
              1.773s systemd-vconsole-setup.service
              1.580s ntpd.service
              1.571s avahi-daemon.service
              1.452s bluetooth.service
              1.417s systemd-udevd.service
              1.347s systemd-logind.service
              1.313s colord.service
               983ms systemd-tmpfiles-setup-dev.service
               948ms systemd-sysctl.service
               888ms gdm.service
               807ms upower.service
               781ms systemd-rfkill.service
               721ms systemd-modules-load.service
               710ms udisks2.service
               683ms systemd-binfmt.service
               663ms boot.mount
               520ms sys-kernel-debug.mount
               468ms systemd-remount-fs.service
               466ms dev-hugepages.mount
               454ms dev-mqueue.mount
               450ms systemd-user-sessions.service
               395ms systemd-udev-trigger.service
               392ms systemd-tmpfiles-setup.service
               357ms [email protected]:intel_backlight.service
               353ms proc-sys-fs-binfmt_misc.mount
               336ms alsa-restore.service
               328ms dev-disk-by\x2duuid-10c079e5\x2dc397\x2d4b5c\x2dbd8d\x2d4fb0c18
               287ms packagekit.service
               263ms systemd-random-seed.service
               206ms wpa_supplicant.service
               174ms kmod-static-nodes.service
                76ms systemd-update-utmp.service
                19ms rtkit-daemon.service
                10ms tmp.mount
                 2ms sys-fs-fuse-connections.mount
                 2ms sys-kernel-config.mount
    

    Antergos Gnome - Lenovo G4070
    Antergos XFCE (Ex-Mate) - Dell D630
    Antergos Cinnamon - Asus E-11
    Puppy Linux Precise 5.7.1 - Asus 701 EEEpc
    Puppy Linux Lxpuptahr USB live - All machines

  • Hi,

    Limiting your journal size might help:
    https://wiki.archlinux.org/index.php/systemd#Journal_size_limit

    EDIT: What’s the output of systemd-analyze critical-chain ?

    Cheers!

  • @karasu

    here it is:

    graphical.target @38.450s
    └─teamviewerd.service @34.013s +4.436s
      └─network-online.target @34.001s
        └─NetworkManager-wait-online.service @19.993s +14.007s
          └─NetworkManager.service @17.043s +2.935s
            └─dbus.service @16.207s
              └─basic.target @16.193s
                └─sockets.target @16.193s
                  └─org.cups.cupsd.socket @16.193s
                    └─sysinit.target @16.146s
                      └─sys-fs-fuse-connections.mount @45.609s +3ms
                        └─systemd-modules-load.service @2.553s +1.069s
                          └─system.slice @2.445s
                            └─-.slice @2.047s
    
    

    Thank you Karasu!!!

    Antergos Gnome - Lenovo G4070
    Antergos XFCE (Ex-Mate) - Dell D630
    Antergos Cinnamon - Asus E-11
    Puppy Linux Precise 5.7.1 - Asus 701 EEEpc
    Puppy Linux Lxpuptahr USB live - All machines

  • Hi,

    It takes 14s to your network to be “online”. Obviously, that’s too much. What I do not know is what is wrong. What does your journal say? (run it just after boot).
    journalctl -xe

    Oh, and if you don’t really use timeviewer all the time, you should disable it, you will gain 4.4s.

  • @karasu this is it:

    journalctl -xe
    oct 06 21:25:01 Lenovo chromium.desktop[1098]: libpng warning: iCCP: known incor
    oct 06 21:25:19 Lenovo org.gnome.Shell.desktop[617]: (gnome-shell:617): Gjs-WARN
    oct 06 21:25:19 Lenovo org.gnome.Shell.desktop[617]: Animation<[email protected]
    oct 06 21:25:19 Lenovo org.gnome.Shell.desktop[617]: [email protected]:///org/gno
    oct 06 21:25:19 Lenovo org.gnome.Shell.desktop[617]: Animation<[email protected]
    oct 06 21:25:19 Lenovo org.gnome.Shell.desktop[617]: [email protected]:///org/gno
    oct 06 21:25:19 Lenovo dbus-daemon[568]: Activating via systemd: service name='o
    oct 06 21:25:19 Lenovo systemd[533]: Starting GNOME Terminal Server...
    -- Subject: Unit UNIT has begun start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- 
    -- Unit UNIT has begun starting up.
    oct 06 21:25:20 Lenovo dbus-daemon[568]: Successfully activated service 'org.gno
    oct 06 21:25:20 Lenovo systemd[533]: Started GNOME Terminal Server.
    -- Subject: Unit UNIT has finished start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- 
    -- Unit UNIT has finished starting up.
    -- 
    -- The start-up result is done.
    oct 06 21:25:21 Lenovo org.gnome.Shell.desktop[617]: (gnome-shell:617): GLib-CRI
    lines 1094-1116/1116 (END)
    oct 06 21:25:01 Lenovo chromium.desktop[1098]: libpng warning: iCCP: known incorrect sRGB profile
    oct 06 21:25:19 Lenovo org.gnome.Shell.desktop[617]: (gnome-shell:617): Gjs-WARNING **: JS ERROR: Error: can't convert this._frame to an integer
    oct 06 21:25:19 Lenovo org.gnome.Shell.desktop[617]: Animation<[email protected]:///org/gnome/shell/ui/animation.js:53
    oct 06 21:25:19 Lenovo org.gnome.Shell.desktop[617]: [email protected]:///org/gnome/gjs/modules/lang.js:178
    oct 06 21:25:19 Lenovo org.gnome.Shell.desktop[617]: Animation<[email protected]:///org/gnome/shell/ui/animation.js:65
    oct 06 21:25:19 Lenovo org.gnome.Shell.desktop[617]: [email protected]:///org/gnome/gjs/modules/lang.js:178
    oct 06 21:25:19 Lenovo dbus-daemon[568]: Activating via systemd: service name='org.gnome.Terminal' unit='gnome-terminal-server.service'
    oct 06 21:25:19 Lenovo systemd[533]: Starting GNOME Terminal Server...
    -- Subject: Unit UNIT has begun start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- 
    -- Unit UNIT has begun starting up.
    oct 06 21:25:20 Lenovo dbus-daemon[568]: Successfully activated service 'org.gnome.Terminal'
    oct 06 21:25:20 Lenovo systemd[533]: Started GNOME Terminal Server.
    -- Subject: Unit UNIT has finished start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- 
    -- Unit UNIT has finished starting up.
    -- 
    -- The start-up result is done.
    oct 06 21:25:21 Lenovo org.gnome.Shell.desktop[617]: (gnome-shell:617): GLib-CRITICAL **: Source ID 54927 was not found when attempting to remove it
    ~
    
    

    Antergos Gnome - Lenovo G4070
    Antergos XFCE (Ex-Mate) - Dell D630
    Antergos Cinnamon - Asus E-11
    Puppy Linux Precise 5.7.1 - Asus 701 EEEpc
    Puppy Linux Lxpuptahr USB live - All machines

  • Could you try running that command again with sudo?

  • @lots.0.logs here it is:

    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tr
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tr
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tr
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tr
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tr
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tr
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tr
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tr
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tr
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tr
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tr
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tr
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tr
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tr
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tr
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tr
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tr
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tr
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tr
    oct 07 23:04:36 Lenovo chromium.desktop[1051]: libpng warning: iCCP: known incor
    oct 07 23:05:00 Lenovo tracker-extract.desktop[850]: (tracker-extract:850): Trac
    oct 07 23:06:05 Lenovo sudo[2735]:     caio : TTY=pts/0 ; PWD=/home/caio ; USER=
    oct 07 23:06:05 Lenovo sudo[2735]: pam_unix(sudo:session): session opened for us
    lines 1371-1393/1393 (END)
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tracker-CRITICAL **: Could not execute sparql: UNIQUE constraint failed:
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tracker-CRITICAL **:   (Sparql buffer) Error in task 48 (file:///home/ca
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tracker-CRITICAL **: Could not execute sparql: UNIQUE constraint failed:
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tracker-CRITICAL **:   (Sparql buffer) Error in task 49 (file:///home/ca
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tracker-CRITICAL **: Could not execute sparql: UNIQUE constraint failed:
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tracker-CRITICAL **:   (Sparql buffer) Error in task 50 (file:///home/ca
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tracker-CRITICAL **: Could not execute sparql: UNIQUE constraint failed:
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tracker-CRITICAL **:   (Sparql buffer) Error in task 51 (file:///home/ca
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tracker-CRITICAL **: Could not execute sparql: UNIQUE constraint failed:
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tracker-CRITICAL **:   (Sparql buffer) Error in task 52 (file:///home/ca
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tracker-CRITICAL **: Could not execute sparql: UNIQUE constraint failed:
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tracker-CRITICAL **:   (Sparql buffer) Error in task 53 (file:///home/ca
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tracker-CRITICAL **: Could not execute sparql: UNIQUE constraint failed:
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tracker-CRITICAL **:   (Sparql buffer) Error in task 54 (file:///home/ca
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tracker-CRITICAL **: Could not execute sparql: UNIQUE constraint failed:
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tracker-CRITICAL **:   (Sparql buffer) Error in task 55 (file:///home/ca
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tracker-CRITICAL **: Could not execute sparql: UNIQUE constraint failed:
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tracker-CRITICAL **:   (Sparql buffer) Error in task 56 (file:///home/ca
    oct 07 23:04:22 Lenovo tracker-miner-fs.desktop[867]: (tracker-miner-fs:867): Tracker-CRITICAL **: Could not execute sparql: UNIQUE constraint failed:
    oct 07 23:04:36 Lenovo chromium.desktop[1051]: libpng warning: iCCP: known incorrect sRGB profile
    oct 07 23:05:00 Lenovo tracker-extract.desktop[850]: (tracker-extract:850): Tracker-WARNING **: Could not process media art for 'file:///home/caio/M%C
    oct 07 23:06:05 Lenovo sudo[2735]:     caio : TTY=pts/0 ; PWD=/home/caio ; USER=root ; COMMAND=/usr/bin/journalctl -xe
    oct 07 23:06:05 Lenovo sudo[2735]: pam_unix(sudo:session): session opened for user root by (uid=0)
    
    

    Antergos Gnome - Lenovo G4070
    Antergos XFCE (Ex-Mate) - Dell D630
    Antergos Cinnamon - Asus E-11
    Puppy Linux Precise 5.7.1 - Asus 701 EEEpc
    Puppy Linux Lxpuptahr USB live - All machines

slow startup2 boot155 Posts 7Views 859
Log in to reply