Apparently the reason my computer has been taking 2 minutes to boot was a faulty network mount

  • passepartout@feddit.de
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    You can use systemd-analyze blame if you want raw numbers:

    This command 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.

    Good way to see if your systemd also waits 2 minutes for a network connection which already exists but it can’t see it because systemd doesn’t do the networking (lxc containers on proxmox in my case) lol.

    Also see systemd-analyze.

  • jsdz@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    I’m pretty sure the main system startup bottleneck is me typing the disk encryption passphrase.

    • astrsk@artemis.camp
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Combine that with the 20-30 seconds my system takes to do bios memory training on the DDR5 ram and we’re practically back to the “go make some coffee while the system boots up” days 🤦

  • Pantherina@feddit.de
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    My bottleneck at boot is my damn Bios… I am so hyped about flashing Heads on my Thinkpad T430.

    Even the old legacy Lenovo bioses where very fast at startup. The UEFI (with extremely nice secure-boot settings too) of an AMD Acer starts up in like 2 seconds. My old intel Thinkpad T430 needs like 4 seconds.

    And then my Lenovo T495 bullshit UEFI comes. No secure boot configuration at all, I have no idea how to boot from USB sticks, and this thing needs nearly 10 seconds to boot! Linux compared, a full Desktop OS, needs 3 seconds to show SDDM (after the LUKS dialog)

    • stifle867@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      The top/1st line is the first service and it cascaded down as each subsequent service starts. Left to right is time elapsed. Bright red line is time to start that service. Shorter is better.

      Does that help?