Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Boot time/memory comparison: sysvinit vs systemd

Here you can discuss every aspect of Debian. Note: not for support requests!
Message
Author
User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Boot time/memory comparison: sysvinit vs systemd

#21 Post by Head_on_a_Stick »

@deb-fan (CBizGreat):

Arch is using version 218 ATM and jessie is on version 215 and this will be the release version but it will get bug-fixes so the versioning doesn't tell the whole story.

The main difference between Arch & Debian is that Arch only patches the packages if absolutely necessary, they try to just pass on the upsteam source if at all possible.

Debian OTOH love a good patch -- this can be a good thing as sometimes packages will work in Debian sid but not in Arch (especially stuff like GNOME-shell).

As for the boot times, I think the OP is right in this case -- I really can't tell much difference between SysVinit & systemd on my sid system.

The main difference for me is that I find it much easier to control and (in particular) query & troubleshoot running services and daemons under systemd.

Of course this may be because I don't know what I'm doing when it comes to SysVinit...

Also, I have to say that I prefer the BSD/Slackware-style booting system over SysVinit -- again just because I find it easier to control stuff.

Of course that's just my opinion and I'm still very much a GNU/Linux n00b.
deadbang

Deb-fan
Posts: 1047
Joined: 2012-08-14 12:27
Been thanked: 4 times

Re: Boot time/memory comparison: sysvinit vs systemd

#22 Post by Deb-fan »

Yeah knew about ( and forgot the whole vanilla packages aspect of Arch), long since quit caring what Arch is doing, though still look over the awesome wiki the distro has. Your input is always valued by me, HOAS regardless.

Think Sid repo has 3.15 too ? So again, if you feel adventurous and have a testing partition handy, might try adding and pinning Deb experimental and pulling in 3.18 from it on a Sid clone ? Though wouldn't blame ya a bit if ya just gave me the finger and said nope, not spending the time. Also ... as commented above, there are tweaks for systemd. Lol ... you're going to google it now, I know ya are fellow nixer. :D

Bottomline ... jmo/preference, still feel more comfortable w Debian, than I would w Arch and yeppers as mentioned elsewhere being on the "cutting edge" can get people cut, be a good or bad thing depending. Though whatever gnu/nix setup someone has, if they learn enough skills or are one of those blessed with common sense. They have little to worry about.

A nixer I respected gave me the following advice, when I mentioned hey I'm going to install and start screwing w Arch linux. Dude said ... KISS man, don't get carried away w stuff like KDE or Gnome in Arch, unless you like unborking stuff often. :) Which hey, not saying Kde/Gnome are bad ... Full ( bloated)DE's aren't my style anyway. So Arch ran great, up till I told em, close my Arch forum acct, I'm sticking w dear Debian. :D

Oops, PS,

Shhhhhhh I'm undercover. ;)


EDIT!Arghhh! Also agree w you, things like whatcha mentioned are definitely more important, than stupe boottime imo too. We don need no stupid boottime ! Though it'd be alright if systemd can provide that, along w more important stuff, shrugs.
Most powerful FREE tech-support tool on the planet * HERE. *

Ibidem
Posts: 160
Joined: 2010-12-24 18:28

Re: Boot time/memory comparison: sysvinit vs systemd

#23 Post by Ibidem »

Head_on_a_Stick wrote:The main difference for me is that I find it much easier to control and (in particular) query & troubleshoot running services and daemons under systemd.

Of course this may be because I don't know what I'm doing when it comes to SysVinit...

Also, I have to say that I prefer the BSD/Slackware-style booting system over SysVinit -- again just because I find it easier to control stuff.

Of course that's just my opinion and I'm still very much a GNU/Linux n00b.
Perhaps you'd like sysvinit + file-rc ?

openrc has been fairly nice for troubleshooting in my experience, but I haven't used it with Debian.
Got a pretty fast boot using it with Alpine Linux; much faster than the LFS bootscripts I used on my own system..I'm tempted to replace that with a done-from-scratch set of scripts.
Thinkpad X100e/Debian Squeeze (All reposiories enabled)/Linux 3.4.11:
1GB RAM/1.6GHz Neo X2/ATI HD 3200/RTL8191SEVA2 wlan0, RTL8169 eth0

Deb-fan
Posts: 1047
Joined: 2012-08-14 12:27
Been thanked: 4 times

Re: Boot time/memory comparison: sysvinit vs systemd

#24 Post by Deb-fan »

Not willing to invest the time to do side-by-side on my system. Will take others here at their word but boot time is only 1 metric and imo not a very important one, considering many of us nixers go for extended periods between reboots. :) Even on personal, let alone production systems.

However things like the ability to properly utilize cgroups, track forked processes and restart crashed processes/services should be considered important me thinks.

Pointless 2 cents.
Most powerful FREE tech-support tool on the planet * HERE. *

User avatar
Nili
Posts: 441
Joined: 2014-04-30 14:04
Location: $HOME/♫♪
Has thanked: 5 times
Been thanked: 3 times

Re: Boot time/memory comparison: sysvinit vs systemd

#25 Post by Nili »

My investigation on a 10-years-old desktop

Code: Select all

ps --no-headers -o comm 1
init

Boot 8.0sec
Memory: X > 25MB +1.9MB > startx = 26.9MB

Code: Select all

ps --no-headers -o comm 1
systemd

Boot 8.8sec
Memory: X > 28MB+ 2.1MB > startx = 30.1MB

The difference is visible on me but not anything big. Both are fast on my old-grey desktop.

Regards
openSUSE Tumbleweed KDE/Wayland

♫♪ Elisa playing...
Damascus Cocktail ♪ Black Reverie ♪ Dye the sky.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Boot time/memory comparison: sysvinit vs systemd

#26 Post by debiman »

comparing boot times, all i can say is that i remember boot times de-creasing dramatically after i changed from a sysvinit-based distro to a systemd-based one.
neither system had any tweaking done to improve init stuff.

i switch my desktop computer on/off daily, and hibernate the other one, so for me it matters.

but please don't misunderstand my post for "i'm a systemd fanboi because it boots faster".
i'm not a fanboi and boot time is just one of many aspects.

Post Reply