Contenu | Rechercher | Menus

Annonce

DVD, clés USB et t-shirts Ubuntu-fr disponibles sur la boutique En Vente Libre

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#26 Le 01/04/2021, à 10:26

taosheng

Re : Ubuntu 20.04 encore très lent au démarrage

J'ai redémarré mon ordi après cette manip, et voici les retours de systemd-analyze time :

tao-sheng[jeu. avril 01 11:19:36]@~ systemd-analyze time
Startup finished in 3.061s (firmware) + 4.337s (loader) + 6.533s (kernel) + 2min 18.127s (userspace) = 2min 32.059s 
graphical.target reached after 2min 18.075s in userspace

et de systemd-analyze critical-chain :

tao-sheng[jeu. avril 01 11:19:51]@~ systemd-analyze critical-chain
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

graphical.target @2min 18.075s
└─multi-user.target @2min 18.075s
  └─kerneloops.service @1min 21.929s +13.521s
    └─network-online.target @1min 21.416s
      └─network.target @50.427s
        └─NetworkManager.service @38.107s +12.318s
          └─dbus.service @38.103s
            └─basic.target @37.994s
              └─sockets.target @37.994s
                └─snapd.socket @37.993s +747us
                  └─sysinit.target @37.689s
                    └─systemd-timesyncd.service @37.510s +178ms
                      └─systemd-tmpfiles-setup.service @32.884s +4.570s
                        └─systemd-journal-flush.service @5.773s +27.109s
                          └─systemd-journald.service @4.891s +881ms
                            └─systemd-journald.socket @4.887s
                              └─system.slice @4.884s
                                └─-.slice @4.884s

Donc grosse amélioration au niveau du temps de démarrage. Si dans les jours à venir, ça reste aussi rapide, je passerai le sujet en [Résolu].

Par ailleurs, je vois dans le retour de systemd-analyze critical-chain qu'il y a certaines lignes qui montrent un temps de démarrage un peu long, en particulier :

kerneloops.service @1min 21.929s +13.521s
NetworkManager.service @38.107s +12.318s
systemd-tmpfiles-setup.service @32.884s +4.570s
systemd-journal-flush.service @5.773s +27.109s

Est-ce que ce serait une piste d'amélioration ?

Dans tous les cas, merci @xubu1957 pour ton aide ! smile

Hors ligne

#27 Le 01/04/2021, à 10:38

xubu1957

Re : Ubuntu 20.04 encore très lent au démarrage


Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Xubuntu 20.04 LTS - Lenovo T410 -18.04.1 LTS Toshiba Satellite A300  Membre de Linux-Azur

En ligne

#28 Le 01/04/2021, à 11:15

Amiralgaby

Re : Ubuntu 20.04 encore très lent au démarrage

J'ai testé quelque chose de mon côté, j'ai mis en mode avion avant de reboot, donc pas de networkManager et de kernel-loop par contre snapd.service lui est apparu...
Je vois mal ce qui lie les deux services mais au cas où peut-être que ce mode avion améliorera le temps de démarrage...


Vive la communauté du Libre !!!

Hors ligne

#29 Le 01/04/2021, à 12:04

malbo

Re : Ubuntu 20.04 encore très lent au démarrage

Bonjour,
Cette amélioration inattendue des temps "loader" et "kernel" qu'on peut voir dans le post #26 :

4.337s (loader) + 6.533s (kernel)

est inquiétante. Tu avais déjà eu une amélioration importante le 28/03/2021, visible dans ce post de ta discussion précédente :

12.562s (loader) + 6.408s (kernel)

Mais cette amélioration n'avait pas duré. Pour moi, on n'a pas trouvé la cause du problème.

Dernière modification par malbo (Le 01/04/2021, à 12:07)

Hors ligne

#30 Le 01/04/2021, à 14:16

taosheng

Re : Ubuntu 20.04 encore très lent au démarrage

malbo a écrit :

Bonjour,
Cette amélioration inattendue des temps "loader" et "kernel" qu'on peut voir dans le post #26 :

4.337s (loader) + 6.533s (kernel)

est inquiétante. Tu avais déjà eu une amélioration importante le 28/03/2021, visible dans ce post de ta discussion précédente :

12.562s (loader) + 6.408s (kernel)

Mais cette amélioration n'avait pas duré. Pour moi, on n'a pas trouvé la cause du problème.

Oui, c'est ce que je me disais aussi, c'est pourquoi je n'ai pas passé le sujet en [Résolu].

Je viens de refaire un reboot, et voici le résultat cette fois-ci, qui est déjà un peu plus long que précédemment :

tao-sheng[jeu. avril 01 15:14:02]@~ systemd-analyze time
Startup finished in 8.866s (firmware) + 18.125s (loader) + 8.324s (kernel) + 2min 56.689s (userspace) = 3min 32.005s 
graphical.target reached after 2min 56.642s in userspace

Je verrai si au fur et à mesure des reboots, le temps s'allonge ou non. En attendant, je continue de chercher la cause du problème.

Hors ligne

#31 Le 01/04/2021, à 14:30

xubu1957

Re : Ubuntu 20.04 encore très lent au démarrage

Je n'ai plus de PPA sur mon système.

/etc/apt/sources.list.d/ondrej-ubuntu-php-xenial.list

     1	# deb http://ppa.launchpad.net/ondrej/php/ubuntu bionic main # désactivé pour la mise à niveau vers bionic
     2	# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu xenial main
Le 27/08/2020, bruno a écrit :
Stoomm a écrit :

Sachant que les dépôts non officliels sont temporairement désactivés lors de la mise à niveau, je pense pas que ça vienne de là.

Si cela vient de là. Tu as installé par le passé tout un tas de paquets issus de dépôts non officiels et c'est bien la présence de ces paquets qui risque d'empêcher la mise à niveau.
Il faut suivre les indictions du fil donné par xubu1957 ou repartir sur une installation neuve de Ubuntu 20.04.

> [RESOLU] Erreur migration 16.04 LTS vers 18.04 LTS (systemd)

/etc/apt/sources.list.d/webupd8team-ubuntu-sublime-text-2-xenial.list

     1	# deb http://ppa.launchpad.net/webupd8team/sublime-text-2/ubuntu bionic main # désactivé pour la mise à niveau vers bionic
     2	# deb-src http://ppa.launchpad.net/webupd8team/sublime-text-2/ubuntu xenial main

Pour webupd8team, l'avis de nam1962 était plutôt radical > forum.ubuntu-fr.org/viewtopic.php?pid=21873873#p21873873.


Donne la liste des paquets orphelins :

apt list | grep "installé, local"

Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Xubuntu 20.04 LTS - Lenovo T410 -18.04.1 LTS Toshiba Satellite A300  Membre de Linux-Azur

En ligne

#32 Le 01/04/2021, à 14:37

taosheng

Re : Ubuntu 20.04 encore très lent au démarrage

En ce qui concerne, dans le retour de systemd-analyze critical-chain, la ligne :

systemd-journal-flush.service @5.773s +27.109s

qui est devenu, au second reboot :

systemd-journal-flush.service @15.797s +1min 28.730s

J'ai lancé la commande :

journalctl -b --unit systemd-journald

qui me retourne :

-- Logs begin at Sun 2019-09-29 22:04:29 CEST, end at Thu 2021-04-01 15:33:35 CEST. --
avril 01 14:41:45 taosheng-IdeaCentre-K430 systemd-journald[334]: Journal started
avril 01 14:41:45 taosheng-IdeaCentre-K430 systemd-journald[334]: Runtime Journal (/run/log/journal/7d4bba5593a5430307866da7525173cd) is 8.0M, max 79.2M, 71.2M free.
avril 01 14:41:45 taosheng-IdeaCentre-K430 systemd-journald[334]: Time spent on flushing to /var/log/journal/7d4bba5593a5430307866da7525173cd is 1min 15.141980s for 905 entries.
avril 01 14:41:45 taosheng-IdeaCentre-K430 systemd-journald[334]: System Journal (/var/log/journal/7d4bba5593a5430307866da7525173cd) is 4.0G, max 4.0G, 0B free.

Je vois que la dernière ligne indique

System Journal (/var/log/journal/7d4bba5593a5430307866da7525173cd) is 4.0G, max 4.0G, 0B free.

Est-ce que vous pensez qu'il serait possible de vider ce fichier et que ça pourrait avoir un impact sur le démarrage ? Et si oui, comment faire ?

[Edit] : solution trouvée cf. post #35. A priori, gain de temps d'une vingtaine de secondes, à voir sur le long terme.

Dernière modification par taosheng (Le 01/04/2021, à 17:38)

Hors ligne

#33 Le 01/04/2021, à 14:45

taosheng

Re : Ubuntu 20.04 encore très lent au démarrage

xubu1957 a écrit :

Donne la liste des paquets orphelins :

apt list | grep "installé, local"
tao-sheng[jeu. avril 01 15:43:40]@~ apt list | grep "installé, local"

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

