Analyse system boot up performance by ‘systemd’ or ‘systemd-analyse:’ in fedora

systemd-analyse binary has different options to list this: 2 of the interesting options are ‘time’ and ‘blame’

   ‘systemd-analyze time’ prints the time spent in the kernel before userspace has been reached, the time spent in the initial RAM disk (initrd)
before normal system userspace has been reached and the time normal system userspace took to initialize. Note that these measurements
simply measure the time passed up to the point where all system services have been spawned, but not necessarily until they fully finished
initialization or the disk is idle.

     systemd-analyze blame prints a list of all running units, ordered by the time they took to initialize. This information may be used to
optimize boot-up times. 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.

2 thoughts on “Analyse system boot up performance by ‘systemd’ or ‘systemd-analyse:’ in fedora”

  1. “systemd-analyze critical-chain” is more useful than “blame”.

    Enabling systemd-readahead can also help with stat up time.

    1. Zoidberg, Thanks for pointers on ‘crtical-chain’ and ‘readahead’.. I will try those and get back!

Leave a Reply

Your email address will not be published. Required fields are marked *