I switched a few months ago. On an SSD the boot time is stupidly fast.
One thing I prefer about systemd to Arch init is that the [ OK ] is displayed on the left instead of the right. It makes it much easier to see which one went wrong since in high resolutions there is a big space between the message and status.
I doesn't feel quite as Archy any more though. And it creates loads of virtual filesystems for no apparent reason. Maybe it will be possible to customise the look in the future?
I will keep using the old init system for my server. Starting things one at a time sounds more safe a reliable, and boot time is not an issue since it's already quite fast and I rarely ever reboot it.
Well sysinit is also "stupidly fast" on an SSD. You just have to specify the right deamons to start in the background. And since sysinit is just a bunch of simple shellscripts you can easily modify them so that the [ OK ] is displayed wherever you wish. With systemd you would have to modify the largely uncommented C code and recompile.
0 points
unknown author
Background daemons and you technically wander into the unsupported territory of potential race conditions. Its a kludge for a faster boot, not a true feature.
Systemd's strength isn't just its speed. Its that it can intelligently resolve dependencies. Its safe. Wake me up when arch's initscripts are capable of starting things like gdm or cups on demand.
Best is the enemy of better :) You can't make progress without trying. People are always complaining that computers are becoming faster, while the software is becoming slower. Well, here is a project that tries to rectify some of that.
For me boot speed isn't the issue, my laptop's got a 5400rpm hdd and systemd makes no difference to the boot speed, but I hands down prefer the way systemd works to sysvinit. I love the service files, socket activation etc... IMO it is simpler and just works a lot better for me. I've nearly got a totally pure systemd setup (I can't remove consolekit...yet)
I think that while it’s good that more people are trying out systemd, it is far from mature yet, and the integration in arch is not finished (though there is a lot of work being done).
The majority of the packages containing rc.d scripts still do not have a .service file, which mean that you have to write it (I do know it is easier to write a systemd unit file than a rc.d script, but there is less freedom in what you can do, and the documentation is not always complete).
Also, I don’t think having dbus required by an init system is a good thing, as I wouldn’t even need to run it otherwise.
arch has support for activating old style rc.d services transparently to the user when they have no .service definition. as have other distros that started testing systemd.
I switched a week ago too, just because the rc.conf changes suggested the devs wanted us to use it. It's quite nice, it makes writing daemons (services) a breeze. Although I had to comment the NFS mountpoint in my /etc/fstab, otherwise the boot will just hang and you won't get a shell (I found that out the hard way…).
Try adding 'noauto,x-systemd.automount' to mounting options in /etc/fstab. With that, systemd will not mount the share until it is accessed by service/user/anything else.
Is it okay if I stick with initscripts for a little longer? Will they be discontinued?
4 points
unknown author
It's not the default.. yet. I imagine it'll be a little while before it is. One it is the default I imagine the old initscripts will still be an option for a while after that.
YSK there is one desktop-related problem with systemd and xfce4 you might experience, at least on arch.
if you have lxdm enabled with autologin into xfce4, many apps will fail to work. xfce4 would report applets failing, asking to disable them (even network manager cannot establish a network), i could not even open a terminal or more than 1 app (and when i could, it would show with no window decorations).
restarting lxdm would usually help. or fixing the session to start with
dbus-launch --exit-with-session startxfce4
hope it helps someone confused struggling with similar problem.
Speaking personally, I saw a somewhat noticeable improvement in bootup time. But what's really noticeable is the improvement in shutdown time, surprisingly enough.
I got no change in startup time, but shutdown time is much faster. I only recently tried the systemd-readahead services, though. I am still hoping for some improvement in startup time.
I normally don't use dbus, networkmanager and kinds of other obscure services that are required by systemd. So sysvinit is a little faster for me than systemd. When booting from an SSD there is no notable difference at all.
I did this last month due to some Udev rules that suggested Systemd. Had a blast doing it and could not have pulled it off without #systemd on IRC. Congrats!
I was attempting this yesterday, but for some reason systemd wouldn't startup Dbus. I don't fully understand the changes, and maybe that's why it didn't work. Guess i'll give it another shot today...
Edit: Got it working. Turns out e4rat was still forcing the arch int scripts on boot. Oh and i forgot to set the kdm service to auto boot, doh!
I converted to native systemd a few days ago. After a small amount of confusion on some of the particular services, everything is now working like a charm.
46 comments
I switched a few months ago. On an SSD the boot time is stupidly fast.
One thing I prefer about systemd to Arch init is that the [ OK ] is displayed on the left instead of the right. It makes it much easier to see which one went wrong since in high resolutions there is a big space between the message and status.
I doesn't feel quite as Archy any more though. And it creates loads of virtual filesystems for no apparent reason. Maybe it will be possible to customise the look in the future?
I will keep using the old init system for my server. Starting things one at a time sounds more safe a reliable, and boot time is not an issue since it's already quite fast and I rarely ever reboot it.
I'm already picturing the commercials.
"With systemd my Arch is now stupidly fast! STUPIDLY FAST DOT COM!"
Well sysinit is also "stupidly fast" on an SSD. You just have to specify the right deamons to start in the background. And since sysinit is just a bunch of simple shellscripts you can easily modify them so that the [ OK ] is displayed wherever you wish. With systemd you would have to modify the largely uncommented C code and recompile.
Background daemons and you technically wander into the unsupported territory of potential race conditions. Its a kludge for a faster boot, not a true feature.
Systemd's strength isn't just its speed. Its that it can intelligently resolve dependencies. Its safe. Wake me up when arch's initscripts are capable of starting things like gdm or cups on demand.
Best is the enemy of better :) You can't make progress without trying. People are always complaining that computers are becoming faster, while the software is becoming slower. Well, here is a project that tries to rectify some of that.
But systemd is even more faster.
I'm going stick with the old initscripts. Both of my computers already boot fast as hell.
For me boot speed isn't the issue, my laptop's got a 5400rpm hdd and systemd makes no difference to the boot speed, but I hands down prefer the way systemd works to sysvinit. I love the service files, socket activation etc... IMO it is simpler and just works a lot better for me. I've nearly got a totally pure systemd setup (I can't remove consolekit...yet)
I think that while it’s good that more people are trying out systemd, it is far from mature yet, and the integration in arch is not finished (though there is a lot of work being done).
The majority of the packages containing rc.d scripts still do not have a .service file, which mean that you have to write it (I do know it is easier to write a systemd unit file than a rc.d script, but there is less freedom in what you can do, and the documentation is not always complete).
Also, I don’t think having dbus required by an init system is a good thing, as I wouldn’t even need to run it otherwise.
arch has support for activating old style rc.d services transparently to the user when they have no .service definition. as have other distros that started testing systemd.
Oh. It must be in the initscripts compat package, then.
I switched a week ago too, just because the rc.conf changes suggested the devs wanted us to use it. It's quite nice, it makes writing daemons (services) a breeze. Although I had to comment the NFS mountpoint in my /etc/fstab, otherwise the boot will just hang and you won't get a shell (I found that out the hard way…).
Try adding 'noauto,x-systemd.automount' to mounting options in /etc/fstab. With that, systemd will not mount the share until it is accessed by service/user/anything else.
enabling debug output for systemd is useful when starting transition.
what i found out, it's much more strict with config files. i had an invalid entry in /etc/crypttab which i stopped relying on somewhere on the way.
systemd stalled on it, delaying my boot for ~30 seconds. i fixed up the file and it resumed working fine.
Is it okay if I stick with initscripts for a little longer? Will they be discontinued?
It's not the default.. yet. I imagine it'll be a little while before it is. One it is the default I imagine the old initscripts will still be an option for a while after that.
Disclaimer: not an arch dev.
initscripts is the default, so it is difinitely ok to stick with them for a little longer :-)
At some point they might no longer be the default, but even then it will probably be a long time before they are discontinued.
YSK there is one desktop-related problem with systemd and xfce4 you might experience, at least on arch.
if you have lxdm enabled with autologin into xfce4, many apps will fail to work. xfce4 would report applets failing, asking to disable them (even network manager cannot establish a network), i could not even open a terminal or more than 1 app (and when i could, it would show with no window decorations).
restarting lxdm would usually help. or fixing the session to start with
hope it helps someone confused struggling with similar problem.
Any improvement regarding performance?
Speaking personally, I saw a somewhat noticeable improvement in bootup time. But what's really noticeable is the improvement in shutdown time, surprisingly enough.
I got no change in startup time, but shutdown time is much faster. I only recently tried the systemd-readahead services, though. I am still hoping for some improvement in startup time.
Interesting, because my shutdown time is only about 4-5 seconds now.
I normally don't use dbus, networkmanager and kinds of other obscure services that are required by systemd. So sysvinit is a little faster for me than systemd. When booting from an SSD there is no notable difference at all.
No services are required by systemd, save dbus (because it’s basically used everywhere for IPC).
It's a desktop system, right?
How can you not use dbus? Almost everything I know depends on it.
I did this last month due to some Udev rules that suggested Systemd. Had a blast doing it and could not have pulled it off without #systemd on IRC. Congrats!
I was attempting this yesterday, but for some reason systemd wouldn't startup Dbus. I don't fully understand the changes, and maybe that's why it didn't work. Guess i'll give it another shot today...
Edit: Got it working. Turns out e4rat was still forcing the arch int scripts on boot. Oh and i forgot to set the kdm service to auto boot, doh!
Seems a good bit faster too!
I converted to native systemd a few days ago. After a small amount of confusion on some of the particular services, everything is now working like a charm.
Let's wait one year :)