account-plugin-facebook/now 0.12+16.04.20160126-0ubuntu1 all  [installé, local]
account-plugin-flickr/now 0.12+16.04.20160126-0ubuntu1 all  [installé, local]
account-plugin-google/now 0.12+16.04.20160126-0ubuntu1 all  [installé, local]
account-plugin-twitter/now 0.12+16.04.20160126-0ubuntu1 all  [installé, local]
avidemux-common/now 1:2.5.4-0ubuntu14 all  [installé, local]
avidemux/now 1:2.5.4-0ubuntu14 amd64  [installé, local]
boot-info/now 4ppa125 all  [installé, local]
boot-repair/now 4ppa125 all  [installé, local]
boot-sav-extra/now 4ppa125 all  [installé, local]
boot-sav/now 4ppa125 all  [installé, local]
brscan-skey/now 0.2.4-1 amd64  [installé, local]
brscan3/now 0.2.13-1 amd64  [installé, local]
checkbox/now 1.2.4-0ubuntu1 all  [installé, local]
command-not-found-data/now 18.04.5 amd64  [installé, local]
cpp-4.7/now 4.7.4-3ubuntu12 amd64  [installé, local]
cpp-4.8/now 4.8.5-4ubuntu8 amd64  [installé, local]
dcpj315wcupswrapper/now 1.1.3-1 i386  [installé, local]
dcpj315wlpr/now 1.1.3-1 i386  [installé, local]
deb.torproject.org-keyring/now 2016.08.22 all  [installé, local]
deja-dup-backend-gvfs/now 34.2-0ubuntu1.1 all  [installé, local]
deja-dup-backend-ubuntuone/now 27.3.1-0ubuntu2 all  [installé, local]
draftsight/now 2014.7.495 amd64  [installé, local]
firefox-globalmenu/now 68.0.2+build1-0ubuntu0.18.04.1 amd64  [installé, local]
freerdp-x11/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
friends-dispatcher/now 0.2.0+14.04.20140217.1-0ubuntu1 all  [installé, local]
furiusisomount/now 0.11.3.1~repack1-1 all  [installé, local]
gcc-4.7-base/now 4.7.4-3ubuntu12 amd64  [installé, local]
gcc-4.7/now 4.7.4-3ubuntu12 amd64  [installé, local]
gcc-4.8-base/now 4.8.5-4ubuntu8 amd64  [installé, local]
gcc-4.8/now 4.8.5-4ubuntu8 amd64  [installé, local]
gcc-5-base/now 5.5.0-12ubuntu1 amd64  [installé, local]
gcc-6-base/now 6.5.0-2ubuntu1~18.04 amd64  [installé, local]
gens/now 2.16.7 i386  [installé, local]
geoclue/now 0.12.99-4ubuntu2 amd64  [installé, local]
gir1.2-gnomekeyring-1.0/now 3.12.0-1build1 amd64  [installé, local]
gir1.2-gst-plugins-base-0.10/now 0.10.36-2ubuntu0.1 amd64  [installé, local]
gir1.2-gstreamer-0.10/now 0.10.36-1.5ubuntu1 amd64  [installé, local]
gir1.2-javascriptcoregtk-3.0/now 2.4.11-3ubuntu3 amd64  [installé, local]
gir1.2-networkmanager-1.0/now 1.10.14-0ubuntu2 amd64  [installé, local]
gir1.2-syncmenu-0.1/now 12.10.5+13.10.20131011-0ubuntu1 amd64  [installé, local]
gir1.2-vte-2.90/now 1:0.34.9-1ubuntu2 amd64  [installé, local]
gir1.2-webkit-3.0/now 2.4.11-3ubuntu3 amd64  [installé, local]
gksu/now 2.0.2-9ubuntu1 amd64  [installé, local]
glade2script-python3/now 3.2.4~ppa23 all  [installé, local]
glade2script/now 3.2.4~ppa23 all  [installé, local]
gnome-icon-theme-symbolic/now 3.12.0-2 all  [installé, local]
gnomine/now 1:3.18.2-2 all  [installé, local]
google-earth-stable/now 7.1.4.1529-r0 amd64  [installé, local]
google-talkplugin/now 5.41.3.0-1 amd64  [installé, local]
gstreamer0.10-alsa/now 0.10.36-2ubuntu0.1 amd64  [installé, local]
gstreamer0.10-ffmpeg/now 0.10.13-5 amd64  [installé, local]
gstreamer0.10-fluendo-mp3/now 0.10.23.debian-3 amd64  [installé, local]
gstreamer0.10-gconf/now 0.10.31-3+nmu4ubuntu2.16.04.3 amd64  [installé, local]
gstreamer0.10-nice/now 0.1.13-0ubuntu2 amd64  [installé, local]
gstreamer0.10-plugins-bad-multiverse/now 0.10.21-1ubuntu3 amd64  [installé, local]
gstreamer0.10-plugins-bad/now 0.10.23-7.2ubuntu1.1 amd64  [installé, local]
gstreamer0.10-plugins-base-apps/now 0.10.36-2ubuntu0.1 amd64  [installé, local]
gstreamer0.10-plugins-base/now 0.10.36-2ubuntu0.1 amd64  [installé, local]
gstreamer0.10-pulseaudio/now 0.10.31-3+nmu4ubuntu2.16.04.3 amd64  [installé, local]
gstreamer0.10-tools/now 0.10.36-1.5ubuntu1 amd64  [installé, local]
gstreamer0.10-x/now 0.10.36-2ubuntu0.1 amd64  [installé, local]
gstreamer1.0-clutter/now 2.0.18-1 amd64  [installé, local]
gstreamer1.0-fluendo-mp3/now 0.10.32.debian-1 amd64  [installé, local]
gtk-recordmydesktop/now 0.3.8-4.1ubuntu1 all  [installé, local]
hardening-includes/now 2.7ubuntu2 all  [installé, local]
ibus-pinyin-db-android/now 1.4.0-2ubuntu2 all  [installé, local]
icedtea-netx-common/now 1.8-0ubuntu8~18.04 all  [installé, local]
indicator-sync/now 12.10.5+13.10.20131011-0ubuntu1 amd64  [installé, local]
initscripts/now 2.88dsf-59.3ubuntu2 amd64  [installé, local]
insserv/now 1.14.0-5ubuntu3 amd64  [installé, local]
iproute/now 1:4.3.0-1ubuntu3.16.04.3 all  [installé, local]
kde-l10n-engb/now 4:17.08.3-0ubuntu4 all  [installé, local]
kde-l10n-fr/now 4:17.08.3-0ubuntu4 all  [installé, local]
landscape-client-ui-install/now 14.12-0ubuntu0.14.04 amd64  [installé, local]
libaccount-plugin-1.0-0/now 0.1.8+16.04.20160201-0ubuntu1 amd64  [installé, local]
libaccount-plugin-generic-oauth/now 0.12+16.04.20160126-0ubuntu1 amd64  [installé, local]
libaccount-plugin-google/now 0.12+16.04.20160126-0ubuntu1 amd64  [installé, local]
libandroid-properties1/now 0.1.0+git20151016+6d424c9-0ubuntu7 amd64  [installé, local]
libasan0/now 4.8.5-4ubuntu8 amd64  [installé, local]
libass4/now 0.10.1-3ubuntu1 amd64  [installé, local]
libavcodec-extra-53/now 6:0.8.13ubuntu0.13.10.1 amd64  [installé, local]
libavformat53/now 6:0.8.13-0ubuntu0.13.10.1 amd64  [installé, local]
libavidemux0/now 1:2.5.4-0ubuntu14 amd64  [installé, local]
libavutil-extra-51/now 6:0.8.13ubuntu0.13.10.1 amd64  [installé, local]
libavutil52/now 6:9.18-0ubuntu0.14.04.1 amd64  [installé, local]
libboost-date-time1.49.0/now 1.49.0-4 amd64  [installé, local]
libboost-date-time1.53.0/now 1.53.0-6+exp3ubuntu8 amd64  [installé, local]
libcamel-1.2-43/now 3.8.5-1ubuntu3 amd64  [installé, local]
libcdio-cdda1/now 0.83-4.2ubuntu1 amd64  [installé, local]
libcdio-paranoia1/now 0.83-4.2ubuntu1 amd64  [installé, local]
libcdio13/now 0.83-4.2ubuntu1 amd64  [installé, local]
libcdr-0.0-0/now 0.0.15-1ubuntu1 amd64  [installé, local]
libck-connector0/now 0.4.6-5 amd64  [installé, local]
libcloog-ppl1/now 0.16.1-8 amd64  [installé, local]
libcloog-pplv4-1/now 0.16.1-6ubuntu3 amd64  [installé, local]
libclutter-gst-2.0-0/now 2.0.18-1 amd64  [installé, local]
libcmis-0.3-3/now 0.3.1-3ubuntu1 amd64  [installé, local]
libcolord1/now 1.0.6-1 amd64  [installé, local]
libcolorhug1/now 1.0.6-1 amd64  [installé, local]
libcryptsetup4/now 2:1.6.6-5ubuntu2.1 amd64  [installé, local]
libdb5.1/now 5.1.29-7ubuntu1 amd64  [installé, local]
libdirac-encoder0/now 1.0.2-6ubuntu1 amd64  [installé, local]
libdirectfb-1.2-9/now 1.2.10.0-5.1 amd64  [installé, local]
libdns1100/now 1:9.11.3+dfsg-1ubuntu1.13 amd64  [installé, local]
libdotconf1.0/now 1.0.13-3build2 amd64  [installé, local]
libdvdcss2/now 1.2.13-0 amd64  [installé, local]
libdvdread4/now 6.0.0-1 amd64  [installé, local]
libedataserver-1.2-17/now 3.8.5-1ubuntu3 amd64  [installé, local]
libegl1-mesa-drivers/now 12.0.6-0ubuntu0.16.04.1 amd64  [installé, local]
libevent-2.0-5/now 2.0.21-stable-2ubuntu0.16.04.1 amd64  [installé, local]
libexempi3/now 2.4.5-2 amd64  [installé, local]
libexiv2-12/now 0.23-1ubuntu2 amd64  [installé, local]
libexiv2-14/now 0.25-3.1ubuntu0.18.04.5 amd64  [installé, local]
libffi6/now 3.2.1-8 amd64  [installé, local]
libfreerdp-cache1.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libfreerdp-client1.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libfreerdp-codec1.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libfreerdp-common1.1.0/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libfreerdp-core1.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libfreerdp-crypto1.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libfreerdp-gdi1.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libfreerdp-locale1.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libfreerdp-plugins-standard/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libfreerdp-primitives1.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libfreerdp-rail1.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libfreerdp-utils1.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libfriends0/now 0.1.2+14.04.20131108.1-0ubuntu1 amd64  [installé, local]
libgcc-4.7-dev/now 4.7.4-3ubuntu12 amd64  [installé, local]
libgcc-4.8-dev/now 4.8.5-4ubuntu8 amd64  [installé, local]
libgcr-3-common/now 3.18.0-1ubuntu1 all  [installé, local]
libgcrypt11/now 1.5.3-2ubuntu4.4 amd64  [installé, local]
libgdbm3/now 1.8.3-13.1 amd64  [installé, local]
libgee2/now 0.6.8-1ubuntu1 amd64  [installé, local]
libgeoclue0/now 0.12.99-4ubuntu2 amd64  [installé, local]
libgeotiff2/now 1.4.2-2build1 amd64  [installé, local]
libgfortran3/now 6.5.0-2ubuntu1~18.04 amd64  [installé, local]
libgksu2-0/now 2.0.13~pre1-6ubuntu8 amd64  [installé, local]
libglew1.8/now 1.9.0.is.1.8.0-0ubuntu2 amd64  [installé, local]
libglewmx1.8/now 1.9.0.is.1.8.0-0ubuntu2 amd64  [installé, local]
libgmpxxv4-4/now 2:6.1.0+dfsg-2ubuntu5 amd64  [installé, local]
libgnome-desktop-3-17/now 3.28.2-0ubuntu1.5 amd64  [installé, local]
libgnome-keyring-common/now 3.12.0-1build1 all  [installé, local]
libgnome-keyring0/now 3.12.0-1build1 amd64  [installé, local]
libgnutls26/now 2.12.23-12ubuntu2.5 amd64  [installé, local]
libgrip0/now 0.3.9+15.10.20150729-0ubuntu1 amd64  [installé, local]
libgssdp-1.0-3/now 1.0.2-2 amd64  [installé, local]
libgstreamer-plugins-bad0.10-0/now 0.10.23-7.2ubuntu1.1 amd64  [installé, local]
libgstreamer-plugins-base0.10-0/now 0.10.36-2ubuntu0.1 amd64  [installé, local]
libgstreamer0.10-0/now 0.10.36-1.5ubuntu1 amd64  [installé, local]
libgtop-2.0-10/now 2.32.0-1 amd64  [installé, local]
libgtop2-7/now 2.28.5-2 amd64  [installé, local]
libgupnp-1.0-4/now 1.0.2-2 amd64  [installé, local]
libgutenprint2/now 5.2.13-2 amd64  [installé, local]
libgweather-3-15/now 3.28.2-1~ubuntu18.04.1 amd64  [installé, local]
libhunspell-1.3-0/now 1.3.3-4ubuntu1 amd64  [installé, local]
libicu48/now 4.8.1.1-12ubuntu2 amd64  [installé, local]
libicu52/now 52.1-3ubuntu0.4 amd64  [installé, local]
libicu60/now 60.2-3ubuntu3.1 amd64  [installé, local]
libirs160/now 1:9.11.3+dfsg-1ubuntu1.13 amd64  [installé, local]
libisc-export169/now 1:9.11.3+dfsg-1ubuntu1.13 amd64  [installé, local]
libisc169/now 1:9.11.3+dfsg-1ubuntu1.13 amd64  [installé, local]
libisccc160/now 1:9.11.3+dfsg-1ubuntu1.13 amd64  [installé, local]
libisccfg160/now 1:9.11.3+dfsg-1ubuntu1.13 amd64  [installé, local]
libjasper1/now 1.900.1-debian1-2.4ubuntu1.2 amd64  [installé, local]
libjavascriptcoregtk-3.0-0/now 2.4.11-3ubuntu3 amd64  [installé, local]
libjbig0/now 2.1-3.1+deb.sury.org~xenial+1 amd64  [installé, local]
libjbig0/now 2.1-3.1+deb.sury.org~xenial+1 i386  [installé, local]
libjson-c2/now 0.11-4ubuntu2 amd64  [installé, local]
libjson-c3/now 0.12.1-1.3ubuntu0.3 amd64  [installé, local]
libjson0/now 0.11-4ubuntu2 amd64  [installé, local]
libjte1/now 1.20-2ubuntu2 amd64  [installé, local]
liblcms1/now 1.19.dfsg-1.2ubuntu5 amd64  [installé, local]
libllvm3.2/now 1:3.2repack-7ubuntu1 amd64  [installé, local]
liblouis2/now 2.5.3-2ubuntu1 amd64  [installé, local]
liblvm2app2.2/now 2.02.176-4.1ubuntu3.18.04.3 amd64  [installé, local]
liblwres90/now 1:9.9.5.dfsg-3ubuntu0.10 amd64  [installé, local]
libmagickcore-6.q16-3/now 8:6.9.7.4+dfsg-16ubuntu6.8 amd64  [installé, local]
libmagickwand-6.q16-3/now 8:6.9.7.4+dfsg-16ubuntu6.8 amd64  [installé, local]
libmimic0/now 1.0.4-2.3 amd64  [installé, local]
libmjpegutils-2.0-0/now 1:2.0.0+debian-2ubuntu1 amd64  [installé, local]
libmng1/now 1.0.10-3build1 amd64  [installé, local]
libmpc2/now 0.9-4build1 amd64  [installé, local]
libmpeg2encpp-2.0-0/now 1:2.0.0+debian-2ubuntu1 amd64  [installé, local]
libmpfr4/now 3.1.4-1 amd64  [installé, local]
libmplex2-2.0-0/now 1:2.0.0+debian-2ubuntu1 amd64  [installé, local]
libmspub-0.0-0/now 0.0.6-1ubuntu2 amd64  [installé, local]
libmysqlclient20/now 5.7.31-0ubuntu0.18.04.1 amd64  [installé, local]
libnih-dbus1/now 1.0.3-6ubuntu2 amd64  [installé, local]
libnih1/now 1.0.3-6ubuntu2 amd64  [installé, local]
libnm-glib-vpn1/now 1.10.14-0ubuntu2 amd64  [installé, local]
libnm-glib4/now 1.10.14-0ubuntu2 amd64  [installé, local]
libnm-gtk-common/now 1.2.6-0ubuntu0.16.04.4 all  [installé, local]
libnm-util2/now 1.10.14-0ubuntu2 amd64  [installé, local]
liboil0.3/now 0.3.17-2ubuntu4 amd64  [installé, local]
libopencc1/now 0.4.3-2build1 amd64  [installé, local]
libopenjpeg2/now 1.3+dfsg-4.7ubuntu1 amd64  [installé, local]
libopenvg1-mesa/now 10.1.3-0ubuntu0.6 amd64  [installé, local]
libp11-kit-gnome-keyring/now 3.28.0.2-1ubuntu1.18.04.1 amd64  [installé, local]
libpam-freerdp/now 1.0.1+15.04.20141111-0ubuntu1 amd64  [installé, local]
libparted0debian1/now 2.3-19ubuntu1.14.04.1 amd64  [installé, local]
libpcre3/now 2:8.41-4+ubuntu16.04.1+deb.sury.org+1 amd64  [installé, local]
libpcre3/now 2:8.41-4+ubuntu16.04.1+deb.sury.org+1 i386  [installé, local]
libplist1/now 1.10-1 amd64  [installé, local]
libplymouth2/now 0.8.8-0ubuntu17.1 amd64  [installé, local]
libplymouth4/now 0.9.3-1ubuntu7.18.04.2 amd64  [installé, local]
libpng12-0/now 1.2.54-1ubuntu1.1 amd64  [installé, local]
libpng12-0/now 1.2.54-1ubuntu1.1 i386  [installé, local]
libpostproc52/now 6:0.git20120821-4 amd64  [installé, local]
libppl12/now 1:1.0-7ubuntu1 amd64  [installé, local]
libpplv4-13/now 1:1.1-7ubuntu3 amd64  [installé, local]
libpplv4-c4/now 1:1.1-7ubuntu3 amd64  [installé, local]
libprocps0/now 1:3.3.3-2ubuntu9 amd64  [installé, local]
libproj12/now 4.9.3-2 amd64  [installé, local]
libprotobuf7/now 2.4.1-3ubuntu2 amd64  [installé, local]
libprotoc7/now 2.4.1-3ubuntu2 amd64  [installé, local]
libpython3.3-minimal/now 3.3.2-7ubuntu3.1 amd64  [installé, local]
libpython3.3-stdlib/now 3.3.2-7ubuntu3.1 amd64  [installé, local]
libpython3.3/now 3.3.2-7ubuntu3.1 amd64  [installé, local]
libqpdf10/now 4.2.0-2 amd64  [installé, local]
libquvi-scripts/now 0.4.21-2 all  [installé, local]
libquvi7/now 0.4.1-3 amd64  [installé, local]
libraw16/now 0.18.8-1ubuntu0.3 amd64  [installé, local]
libreadline6/now 6.3-8ubuntu2 amd64  [installé, local]
libreoffice-presentation-minimizer/now 1:4.2.8-0ubuntu4 all  [installé, local]
librsync1/now 0.9.7-10build1 amd64  [installé, local]
librtmp0/now 2.4+20121230.gitdf6c518-1 amd64  [installé, local]
libruby2.0/now 2.0.0.484-1ubuntu2.2 amd64  [installé, local]
libschroedinger-1.0-0/now 1.0.11-2.1build1 amd64  [installé, local]
libslv2-9/now 0.6.6+dfsg1-3build1 amd64  [installé, local]
libsndio6.1/now 1.1.0-3 amd64  [installé, local]
libsoundtouch0/now 1.7.1-5 amd64  [installé, local]
libssl1.0.0/now 1.0.2n-1ubuntu5.4 amd64  [installé, local]
libswscale2/now 6:9.18-0ubuntu0.14.04.1 amd64  [installé, local]
libsync-menu1/now 12.10.5+13.10.20131011-0ubuntu1 amd64  [installé, local]
libsystemd-daemon0/now 204-5ubuntu20.19 amd64  [installé, local]
libt1-5/now 5.1.2-3.6ubuntu1 amd64  [installé, local]
libtasn1-3/now 2.14-3 amd64  [installé, local]
libtxc-dxtn-s2tc0/now 0~git20131104-1.1 amd64  [installé, local]
libufe-xidgetter0/now 3.0.0+14.04.20140416-0ubuntu1.14.04.1 amd64  [installé, local]
libunistring0/now 0.9.3-5.2ubuntu1 amd64  [installé, local]
libupower-glib1/now 0.9.23-2ubuntu1 amd64  [installé, local]
libusbmuxd2/now 1.0.8-2ubuntu1 amd64  [installé, local]
libva1/now 1.7.0-1ubuntu0.1 amd64  [installé, local]
libvisio-0.0-0/now 0.0.31-1ubuntu2 amd64  [installé, local]
libvpx1/now 1.3.0-2 amd64  [installé, local]
libvte-2.90-9/now 1:0.34.9-1ubuntu2 amd64  [installé, local]
libvte-2.90-common/now 1:0.34.9-1ubuntu2 all  [installé, local]
libwebkitgtk-3.0-0/now 2.4.11-3ubuntu3 amd64  [installé, local]
libwildmidi1/now 0.3.8-2 amd64  [installé, local]
libwinpr-crt0.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libwinpr-dsparse0.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libwinpr-environment0.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libwinpr-file0.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libwinpr-handle0.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libwinpr-heap0.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libwinpr-input0.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libwinpr-interlocked0.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libwinpr-library0.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libwinpr-path0.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libwinpr-pool0.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libwinpr-registry0.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libwinpr-rpc0.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libwinpr-sspi0.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libwinpr-synch0.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libwinpr-sysinfo0.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libwinpr-thread0.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libwinpr-utils0.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libwpd-0.9-9/now 0.9.9-1 amd64  [installé, local]
libwpg-0.2-2/now 0.2.2-1ubuntu1 amd64  [installé, local]
libwps-0.2-2/now 0.2.9-2ubuntu1 amd64  [installé, local]
libx264-123/now 2:0.123.2189+git35cf912-1ubuntu1.1 amd64  [installé, local]
libxatracker1/now 9.2.1-1ubuntu3 amd64  [installé, local]
libxfont1/now 1:1.5.1-1ubuntu0.16.04.4 amd64  [installé, local]
libxfreerdp-client1.1/now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1 amd64  [installé, local]
libxp6/now 1:1.0.2-1ubuntu1 amd64  [installé, local]
lightdm-remote-session-freerdp/now 1.0-0ubuntu2 amd64  [installé, local]
lightdm-remote-session-uccsconfigure/now 1.1-0ubuntu2 amd64  [installé, local]
linux/now 3.11.0.26.27 amd64  [installé, local]
minecraft-installer/now 0.1+r12~ubuntu14.04.1 amd64  [installé, local]
module-init-tools/now 24-1ubuntu3.5 all  [installé, local]
mountall/now 2.54ubuntu1 amd64  [installé, local]
multiarch-support/now 2.27-3ubuntu1.2 amd64  [installé, local]
myspell-en-gb/now 1:5.1.0-1ubuntu2.2 all  [installé, local]
myspell-en-za/now 1:5.1.0-1ubuntu2.2 all  [installé, local]
net.downloadhelper.coapp/now 1.2.1 amd64  [installé, local]
nplan/now 0.99-0ubuntu3~18.04.3 all  [installé, local]
obex-data-server/now 0.4.6-1 amd64  [installé, local]
oneconf-common/now 0.3.9 all  [installé, local]
oneconf/now 0.3.9 all  [installé, local]
oracle-java7-installer/now 7u80+7u60arm-0~webupd8~1 all  [installé, local]
oracle-java8-jre/now 8u144 amd64  [installé, local]
oxideqt-codecs-extra/now 1.21.5-0ubuntu0.16.04.1 amd64  [installé, local]
pencil/now 0.5.4~git20160219.9d29f33+dfsg-1ubuntu1 all  [installé, local]
perl-modules-5.26/now 5.26.1-6ubuntu0.3 all  [installé, local]
php5.6-cli/now 5.6.38-1+ubuntu16.04.1+deb.sury.org+2 amd64  [installé, local]
php5.6-common/now 5.6.38-1+ubuntu16.04.1+deb.sury.org+2 amd64  [installé, local]
php5.6-json/now 5.6.38-1+ubuntu16.04.1+deb.sury.org+2 amd64  [installé, local]
php5.6-opcache/now 5.6.38-1+ubuntu16.04.1+deb.sury.org+2 amd64  [installé, local]
php5.6-readline/now 5.6.38-1+ubuntu16.04.1+deb.sury.org+2 amd64  [installé, local]
plainbox-secure-policy/now 0.25-1 all  [installé, local]
pyrenamer/now 0.6.0-1.2 all  [installé, local]
python-aptdaemon.gtk3widgets/now 1.1.1+bzr982-0ubuntu19.4 all  [installé, local]
python-aptdaemon/now 1.1.1+bzr982-0ubuntu19.4 all  [installé, local]
python-click/now 6.7-3 all  [installé, local]
python-colorama/now 0.3.7-1 all  [installé, local]
python-compizconfig/now 1:0.9.13.1+18.04.20180302-0ubuntu1 amd64  [installé, local]
python-configglue/now 1.1.2-0ubuntu3 all  [installé, local]
python-cups/now 1.9.73-2 amd64  [installé, local]
python-debtagshw/now 2.0.1ubuntu6 all  [installé, local]
python-defer/now 1.0.6-2build1 all  [installé, local]
python-dirspec/now 13.10-1ubuntu1 all  [installé, local]
python-gconf/now 2.28.1+dfsg-1.2 amd64  [installé, local]
python-glade2/now 2.24.0-5.1ubuntu2 amd64  [installé, local]
python-gnomekeyring/now 2.32.0+dfsg-3 amd64  [installé, local]
python-gtk2/now 2.24.0-5.1ubuntu2 amd64  [installé, local]
python-hachoir-core/now 1.3.3-4 all  [installé, local]
python-hachoir-metadata/now 1.3.3-2 all  [installé, local]
python-hachoir-parser/now 1.3.4-2 all  [installé, local]
python-ibus/now 1.5.5-1ubuntu3.2 all  [installé, local]
python-imaging-compat/now 2.3.0-1ubuntu3.3 all  [installé, local]
python-imaging/now 3.1.2-0ubuntu1.1 all  [installé, local]
python-incremental/now 16.10.1-3 all  [installé, local]
python-jwt/now 1.5.3+ds1-1 all  [installé, local]
python-notify/now 0.1.1-4 amd64  [installé, local]
python-oauthlib/now 2.0.6-1 all  [installé, local]
python-oneconf/now 0.3.9 all  [installé, local]
python-piston-mini-client/now 0.7.5-0ubuntu3 all  [installé, local]
python-renderpm/now 3.4.0-3ubuntu0.1 amd64  [installé, local]
python-reportlab-accel/now 3.4.0-3ubuntu0.1 amd64  [installé, local]
python-reportlab/now 3.4.0-3ubuntu0.1 all  [installé, local]
python-scour/now 0.36-2 all  [installé, local]
python-serial/now 3.4-2 all  [installé, local]
python-smbc/now 1.0.15.6-1build2 amd64  [installé, local]
python-twisted-bin/now 17.9.0-2ubuntu0.1 amd64  [installé, local]
python-twisted-core/now 17.9.0-2ubuntu0.1 all  [installé, local]
python-twisted-names/now 17.9.0-2ubuntu0.1 all  [installé, local]
python-twisted-web/now 17.9.0-2ubuntu0.1 all  [installé, local]
python-ubuntu-sso-client/now 13.10-0ubuntu11 all  [installé, local]
python-ubuntuone-client/now 13.10-0ubuntu1.2 all  [installé, local]
python-ubuntuone-control-panel/now 13.09-0ubuntu1 all  [installé, local]
python-ubuntuone-storageprotocol/now 13.10-0ubuntu1 all  [installé, local]
python-uniconvertor/now 1.1.5-2 amd64  [installé, local]
python-zeitgeist/now 1.0-0.1ubuntu1 all  [installé, local]
python3-checkbox-ng/now 0.23-2 all  [installé, local]
python3-checkbox-support/now 0.22-1 all  [installé, local]
python3-guacamole/now 0.9.2-2 all  [installé, local]
python3-oneconf/now 0.3.9 all  [installé, local]
python3-plainbox/now 0.25-1 all  [installé, local]
python3.3-minimal/now 3.3.2-7ubuntu3.1 amd64  [installé, local]
python3.3/now 3.3.2-7ubuntu3.1 amd64  [installé, local]
qtdeclarative5-test-plugin/now 5.9.5-0ubuntu1.1 amd64  [installé, local]
remote-login-service/now 1.0.0-0ubuntu3 amd64  [installé, local]
ruby2.0/now 2.0.0.484-1ubuntu2.2 amd64  [installé, local]
scrabble3d/now 3.1.0-29 amd64  [installé, local]
secureboot-db/now 1.6~20.04.1 amd64  [installé, local]
signon-ui/now 0.17+16.04.20151125-0ubuntu1 all  [installé, local]
skypeforlinux/now 8.32.0.44 amd64  [installé, local]
software-center-aptdaemon-plugins/now 0.1.6build1 all  [installé, local]
software-center/now 16.01+16.04.20160420 all  [installé, local]
steam-launcher/now 1.0.0.53 all  [installé, local]
sublime-text/now 2.0.2-1~webupd8~3 all  [installé, local]
sysv-rc/now 2.88dsf-59.3ubuntu2 all  [installé, local]
telepathy-salut/now 0.8.1-5.1 amd64  [installé, local]
thin-client-config-agent/now 0.8 all  [installé, local]
thunderbird-globalmenu/now 1:60.9.0+build1-0ubuntu0.18.04.1 amd64  [installé, local]
toshset/now 1.76-4 amd64  [installé, local]
transfig/now 1:3.2.6a-6ubuntu1 all  [installé, local]
ttf-indic-fonts-core/now 1:0.5.14ubuntu1 all  [installé, local]
ttf-wqy-microhei/now 0.2.0-beta-2 all  [installé, local]
ubuntu-extras-keyring/now 2010.09.27 all  [installé, local]
ubuntu-sso-client/now 13.10-0ubuntu11 all  [installé, local]
ubuntu-tweak/now 0.8.6-1~raring1 all  [installé, local]
ubuntuone-client-data/now 15.10+15.10.20151007 all  [installé, local]
ubuntuone-client/now 13.10-0ubuntu1.2 all  [installé, local]
ubuntuone-control-panel/now 13.09-0ubuntu1 all  [installé, local]
udisks/now 1.0.5-1 amd64  [installé, local]
unity-scope-gdrive/now 0.9+16.04.20151125-0ubuntu1 all  [installé, local]
ureadahead/now 0.100.0-21 amd64  [installé, local]
vdpau-va-driver/now 0.7.4-6ubuntu1 amd64  [installé, local]
xfonts-mathml/now 6ubuntu1 all  [installé, local]
xplanetfx/now 2.5.24 all  [installé, local]

