weird science experiments with init systems - part one

Forum rules
We believe in Hello and Thank You.
User avatar
bones
Clooney
Posts: 2385
Joined: Fri Jun 28, 2013 11:47 pm
Location: Cascadia

Re: weird science experiments with init systems - part one

Unread post by bones » Mon Jan 27, 2014 10:18 pm

Speaking of init systems, Apple's launchd is being ported to FreeBSD:

http://www.phoronix.com/scan.php?page=n ... px=MTU0NjQ

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: weird science experiments with init systems - part one

Unread post by machinebacon » Tue Jan 28, 2014 2:17 am

@gekko, I'd like to see some "systemd-analyze blame" or the bootchart for Pussy Muncher :) This is too Buntu for BBQ :D
..gnutella..

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: weird science experiments with init systems - part one

Unread post by GekkoP » Tue Jan 28, 2014 12:31 pm

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

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: weird science experiments with init systems - part one

Unread post by machinebacon » Tue Jan 28, 2014 2:10 pm

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..

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: weird science experiments with init systems - part one

Unread post by GekkoP » Tue Jan 28, 2014 2:56 pm

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.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: weird science experiments with init systems - part one

Unread post by machinebacon » Tue Jan 28, 2014 4:58 pm

^ 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..

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: weird science experiments with init systems - part one

Unread post by GekkoP » Tue Jun 03, 2014 6:06 pm

Pidsley, have you ever tried sinit from suckless? Just curious about your opinion on it.

pidsley
Hermit
Posts: 2539
Joined: Wed Oct 17, 2012 12:31 pm

Re: weird science experiments with init systems - part one

Unread post by pidsley » Tue Jun 03, 2014 8:06 pm

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.

pidsley
Hermit
Posts: 2539
Joined: Wed Oct 17, 2012 12:31 pm

Re: weird science experiments with init systems - part one

Unread post by pidsley » Thu Jun 05, 2014 9:06 pm

Debian with busybox and eudev. No systemd, no sysv.

Image

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: weird science experiments with init systems - part one

Unread post by GekkoP » Thu Jun 05, 2014 9:13 pm

^ fantastic! I'll try eudev on my Gentoo asap.

pidsley
Hermit
Posts: 2539
Joined: Wed Oct 17, 2012 12:31 pm

Re: weird science experiments with init systems - part one

Unread post by pidsley » Thu Jun 05, 2014 9:24 pm

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.

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: weird science experiments with init systems - part one

Unread post by GekkoP » Thu Jun 05, 2014 9:29 pm

^ perfect, thanks for the tip.

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: weird science experiments with init systems - part one

Unread post by GekkoP » Fri Jun 06, 2014 6:21 pm

Did it. Though it is udevd and not eudevd like yours. Still, no systemd-udev in pstree output so I might have done it. :)

pidsley
Hermit
Posts: 2539
Joined: Wed Oct 17, 2012 12:31 pm

Re: weird science experiments with init systems - part one

Unread post by pidsley » Fri Jun 06, 2014 7:57 pm

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.

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: weird science experiments with init systems - part one

Unread post by GekkoP » Sat Jun 07, 2014 9:50 am

^ perfect, thanks. So I did it right. I'll go looking for that masking then. This is a really nice experiment.

User avatar
elixir
Weight Watcher
Posts: 357
Joined: Fri Feb 21, 2014 8:25 am

Re: weird science experiments with init systems - part one

Unread post by elixir » Wed Jun 11, 2014 9:39 am

^ 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

User avatar
Alad
should take a shower
Posts: 447
Joined: Wed May 21, 2014 12:52 am

Re: weird science experiments with init systems - part one

Unread post by Alad » Fri Aug 01, 2014 12:53 am

spark
grub -> autologin -> dwm

22.87s
2014-08-01-004406_1024x768_scrot.png
systemd
grub -> autologin -> dwm

46.80s
21.91s (second attempt)
2014-08-01-004628_1024x768_scrot.png
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

Post Reply