What are your tips for faster boots? My system seems to hang a bit at POST until it boots into Mint. Right after post I’ll get a blinking cursor for about a full minute until it boots in. All ssd, so I know it’s something I must have done wrong. It’s also a 14 year old processor (amd fx be 8 core, rx580), but win### booted faster on it.

  • Xanza@lemm.ee
    link
    fedilink
    English
    arrow-up
    24
    ·
    edit-2
    4 days ago

    Mint uses systemd, so just use it; systemd-analyze / systemd-analyze blame.

    You can also visualize it;

    $ systemd-analyze plot > boot_analysis.svg
    $ xviewer boot_analysis.svg  
    
    • lambalicious
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 days ago

      Considering that from my own experience systemd tends to increment boot times by a factor of about 20x due to insisting about things like raising a wifi interface that won’t ever connect because you’re later on supposed to plug in the wifi password (no save to store), which is an outright historic systemd problem, I wonder: is systemd-anamyze blame at least honest enough to recognize the fault is in its own design, or will it always blame it on something else in the system?

      • Xanza@lemm.ee
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 days ago

        I couldn’t tell you. Personally I avoid systemd. My daily driver is Alpine Linux. lol

        • lambalicious
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 days ago

          Alpine? How does it do? I’ve heard it’s pretty good for containers but at the same time some reasonable complaints for end-user workflows such as “it doesn’t even have locales”.

          • Xanza@lemm.ee
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 days ago

            It has its quirks. But personally I prioritize performance over just about anything else, so I tried it as a daily driver and I haven’t found anything yet which would make me drop it. I especially like it in headless environments. All my VPS run it, and it runs critical infrastructure which I’m responsible for that monitors oil and gas extraction rates–so some pretty critical infrastructure.

            Pretty rock solid.

    • applemao@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      4 days ago

      This is so cool. I don’t know how yall know all this stuff but thanks for sharing ! My startup is 1 min 21 seconds. I know it should be more like 20 seconds

      • Xanza@lemm.ee
        link
        fedilink
        English
        arrow-up
        5
        ·
        4 days ago

        I think that’s really an oversimplification–it really all depends. Systems won’t boot in under 20 seconds under all circumstances, and just because your system takes a while to boot doesn’t necessarily indicate there’s an issue.

        But either way, systemd-analize blame will help you track down some possible issues and hopefully correct them.

        Another thing you can try if you’re running Gnome, is to edit the application.desktop file in your system application launch folder and add a startup delay X-GNOME-Autostart-Delay=60 to some non-critical applications that you still want to run at startup. This will ensure that not everything tries to star at once, but you still get all your helpful apps to run at startup.

    • Tyoda@lemm.ee
      link
      fedilink
      English
      arrow-up
      4
      ·
      4 days ago

      This is the second time I hear about systemd-analyze, which is funny because the first time was earlier today in that Brodie Robertson video about that pewdiepie video…

      Anyway, I checked it out and the only thing I noticed was that cups took a whole second, which wouldn’t matter, except that I hardly have a printer to print with anyway, so I disabled it. (could also just remove cups I guess)

      • Xanza@lemm.ee
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 days ago

        I feel like the issue is pretty prevalent in the community as systemd not being incredibly popular with the fogies (myself included). Systemd is expanding at an exponential rate and the documentation is difficult to sift through for niche things like this.

        But yes, it does exist and works relatively well.