Dernière modification par taosheng (Le 01/04/2021, à 14:48)

Hors ligne

#34 Le 01/04/2021, à 14:47

xubu1957

Re : Ubuntu 20.04 encore très lent au démarrage

Je ne sais pas nettoyer les paquets orphelins.

_ _ _

Détail pratique :

Règles du forum= § Politesse a écrit :

(...)
3. Utilisez la citation avec modération : il ne sert à rien de citer l'intégralité du post précédent.
(...)

règles du forum


Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Xubuntu 20.04 LTS - Lenovo T410 -18.04.1 LTS Toshiba Satellite A300  Membre de Linux-Azur

En ligne

#35 Le 01/04/2021, à 17:13

taosheng

Re : Ubuntu 20.04 encore très lent au démarrage

Alors, grâce à ce sujet,j'ai réussi à vider /var/log/journal en utilisant la commande :

journalctl --vacuum-size=200M

Grâce à celui-ci, j'ai normalement limité l'espace que peut occuper /var/log/journal.

Voici les retours de systemd-analyze time :

Startup finished in 5.124s (firmware) + 57.153s (loader) + 27.683s (kernel) + 1min 41.819s (userspace) = 3min 11.780s 
graphical.target reached after 1min 41.766s in userspace

de systemd-analyze critical-chain :

