khalifa97
March 31st, 2019, 01:52 AM
My PC got super slow about I had reinstalled it.
Here is how my PC specs are like:
8GB RAM
128SSD(Windows), 60GB (Linux) and 940 GB HDD
Nvidia GTX MX150
Intel(R) Core(TM) i7-8550U CPU @ 1.80G
and that's the output of the following commands:
$ systemd-analyze blame
29.827s dev-sda6.device
23.895s systemd-journal-flush.service
22.245s dev-loop6.device
21.042s dev-loop4.device
20.921s dev-loop5.device
20.537s systemd-udevd.service
20.219s dev-loop0.device
19.514s dev-loop1.device
19.294s dev-loop3.device
19.224s dev-loop2.device
17.709s plymouth-quit-wait.service
7.634s NetworkManager-wait-online.service
6.896s ModemManager.service
6.858s plymouth-start.service
6.125s snapd.service
5.874s gpu-manager.service
5.868s udisks2.service
5.316s bolt.service
4.976s accounts-daemon.service
3.837s NetworkManager.service
3.600s polkit.service
3.181s networking.service
2.838s networkd-dispatcher.service
$ systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.
graphical.target @58.601s
└─multi-user.target @58.601s
└─kerneloops.service @48.472s +124ms
└─network-online.target @48.449s
└─NetworkManager-wait-online.service @40.814s +7.634s
└─NetworkManager.service @36.975s +3.837s
└─dbus.service @35.828s
└─basic.target @35.585s
└─sockets.target @35.585s
└─snapd.socket @35.533s +52ms
└─sysinit.target @35.532s
└─apparmor.service @33.370s +2.161s
└─local-fs.target @33.272s
└─run-user-121.mount @44.434s
└─local-fs-pre.target @6.133s
└─keyboard-setup.service @3.976s +2.156s
└─systemd-journald.socket @3.940s
└─system.slice @3.940s
└─-.slice @3.927s
$ systemd-analyze
Startup finished in 6.573s (firmware) + 3.282s (loader) + 8.883s (kernel) + 1min 1.758s (userspace) = 1min 20.497s
graphical.target reached after 58.601s in userspace
sometimes It takes much much longer than this the time it took a whole 3.5mins to boot.
P.S: When I reinstalled I used the option "Erase Ubuntu 18.04 and Install a new one" not the something else option
Anyways, thank you for your time and I would be quite grateful if anyone could help
Here is how my PC specs are like:
8GB RAM
128SSD(Windows), 60GB (Linux) and 940 GB HDD
Nvidia GTX MX150
Intel(R) Core(TM) i7-8550U CPU @ 1.80G
and that's the output of the following commands:
$ systemd-analyze blame
29.827s dev-sda6.device
23.895s systemd-journal-flush.service
22.245s dev-loop6.device
21.042s dev-loop4.device
20.921s dev-loop5.device
20.537s systemd-udevd.service
20.219s dev-loop0.device
19.514s dev-loop1.device
19.294s dev-loop3.device
19.224s dev-loop2.device
17.709s plymouth-quit-wait.service
7.634s NetworkManager-wait-online.service
6.896s ModemManager.service
6.858s plymouth-start.service
6.125s snapd.service
5.874s gpu-manager.service
5.868s udisks2.service
5.316s bolt.service
4.976s accounts-daemon.service
3.837s NetworkManager.service
3.600s polkit.service
3.181s networking.service
2.838s networkd-dispatcher.service
$ systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.
graphical.target @58.601s
└─multi-user.target @58.601s
└─kerneloops.service @48.472s +124ms
└─network-online.target @48.449s
└─NetworkManager-wait-online.service @40.814s +7.634s
└─NetworkManager.service @36.975s +3.837s
└─dbus.service @35.828s
└─basic.target @35.585s
└─sockets.target @35.585s
└─snapd.socket @35.533s +52ms
└─sysinit.target @35.532s
└─apparmor.service @33.370s +2.161s
└─local-fs.target @33.272s
└─run-user-121.mount @44.434s
└─local-fs-pre.target @6.133s
└─keyboard-setup.service @3.976s +2.156s
└─systemd-journald.socket @3.940s
└─system.slice @3.940s
└─-.slice @3.927s
$ systemd-analyze
Startup finished in 6.573s (firmware) + 3.282s (loader) + 8.883s (kernel) + 1min 1.758s (userspace) = 1min 20.497s
graphical.target reached after 58.601s in userspace
sometimes It takes much much longer than this the time it took a whole 3.5mins to boot.
P.S: When I reinstalled I used the option "Erase Ubuntu 18.04 and Install a new one" not the something else option
Anyways, thank you for your time and I would be quite grateful if anyone could help