1

Sorry in advance if this is a stupid question, but I'm new to this issue and every time I google it, I just get comparisons of upstart versus systemd.

Anyway, my Samsung laptop with Mint 18 is taking a long time to boot (a little over 2 min). So after googling around I found the command systemd-analyze time (and blame and etc), which say that my laptop boots in 45 seconds, which is just plain wrong.

So I searched around and in many places I heard that switching to upstart, which is more stable apparently, solved this issue.

So my questions are:

  • should I try to switch to upstart (is it safe)?
  • how do you switch to upstart?

At this point I'm not even sure that systemd and upstart are to be honest, and can't find this information out there since all I get are comparisons between the two.

  • init choice is usually tied to the distro. Unless you're using Gentoo, you're going to have to stay with systemd or switch to a distro that still uses upstart. – Bratchley Jul 15 '16 at 18:38
  • How are you timing the startup time? With a stopwatch, starting from the moment you press the button until your desktop is visible and the wifi is connected? Or something else? – drewbenn Jul 15 '16 at 18:49
  • @drewbenn I'm doing it very approximately with my watch. How should I measure it correctly? – TomCho Jul 15 '16 at 18:56
  • More importantly, what are your start and end points? systemd-analyze time will show the time to start up the kernel and some userspace initialization, but not things like the BIOS (pre-kernel) or desktop environment (post-kernel). So some of the discrepancy could be a result of you and systemd measuring different things. – drewbenn Jul 15 '16 at 19:01
  • @drewbenn then it might be timing it correctly. Starting the timing as the Mint logo appears until the log in screen takes approximately 45 seconds. But then again, how do I speed that up? That seems like an awful lot. Both from the Mint logo to the login screen, and from logging in until actually arriving at the desktop environment. Should I change my question? – TomCho Jul 16 '16 at 15:07
0

Even if I am not pro systemd for many reasons slowness isn't one of them.

I doubt you'll get better boot time just by switching init system (except from sysVinit to something that parallelise init sequence). I guess some operation / hanging service start bump your boot time. Maybe you should take a look at your dmesg output and syslog to check if something seems wrong.

If you have a usb 3 key with great reading perf you can try upstart by booting on a live distribution that use it like ubuntu 12.04, The result will be flawed by reading operations but in your case I don't think it's the main factor that slow down your boot time.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.