graphical.target @1min 41.766s
└─multi-user.target @1min 41.766s
  └─kerneloops.service @1min 27.511s +26ms
    └─network-online.target @1min 27.507s
      └─NetworkManager-wait-online.service @1min 11.082s +16.424s
        └─NetworkManager.service @1min 4.220s +6.855s
          └─dbus.service @1min 4.217s
            └─basic.target @1min 4.014s
              └─sockets.target @1min 4.014s
                └─snapd.socket @1min 4.013s +1ms
                  └─sysinit.target @1min 3.837s
                    └─systemd-timesyncd.service @1min 3.729s +108ms
                      └─systemd-tmpfiles-setup.service @1min 1.017s +2.675s
                        └─systemd-journal-flush.service @11.036s +49.980s
                          └─systemd-journald.service @10.232s +802ms
                            └─systemd-journald.socket @10.228s
                              └─-.mount @10.225s
                                └─system.slice @10.225s
                                  └─-.slice @10.225s

et de journalctl -b --unit systemd-journald :

-- Logs begin at Tue 2021-03-23 10:10:52 CET, end at Thu 2021-04-01 17:59:44 CEST. --
avril 01 17:55:13 taosheng-IdeaCentre-K430 systemd-journald[334]: Journal started
avril 01 17:55:13 taosheng-IdeaCentre-K430 systemd-journald[334]: Runtime Journal (/run/log/journal/7d4bba5593a5430307866da7525173cd) is 8.0M, max 79.2M, 71.2M free.
avril 01 17:55:13 taosheng-IdeaCentre-K430 systemd-journald[334]: Time spent on flushing to /var/log/journal/7d4bba5593a5430307866da7525173cd is 45.201860s for 905 entries.
avril 01 17:55:13 taosheng-IdeaCentre-K430 systemd-journald[334]: System Journal (/var/log/journal/7d4bba5593a5430307866da7525173cd) is 256.0M, max 4.0G, 3.7G free.

