Startup benchmarking on Fedora 24

0

My Fedora 24 PC is taking more than 2 minutes to reach a usable state.

Back when I used Ubuntu, bootchart would generate a detailed graph of boot time showing how long each component took to initialize. There is a bootchart package for Ubuntu and, upon installed, it can be invoke via CLI as bootchart.

Although there is no bootchart package for Fedora, I found a quite convoluted way ok invoking bootchart. However, it didn't provide much in a way of an insight on improving boot speed:

enter image description here

How can I obtain a more in-depth report on what makes Fedora boot so slow?

That Brazilian Guy

Posted 2016-10-01T01:08:57.010

Reputation: 5 880

Answers

1

I found out systemd-analyze provides detailed information

systemd-analyze - Analyze system boot-up performance. (...) Determine system boot-up performance statistics and other state and tracing information

It comes preinstalled in Fedora an can be invoked simply by calling

  • systemd-analyze blame: shows how long it took for each service to start.

    prints a list of all running units, ordered by the time they took to initialize. Note that the output might be misleading as the initialization of one service might be slow simply because it waits for the initialization of another service to complete.

  • systemd-analyze critical-chain:

    prints a tree of the time-critical chain of units. Note that the output might be misleading as the initialization of one service might depend on socket activation and because of the parallel execution of units.

That Brazilian Guy

Posted 2016-10-01T01:08:57.010

Reputation: 5 880