weird science experiments with init systems - part one
Forum rules
We believe in Hello and Thank You.
We believe in Hello and Thank You.
Re: weird science experiments with init systems - part one
Speaking of init systems, Apple's launchd is being ported to FreeBSD:
http://www.phoronix.com/scan.php?page=n ... px=MTU0NjQ
http://www.phoronix.com/scan.php?page=n ... px=MTU0NjQ
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: weird science experiments with init systems - part one
@gekko, I'd like to see some "systemd-analyze blame" or the bootchart for Pussy Muncher :) This is too Buntu for BBQ :D
..gnutella..
Re: weird science experiments with init systems - part one
here it is, sir.
Code: Select all
4.072s keyboard-setup.service
3.422s cups.service
3.138s accounts-daemon.service
2.572s autofs.service
2.072s loadcpufreq.service
1.910s systemd-logind.service
1.718s networking.service
1.554s systemd-fsck-root.service
1.388s sys-kernel-debug.mount
1.387s dev-mqueue.mount
1.383s dev-hugepages.mount
1.347s bootlogs.service
1.243s lvm2.service
801ms sys-fs-fuse-connections.mount
788ms irqbalance.service
761ms lm-sensors.service
737ms gpm.service
708ms whereami.service
677ms tlp.service
653ms resolvconf.service
585ms upower.service
553ms systemd-tmpfiles-setup-dev.service
520ms systemd-modules-load.service
514ms console-screen.service
512ms systemd-udev-trigger.service
466ms rc-local.service
461ms rpcbind.service
415ms systemd-sysctl.service
400ms kbd.service
317ms glances.service
291ms cpufrequtils.service
262ms polkitd.service
258ms systemd-user-sessions.service
225ms dns-clean.service
182ms alsa-restore.service
177ms systemd-tmpfiles-setup.service
160ms keymap.service
160ms console-kit-daemon.service
114ms ifplugd.service
107ms live-config.service
106ms pppd-dns.service
100ms console-kit-log-system-start.service
86ms systemd-random-seed-load.service
86ms motd.service
85ms dev-disk-by\x2duuid-bbe27db2\x2dcc12\x2d4c81\x2dade9\x2dbef2090883e4.swap
81ms console-setup.service
76ms home.mount
66ms systemd-remount-fs.service
59ms systemd-udevd.service
56ms ssh.service
27ms live.service
24ms systemd-update-utmp-runlevel.service
15ms systemd-journal-flush.service
14ms run-lock.mount
9ms run-user.mount
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: weird science experiments with init systems - part one
Thank you, Sir. Well yes, there's quite a lot of auto-...ing going on, the printer is set up, as well as stuff to mount Windows shares. They *can* be inserted manually if not used every day. OTOH, if it doesn't disturb you and you are happy that everything works after boot, just leave as it is. cpufreq and lmsensors, for example, are not *really* needed, but they don't really disturb.
..gnutella..
Re: weird science experiments with init systems - part one
It's wife's netbook, she'll kill me (and everybody here) if I play too much with it. :D
I can safely disable cpufreq and lmsensors though, thanks for the tip.
I can safely disable cpufreq and lmsensors though, thanks for the tip.
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: weird science experiments with init systems - part one
^ If the netbook is often 'on air' I'd rather keep cpufreq so that it can save some battery life. If it's mostly on the desk, and it doesn't spin too hot, disable it.
..gnutella..
Re: weird science experiments with init systems - part one
Pidsley, have you ever tried sinit from suckless? Just curious about your opinion on it.
Re: weird science experiments with init systems - part one
I read a little bit about it on the Arch forum, but I have not tried it yet. If you feel motivated to try it, please do. I might get to it later this summer when it gets too hot to be outside much.
Re: weird science experiments with init systems - part one
^ fantastic! I'll try eudev on my Gentoo asap.
Re: weird science experiments with init systems - part one
On Gentoo, just follow the directions in the first post in this thread: http://forums.gentoo.org/viewtopic-t-96 ... eudev.html
But udev is already separated out from systemd on Gentoo, so there is some controversy over whether eudev is really necessary. I'm still reading all the posts about whether it is or not. In any event, it is an interesting exercise.
But udev is already separated out from systemd on Gentoo, so there is some controversy over whether eudev is really necessary. I'm still reading all the posts about whether it is or not. In any event, it is an interesting exercise.
Re: weird science experiments with init systems - part one
^ perfect, thanks for the tip.
Re: weird science experiments with init systems - part one
Did it. Though it is udevd and not eudevd like yours. Still, no systemd-udev in pstree output so I might have done it. :)
Re: weird science experiments with init systems - part one
I tweaked eudev to show up as eudev in pstree on that Debian system; it normally just shows up as udev. ;) If you removed udev and emerged eudev, you have it. You can also mask systemd and udev so they never get pulled back in. Search for "eudev" on the Gentoo forum for more about this.
Re: weird science experiments with init systems - part one
^ perfect, thanks. So I did it right. I'll go looking for that masking then. This is a really nice experiment.
Re: weird science experiments with init systems - part one
^ GekkoP you have 1234 posts. This is an honor to see.
Out of the corner of your eye you spot him... Shia LaBeouf.
https://www.youtube.com/watch?v=o0u4M6vppCI
https://www.youtube.com/watch?v=o0u4M6vppCI
Re: weird science experiments with init systems - part one
spark
grub -> autologin -> dwm
22.87s
systemd
grub -> autologin -> dwm
46.80s
21.91s (second attempt)
Also see: https://wiki.archlinux.org/index.php/Init
grub -> autologin -> dwm
22.87s
systemd
grub -> autologin -> dwm
46.80s
21.91s (second attempt)
Also see: https://wiki.archlinux.org/index.php/Init
Last edited by Alad on Fri Aug 01, 2014 1:05 am, edited 1 time in total.
It's funny how we used to be able to do real stuff with rudimentary computers, but now we can't. -- ratcheer