Étrangement, les temps "loader" et "kernel" sont remontés à leurs valeurs de mon premier post (57 et 27 secondes, alors qu'ils étaient descendu à 4 et 6 secondes...). En revanche, le temps "userspace" est passé de 8min45 à 1min40. Je croise les doigts pour que ça persiste, et je continue de chercher la cause de départ de ce démarrage qui était si long.

Dernière modification par taosheng (Le 01/04/2021, à 17:42)

Hors ligne

#36 Le 01/04/2021, à 18:21

taosheng

Re : Ubuntu 20.04 encore très lent au démarrage

Pour gagner encore quelques secondes, je me suis attaqué à NetworkManager-wait-online.service qui semble avoir pour fonction d'attendre une connexion au réseau, et qui peut ainsi bloquer le boot jusqu'à 30 secondes (si j'ai bien compris).
J'ai donc passé les commandes suivantes :

sudo systemctl disable NetworkManager-wait-online.service
sudo systemctl mask NetworkManager-wait-online.service

Et voici le systemd-analyze time après reboot :

Startup finished in 2.894s (firmware) + 4.090s (loader) + 6.821s (kernel) + 1min 29.422s (userspace) = 1min 43.229s 
graphical.target reached after 1min 29.391s in userspace

Ainsi que le systemd-analyze critical-chain :

graphical.target @1min 29.391s
└─multi-user.target @1min 29.391s
  └─ModemManager.service @54.197s +23.725s
    └─polkit.service @42.746s +11.448s
      └─basic.target @41.990s
        └─sockets.target @41.990s
          └─snapd.socket @41.989s +718us
            └─sysinit.target @41.749s
              └─systemd-timesyncd.service @41.507s +241ms
                └─systemd-tmpfiles-setup.service @37.519s +3.856s
                  └─systemd-journal-flush.service @5.835s +31.683s
                    └─systemd-journald.service @4.965s +868ms
                      └─systemd-journald.socket @4.961s
                        └─-.mount @4.959s
                          └─system.slice @4.959s
                            └─-.slice @4.959s

On constate une belle amélioration du temps de démarrage, passant de 3min11 dans le post précédent à 1min43 ici. En espérant que ça persiste et que je puisse passer le sujet en [Résolu].

Par contre, je ne m'explique pas l'étonnante diminution des temps de "loader" et de "kernel", qui sont passés de 57 et 27 secondes à 4 et 6 secondes...

Dernière modification par taosheng (Le 01/04/2021, à 18:24)

Hors ligne

#37 Le 01/04/2021, à 18:52

taosheng

Re : Ubuntu 20.04 encore très lent au démarrage

Je me suis débarrassé de ModemManager.service :

sudo systemctl disable ModemManager

systemd-analyze time :

Startup finished in 5.045s (firmware) + 34.793s (loader) + 26.810s (kernel) + 6min 50.248s (userspace) = 7min 56.897s 
graphical.target reached after 6min 50.198s in userspace

systemd-analyze critical-chain :

graphical.target @6min 50.198s
└─multi-user.target @6min 50.197s
  └─snapd.seeded.service @4min 34.929s +1min 3.364s
    └─snapd.service @4min 35.090s +57.842s
      └─basic.target @2min 53.255s
        └─sockets.target @2min 53.255s
          └─snapd.socket @2min 53.254s +612us
            └─sysinit.target @2min 49.237s
              └─systemd-timesyncd.service @2min 46.582s +2.654s
                └─systemd-tmpfiles-setup.service @2min 6.587s +38.855s
                  └─local-fs.target @2min 6.283s
                    └─boot-efi.mount @2min 5.634s +648ms
                      └─systemd-fsck@dev-disk-by\x2duuid-FCD2\x2d41A9.service @2min 227ms +4.890s
                        └─dev-disk-by\x2duuid-FCD2\x2d41A9.device @2min 226ms

Je n'y comprends plus rien. Presque 8 minutes pour démarrer, dont presque 7 pour "userspace".

Hors ligne

#38 Le 02/04/2021, à 05:33

iznobe

Re : Ubuntu 20.04 encore très lent au démarrage

Salut,

perso quand je vois ca :

System Journal (/var/log/journal/7d4bba5593a5430307866da7525173cd) is 4.0G, max 4.0G, 0B free.

c ' est a dire un fichier journal de 4 Go au max de sa capacité , je me dis qu ' il doit y avoir dedans ce fichier une ou des lignes qui doivent revenir un certain nombres de fois tres tres tres tres important .

generalement ca sera avec une grand probrabilité que ca soit lié avec ton probleme de lenteur de demarrage ...

les logs c ' est là pour aider , et au vu de sa taille , il t ' aidera en rapport surement roll , alors qu ' y a t il donc la dedans ? avec la ligne qui se repete le + souvent ?

Dernière modification par iznobe (Le 02/04/2021, à 06:07)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM . avec Ubuntu , LM et W$10

Hors ligne

#39 Le 02/04/2021, à 08:29

taosheng

Re : Ubuntu 20.04 encore très lent au démarrage

Salut @iznobe,

J'ai vidé le fichier journal (cf. post #35), ce qui me donne désormais :

tao-sheng[ven. avril 02 09:25:04]@~ journalctl -b --unit systemd-journald
-- Logs begin at Thu 2021-03-25 17:52:47 CET, end at Fri 2021-04-02 09:25:04 CEST. --
avril 02 09:10:44 taosheng-IdeaCentre-K430 systemd-journald[335]: Journal started
avril 02 09:10:44 taosheng-IdeaCentre-K430 systemd-journald[335]: Runtime Journal (/run/log/journal/7d4bba5593a5430307866da7525173cd) is 8.0M, max 79.2M, 71.2M free.
avril 02 09:10:44 taosheng-IdeaCentre-K430 systemd-journald[335]: Time spent on flushing to /var/log/journal/7d4bba5593a5430307866da7525173cd is 1min 17.286663s for 901 entries.
avril 02 09:10:44 taosheng-IdeaCentre-K430 systemd-journald[335]: System Journal (/var/log/journal/7d4bba5593a5430307866da7525173cd) is 176.0M, max 4.0G, 3.8G free.

Quant au temps pour booter ce matin :

tao-sheng[ven. avril 02 09:25:06]@~ systemd-analyze time
Startup finished in 8.812s (firmware) + 9.168s (loader) + 9.403s (kernel) + 2min 33.874s (userspace) = 3min 1.258s 
graphical.target reached after 2min 33.754s in userspace
tao-sheng[ven. avril 02 09:27:18]@~ systemd-analyze critical-chain
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

graphical.target @2min 33.754s
└─multi-user.target @2min 33.754s
  └─snapd.seeded.service @2min 13.353s +6.476s
    └─snapd.service @1min 46.506s +26.843s
      └─basic.target @1min 46.097s
        └─sockets.target @1min 46.097s
          └─snapd.socket @1min 46.094s +2ms
            └─sysinit.target @1min 45.825s
              └─systemd-timesyncd.service @1min 45.695s +129ms
                └─systemd-tmpfiles-setup.service @1min 40.814s +4.837s
                  └─local-fs.target @1min 10.788s
                    └─boot-efi.mount @1min 10.414s +373ms
                      └─systemd-fsck@dev-disk-by\x2duuid-FCD2\x2d41A9.service @1min 8.626s +1.774s
                        └─dev-disk-by\x2duuid-FCD2\x2d41A9.device @1min 8.623s

On retrouve des temps raisonnables (en tout cas par rapport au premier post de ce sujet), autour de 3 minutes pour démarrer.

Ce qui m'intrigue le plus, c'est le côté aléatoire de ces temps de démarrage... Si quelqu'un a une explication...

Hors ligne

#40 Le 02/04/2021, à 11:21

Amiralgaby

Re : Ubuntu 20.04 encore très lent au démarrage

Tu es passé sur Ubuntu 20.04 à parti d'une autre version où tu y est passé sans mise en niveau ?

Dans le cas d'une mise à niveau vers 20.04 via une autre version il faudrait sûrement recommancé avec la 20.04 clean.


Vive la communauté du Libre !!!

Hors ligne

#41 Le 02/04/2021, à 11:23

xubu1957

Re : Ubuntu 20.04 encore très lent au démarrage

Bonjour,

#17, taosheng a écrit :

...
Oui, je suis passé de LTS en LTS depuis 2013...


Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Xubuntu 20.04 LTS - Lenovo T410 -18.04.1 LTS Toshiba Satellite A300  Membre de Linux-Azur

En ligne

#42 Le 02/04/2021, à 11:45

ylag

Re : Ubuntu 20.04 encore très lent au démarrage

Bonjour,

Je te proposerais un test pour voir si le temps de démarrage en serait amélioré de beaucoup ?

- Supprimer le répertoire /var/log/journal et son contenu, ce qui aura pour effet d'interrompre la copie en dur des fichiers journaux sur ton système; ne restera alors que le journal de la session dans /run/log/journal :

sudo rm -rv /var/log/journal

....attention avec la commande rm -rv : il faut impérativement la copier/coller telle quelle sans ajouter d'espaces, sinon risque de casser ton système.

- Redémarrer et redonner les retours de :

systemd-analyze time
systemd-analyze critical-chain
journalctl -b --unit systemd-journald

Pour revenir à l'état initial si désiré, et redémarrer l'archivage des fichiers journaux en dur sur ton système, simplement recréer le répertoire /var/log/journal et suivre d'un redémarrage :

sudo mkdir /var/log/journal

Quant à la pertinence d'avoir les journaux en dur sur le système, ça reste à toi de voir si tu le considères utile ou pas; d'autres plus compétents que moi pourraient te donner leur opinion.

Ajout :
Tu pourrais aussi faire le même test sans avoir à supprimer le répertoire /var/log/journal, simplement en ajoutant l'entrée suivante à la section [Journal] du fichier
/etc/systemd/journald.conf :

Storage=volatile

...suivre d'un redémarrage.

Encore là, pour revenir à l'état précédent, simplement supprimer l'entrée du fichier et redémarrer.

A+

Dernière modification par ylag (Le 02/04/2021, à 12:44)

Hors ligne

#43 Le 03/04/2021, à 11:01

taosheng

Re : Ubuntu 20.04 encore très lent au démarrage

Bonjour @Ylag

Voici les retours après avoir supprimé /var/log/journal :

tao-sheng[sam. avril 03 11:53:21]@~ systemd-analyze time
Startup finished in 6.134s (firmware) + 45.436s (loader) + 33.001s (kernel) + 7min 34.078s (userspace) = 8min 58.651s 
graphical.target reached after 7min 34.060s in userspace
tao-sheng[sam. avril 03 11:53:25]@~ systemd-analyze critical-chain
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

graphical.target @7min 34.060s
└─multi-user.target @7min 34.060s
  └─snapd.seeded.service @4min 29.535s +58.869s
    └─snapd.service @4min 29.840s +56.269s
      └─basic.target @2min 55.339s
        └─sockets.target @2min 55.339s
          └─snapd.socket @2min 55.338s +593us
            └─sysinit.target @2min 53.907s
              └─systemd-update-utmp.service @2min 51.034s +2.873s
                └─systemd-tmpfiles-setup.service @2min 4.095s +46.698s
                  └─systemd-sysusers.service @37.960s +4.743s
                    └─systemd-remount-fs.service @36.332s +1.040s
                      └─systemd-journald.socket @33.888s
                        └─system.slice @33.886s
                          └─-.slice @33.886s
tao-sheng[sam. avril 03 11:57:57]@~ journalctl -b --unit systemd-journal
-- Logs begin at Sat 2021-04-03 11:45:37 CEST, end at Sat 2021-04-03 11:58:19 CEST. --
-- No entries --

Pas concluant malheureusement sad

Et les retours après avoir recréé /var/log/journal et passé en mode volatile :

tao-sheng[sam. avril 03 12:21:13]@~ systemd-analyze time
Startup finished in 3.002s (firmware) + 6.184s (loader) + 8.096s (kernel) + 1min 40.955s (userspace) = 1min 58.239s 
graphical.target reached after 1min 40.938s in userspace
tao-sheng[sam. avril 03 12:21:16]@~ systemd-analyze critical-chain
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

graphical.target @1min 40.938s
└─multi-user.target @1min 40.938s
  └─snapd.seeded.service @1min 14.313s +2.009s
    └─snapd.service @49.477s +24.834s
      └─basic.target @47.832s
        └─sockets.target @47.832s
          └─snapd.socket @47.831s +919us
            └─sysinit.target @47.639s
              └─systemd-update-utmp.service @47.414s +225ms
                └─systemd-tmpfiles-setup.service @39.864s +7.547s
                  └─local-fs.target @39.807s
                    └─boot-efi.mount @39.716s +90ms
                      └─systemd-fsck@dev-disk-by\x2duuid-FCD2\x2d41A9.service @38.393s +809ms
                        └─dev-disk-by\x2duuid-FCD2\x2d41A9.device @38.392s
tao-sheng[sam. avril 03 12:21:18]@~ journalctl -b --unit systemd-journal
-- Logs begin at Sat 2021-04-03 12:04:36 CEST, end at Sat 2021-04-03 12:21:13 CEST. --
-- No entries --

Donc difficile de trouver une cohérence dans ces temps de démarrage si aléatoires...

Dernière modification par taosheng (Le 03/04/2021, à 11:22)

Hors ligne

#44 Le 03/04/2021, à 11:15

xubu1957

Re : Ubuntu 20.04 encore très lent au démarrage

Bonjour,

snapd.seeded.service @4min 29.535s +58.869s
    └─snapd.service @4min 29.840s +56.269s
          └─snapd.socket @2min 55.338s +593us

Je trouve cette page > dz-techs.com/fr/make-linux-boot-faster, mais ce n'est pas de mon niveau.

        _ _ _

(edit=messages regroupés)
        _ _ _

Montre :

df -Th

vu cette discussion > Ubuntu 20.04 encore très lent au démarrage

Le 11/11/2019, François Marthaler a écrit :

Bonsoir,

En recherchant "Started Wait until snapd is fully seeded." sur Internet, je suis tombé sur cette discussion sur askubuntu.com qui mentionne un problème lié au fait que le disque sur lequel se trouve le système est plein (en l'occurrence, des fichiers de log où Ubuntu écrit tout ce qu'il tente de faire).

Dernière modification par xubu1957 (Le 03/04/2021, à 11:32)


Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Xubuntu 20.04 LTS - Lenovo T410 -18.04.1 LTS Toshiba Satellite A300  Membre de Linux-Azur

En ligne

#45 Le 03/04/2021, à 11:25

geole

Re : Ubuntu 20.04 encore très lent au démarrage

Bonjour
Peux-tu publier les erreurs rencontrées pendant le démarrage?

journalctl -b -p err

En ligne

#46 Le 03/04/2021, à 11:54

taosheng

Re : Ubuntu 20.04 encore très lent au démarrage

xubu1957 a écrit :

Montre :

df -Th
tao-sheng[sam. avril 03 12:50:10]@~ df -Th
Sys. de fichiers Type     Taille Utilisé Dispo Uti% Monté sur
udev             devtmpfs   3,9G       0  3,9G   0% /dev
tmpfs            tmpfs      793M    2,0M  791M   1% /run
/dev/sdb4        ext4       897G    500G  352G  59% /
tmpfs            tmpfs      3,9G       0  3,9G   0% /dev/shm
tmpfs            tmpfs      5,0M    4,0K  5,0M   1% /run/lock
tmpfs            tmpfs      3,9G       0  3,9G   0% /sys/fs/cgroup
/dev/loop0       squashfs   139M    139M     0 100% /snap/chromium/1536
/dev/loop2       squashfs    56M     56M     0 100% /snap/core18/1997
/dev/loop3       squashfs   139M    139M     0 100% /snap/chromium/1523
/dev/loop4       squashfs    65M     65M     0 100% /snap/gtk-common-themes/1513
/dev/loop1       squashfs   163M    163M     0 100% /snap/gnome-3-28-1804/145
/dev/loop5       squashfs   218M    218M     0 100% /snap/gnome-3-34-1804/60
/dev/loop9       squashfs    33M     33M     0 100% /snap/snapd/11107
/dev/loop7       squashfs    52M     52M     0 100% /snap/snap-store/498
/dev/loop11      squashfs    52M     52M     0 100% /snap/snap-store/518
/dev/loop8       squashfs    56M     56M     0 100% /snap/core18/1988
/dev/loop13      squashfs   219M    219M     0 100% /snap/gnome-3-34-1804/66
/dev/loop14      squashfs    33M     33M     0 100% /snap/snapd/11402
/dev/loop12      squashfs    65M     65M     0 100% /snap/gtk-common-themes/1514
/dev/sda2        vfat       256M     39M  218M  16% /boot/efi
/dev/sdb1        fuseblk    920G    259G  661G  29% /mnt/A88EDADA8EDA9FDC
tmpfs            tmpfs      793M     32K  793M   1% /run/user/1000
geole a écrit :

Bonjour
Peux-tu publier les erreurs rencontrées pendant le démarrage?

journalctl -b -p err
tao-sheng[sam. avril 03 12:53:55]@~ journalctl -b -p err
-- Logs begin at Sat 2021-04-03 12:04:36 CEST, end at Sat 2021-04-03 12:53:55 CEST. --
avril 03 12:04:36 taosheng-IdeaCentre-K430 kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.SPT0._GTF.DSSP], AE_NOT_FOUND (20190816/psargs-330)
avril 03 12:04:36 taosheng-IdeaCentre-K430 kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.SPT0._GTF due to previous error (AE_NOT_FOUND) (20190816/psparse-529)
avril 03 12:04:36 taosheng-IdeaCentre-K430 kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.SPT0._GTF.DSSP], AE_NOT_FOUND (20190816/psargs-330)
avril 03 12:04:36 taosheng-IdeaCentre-K430 kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.SPT0._GTF due to previous error (AE_NOT_FOUND) (20190816/psparse-529)
avril 03 12:04:36 taosheng-IdeaCentre-K430 kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.SPT3._GTF.DSSP], AE_NOT_FOUND (20190816/psargs-330)
avril 03 12:04:36 taosheng-IdeaCentre-K430 kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.SPT3._GTF due to previous error (AE_NOT_FOUND) (20190816/psparse-529)
avril 03 12:04:36 taosheng-IdeaCentre-K430 kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.SPT3._GTF.DSSP], AE_NOT_FOUND (20190816/psargs-330)
avril 03 12:04:36 taosheng-IdeaCentre-K430 kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.SPT3._GTF due to previous error (AE_NOT_FOUND) (20190816/psparse-529)
avril 03 12:04:36 taosheng-IdeaCentre-K430 kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.SPT1._GTF.DSSP], AE_NOT_FOUND (20190816/psargs-330)
avril 03 12:04:36 taosheng-IdeaCentre-K430 kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.SPT1._GTF due to previous error (AE_NOT_FOUND) (20190816/psparse-529)
avril 03 12:04:36 taosheng-IdeaCentre-K430 kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.SPT1._GTF.DSSP], AE_NOT_FOUND (20190816/psargs-330)
avril 03 12:04:36 taosheng-IdeaCentre-K430 kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.SPT1._GTF due to previous error (AE_NOT_FOUND) (20190816/psparse-529)
avril 03 12:04:40 taosheng-IdeaCentre-K430 systemd-udevd[418]: /etc/udev/rules.d/60-brother-libsane-type1-inst.rules:14 Invalid key 'SYSFS'
avril 03 12:04:41 taosheng-IdeaCentre-K430 systemd-udevd[418]: /etc/udev/rules.d/ft-rockey.rules:1 Invalid key 'BUS'
avril 03 12:05:22 taosheng-IdeaCentre-K430 systemd[1]: Failed to start LSB: Run /etc/rc.local if it exist.
avril 03 12:05:26 taosheng-IdeaCentre-K430 smartd[1190]: Device: /dev/sdb [SAT], 72 Currently unreadable (pending) sectors (changed -65040)
avril 03 12:05:26 taosheng-IdeaCentre-K430 smartd[1190]: Device: /dev/sdb [SAT], 72 Offline uncorrectable sectors (changed -65040)
avril 03 12:05:30 taosheng-IdeaCentre-K430 systemd[1]: Failed to start /etc/rc.local Compatibility.
avril 03 12:05:43 taosheng-IdeaCentre-K430 wpa_supplicant[1209]: bgscan simple: Failed to enable signal strength monitoring
avril 03 12:05:48 taosheng-IdeaCentre-K430 systemd[1]: Failed to start resolvconf-pull-resolved.service.
avril 03 12:06:14 taosheng-IdeaCentre-K430 gdm-password][2124]: gkr-pam: unable to locate daemon control file
avril 03 12:06:26 taosheng-IdeaCentre-K430 pulseaudio[2145]: GetManagedObjects() failed: org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)
avril 03 12:35:27 taosheng-IdeaCentre-K430 smartd[1190]: Device: /dev/sdb [SAT], 65504 Currently unreadable (pending) sectors (changed +65432)
avril 03 12:35:27 taosheng-IdeaCentre-K430 smartd[1190]: Device: /dev/sdb [SAT], 65504 Offline uncorrectable sectors (changed +65432)

Hors ligne

#47 Le 03/04/2021, à 12:23

geole

Re : Ubuntu 20.04 encore très lent au démarrage

avril 03 12:05:26 taosheng-IdeaCentre-K430 smartd[1190]: Device: /dev/sdb [SAT], 72 Currently unreadable (pending) sectors (changed -65040)
avril 03 12:05:26 taosheng-IdeaCentre-K430 smartd[1190]: Device: /dev/sdb [SAT], 72 Offline uncorrectable sectors (changed -65040)

sdb4: __________________________________________________________________________
    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04.2 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub

Merci de donner ce retour

sudo smartctl -s on -a /dev/sdb

Dernière modification par geole (Le 03/04/2021, à 12:39)

En ligne

#48 Le 03/04/2021, à 12:28

taosheng

Re : Ubuntu 20.04 encore très lent au démarrage

geole a écrit :

Merci de donner ce retour

sudo smartctl -s on -a /dev/sdb
tao-sheng[sam. avril 03 13:26:46]@~ sudo smartctl -s on -a /dev/sdb
[sudo] Mot de passe de tao-sheng : 
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-70-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.14 (AF)
Device Model:     ST2000DM001-9YN164
Serial Number:    S1E13JK1
LU WWN Device Id: 5 000c50 05b8ea765
Firmware Version: CC62
User Capacity:    2000398934016 bytes [2,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sat Apr  3 13:26:59 2021 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82)	Offline data collection activity
					was completed without error.
					Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(  584) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 ( 223) minutes.
Conveyance self-test routine
recommended polling time: 	 (   2) minutes.
SCT capabilities: 	       (0x3085)	SCT Status supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   113   089   006    Pre-fail  Always       -       53124048
  3 Spin_Up_Time            0x0003   094   094   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   097   097   020    Old_age   Always       -       3932
  5 Reallocated_Sector_Ct   0x0033   076   076   036    Pre-fail  Always       -       31608
  7 Seek_Error_Rate         0x000f   084   060   030    Pre-fail  Always       -       4615822334
  9 Power_On_Hours          0x0032   078   078   000    Old_age   Always       -       19894
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   097   097   020    Old_age   Always       -       3931
183 Runtime_Bad_Block       0x0032   099   099   000    Old_age   Always       -       1
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   001   001   000    Old_age   Always       -       4865
188 Command_Timeout         0x0032   100   095   000    Old_age   Always       -       4 77 81
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   055   046   045    Old_age   Always       -       45 (Min/Max 21/46)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       136
193 Load_Cycle_Count        0x0032   099   099   000    Old_age   Always       -       3936
194 Temperature_Celsius     0x0022   045   054   000    Old_age   Always       -       45 (0 15 0 0 0)
197 Current_Pending_Sector  0x0012   001   001   000    Old_age   Always       -       65328
198 Offline_Uncorrectable   0x0010   001   001   000    Old_age   Offline      -       65328
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       20132h+01m+18.986s
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       140556335169050
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       177827934971858

SMART Error Log Version: 1
ATA Error Count: 1279 (device log contains only the most recent five errors)
	CR = Command Register [HEX]
	FR = Features Register [HEX]
	SC = Sector Count Register [HEX]
	SN = Sector Number Register [HEX]
	CL = Cylinder Low Register [HEX]
	CH = Cylinder High Register [HEX]
	DH = Device/Head Register [HEX]
	DC = Device Command Register [HEX]
	ER = Error register [HEX]
	ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 1279 occurred at disk power-on lifetime: 19856 hours (827 days + 8 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 b8 ff ff ff 4f 00      02:02:57.392  READ FPDMA QUEUED
  60 00 40 ff ff ff 4f 00      02:02:57.392  READ FPDMA QUEUED
  60 00 c0 ff ff ff 4f 00      02:02:57.392  READ FPDMA QUEUED
  60 00 48 ff ff ff 4f 00      02:02:57.392  READ FPDMA QUEUED
  60 00 c0 ff ff ff 4f 00      02:02:57.392  READ FPDMA QUEUED

Error 1278 occurred at disk power-on lifetime: 19856 hours (827 days + 8 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 b8 ff ff ff 4f 00      02:02:46.832  READ FPDMA QUEUED
  60 00 40 ff ff ff 4f 00      02:02:46.832  READ FPDMA QUEUED
  60 00 c0 ff ff ff 4f 00      02:02:46.832  READ FPDMA QUEUED
  60 00 40 ff ff ff 4f 00      02:02:46.832  READ FPDMA QUEUED
  60 00 c0 ff ff ff 4f 00      02:02:46.832  READ FPDMA QUEUED

Error 1277 occurred at disk power-on lifetime: 19798 hours (824 days + 22 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 08 ff ff ff 4f 00      00:45:18.842  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:45:18.840  READ FPDMA QUEUED
  60 00 a8 ff ff ff 4f 00      00:45:18.833  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:45:18.833  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:45:18.833  READ FPDMA QUEUED

Error 1276 occurred at disk power-on lifetime: 19798 hours (824 days + 22 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 08 ff ff ff 4f 00      00:45:15.939  READ FPDMA QUEUED
  60 00 a8 ff ff ff 4f 00      00:45:15.924  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00      00:45:15.915  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:45:15.891  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:45:15.891  READ FPDMA QUEUED

Error 1275 occurred at disk power-on lifetime: 19798 hours (824 days + 22 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 08 ff ff ff 4f 00      00:45:12.952  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:45:12.941  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:45:12.940  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:45:12.933  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:45:12.909  READ FPDMA QUEUED

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

tao-sheng[sam. avril 03 13:27:03]@~ 

Hors ligne

#49 Le 03/04/2021, à 12:47

geole

Re : Ubuntu 20.04 encore très lent au démarrage

taosheng a écrit :
tao-sheng[sam. avril 03 13:26:46]@~ sudo smartctl -s on -a /dev/sdb
=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.14 (AF)
Device Model:     ST2000DM001-9YN164
User Capacity:    2000398934016 bytes [2,00 TB]

ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0033   076   076   036    Pre-fail  Always       -       31608
  9 Power_On_Hours          0x0032   078   078   000    Old_age   Always       -       19894
187 Reported_Uncorrect      0x0032   001   001   000    Old_age   Always       -       4865
197 Current_Pending_Sector  0x0012   001   001   000    Old_age   Always       -       65328
198 Offline_Uncorrectable   0x0010   001   001   000    Old_age   Offline      -       65328
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       140556335169050
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       177827934971858

SMART Error Log Version: 1
ATA Error Count: 1279 (device log contains only the most recent five errors)

Error 1279 occurred at disk power-on lifetime: 19856 hours   Error: UNC at LBA  268435455

Je te suggère de remplacer le disque...
Il y a beaucoup trop de pending. Cela ne me semble pas valoir  le coup de faire un formatage lent avec gmone disk utility

Dernière modification par geole (Le 03/04/2021, à 12:47)

En ligne

#50 Le 03/04/2021, à 12:50

taosheng

Re : Ubuntu 20.04 encore très lent au démarrage

C'est justement ce que je commençais à envisager : remplacer le disque et recommencer sur une installation propre...
Le seul problème, c'est que j'ai actuellement un dual-boot, avec Windows sur un disque sain (sda), et Ubuntu sur le disque qui pose problème (sdb). Or, sur le disque où est installé ubuntu, je ne sais pas pourquoi il y a une partition de 26GB dont le type est Microsoft Windows Recovery Environment (System). Du coup je me demande si remplacer ce disque ne me posera pas de problèmes avec le disque restant...

Disque /dev/sda : 1,84 TiB, 2000398934016 octets, 3907029168 secteurs
Disk model: ST2000DM001-9YN1
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 4096 octets
taille d'E/S (minimale / optimale) : 4096 octets / 4096 octets
Type d'étiquette de disque : gpt
Identifiant de disque : D0EE821F-4A2C-4EBE-A09D-7D69422949E6

Périphérique      Début        Fin   Secteurs Taille Type
/dev/sda1          2048    2050047    2048000  1000M Environnement de récupérati
/dev/sda2       2050048    2582527     532480   260M Système EFI
/dev/sda3       2582528    3606527    1024000   500M Partition d'amorçage Lenovo
/dev/sda4       3606528    3868671     262144   128M Réservé Microsoft
/dev/sda5       3868672 3905949541 3902080870   1,8T Données de base Microsoft
/dev/sda6    3905949696 3907028991    1079296   527M Environnement de récupérati


Disque /dev/sdb : 1,84 TiB, 2000398934016 octets, 3907029168 secteurs
Disk model: ST2000DM001-9YN1
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 4096 octets
taille d'E/S (minimale / optimale) : 4096 octets / 4096 octets
Type d'étiquette de disque : gpt
Identifiant de disque : F26B77F8-62F2-4A9D-AE9C-3837A99CDB00

Périphérique      Début        Fin   Secteurs Taille Type
/dev/sdb1          2048 1927915519 1927913472 919,3G Données de base Microsoft
/dev/sdb2    3855828992 3907028991   51200000  24,4G Environnement de récupérati
/dev/sdb3    1927915520 1928110079     194560    95M Système EFI
/dev/sdb4    1928110080 3839131647 1911021568 911,3G Données de base Microsoft
/dev/sdb5    3839131648 3855828991   16697344     8G Partition d'échange Linux

Les entrées de la table de partitions ne sont pas dans l'ordre du disque.

Dernière modification par taosheng (Le 03/04/2021, à 13:03)

Hors ligne