supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Jens Rehsack <rehsack-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Oliver Schad
	<oliver.schad-/Oy7tj6MewwjdV6hOmNGUFaTQe2KTcn/@public.gmane.org>
Cc: "Casper Ti. Vector"
	<caspervector-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	supervision-cfaJnhaL+FNC7f45DRzWBg@public.gmane.org,
	skaware-cfaJnhaL+FNC7f45DRzWBg@public.gmane.org,
	ska-supervision-csDn2i8iPApAfugRpC6u6w@public.gmane.org
Subject: Re: The "Unix Philosophy 2020" document
Date: Mon, 14 Oct 2019 08:35:40 +0200	[thread overview]
Message-ID: <34F1F095-C92D-4787-B031-BF057AF8D413@gmail.com> (raw)
In-Reply-To: <20191013102113.0177ff57@dickeberta>

[-- Attachment #1: Type: text/plain, Size: 3619 bytes --]



> Am 13.10.2019 um 10:21 schrieb Oliver Schad <oliver.schad-/Oy7tj6MewwjdV6hOmNGUFaTQe2KTcn/@public.gmane.org>:
> 
> Hi Casper,
> 
> thank you for the effort putting things together. I was asking myself
> some questions. What is the target group? What is the exact purpose of
> that document?
> 
> For systemd I have a more practical approach to discuss:
> 
> 1) how many config statements are there?

What's the measurement to do?
CFG_EVERTHING_RIGHT_QUICKLY=1
would be one (but insane) config statement.

More isn't better and less neither. It should be as much as required.
And requirements depends on goal.

I think, this is a poor KPI.

> 2) how many cases exist, which you have to work around (practical
> setups, where a config statement is missing or do the wrong thing)

Both (englisch and german) Wikipedia articles reference enormous list
of issues wrt. systemd in general. Big problems - not individual ones.
Collecting individual ones is maybe a stackoverflow grep away, but how
about the dark ones - those who has questions without knowing that
systemd eat the low-level infrastructure and wonder - eg. where the
dhcpcd went to ...

> 3) how many bugs/feature requests are opened over time and how long does
> it take to solve them?

This is probably a wrong question. More features is likely not the
analyzation to do :D

> 4) how big is the memory footprint and for which systems this is too
> much?

Compared to what?
One can easily build some embedded images using e.g. OE or Yocto or
E2. But having one system with systemd (and all it's belongings) and
another (simple) one is comparing plums with melons.
Systems with a touchscreen and Qt5 interface and attached NFC readers
etc. might have a similar memory footprint with all services with and
without systemd.

The better question is: can you tune?

> 5) how many lines of code?

Also: what do you compare? I don't repeat from above.

Maybe flexibility in choice of tool is a reasonable KPI, or portability,
location of configuration (per service, over all), atomicity of configuration
changes, easiness of customization (even rocket science is no rocket
science anymore, but you need a particular skill level - where is it?),
how active is the community, easiness of debugging in error situations
and so on.

Also, http://www.mewburn.net/luke/papers/rc.d.pdf could be worth reading ;)

But yes, you need some metrics. You also need to define scenarios first,
eg. datacenter BI algorithm machine vs. traffic light controller.
There is a big range ...

> So you would have metrics - especially if you compare them to other
> solutions. If you want to have more food, make more metrics (call graph
> complexity or whatever). But there are simple metrics, which shows the
> result(!) of the design. Talking about the design itself is really a
> personal opinion otherwise and very lengthy and needs a lot of
> knowledge to follow.
> 
> For the philosophy itself there are some parts missing in my opinion:
> what does that really mean what you're talking about in practical
> solution?
> 
> Is there a practical approach anywhere, interface definition,
> architecture? You describe a few patterns ok - but they are really
> common. I don't get really, which people would help this document.
> 
> Maybe that thing is missing: if somebody would like to build a modern
> UNIX: what are practical steps to achieve it?
> 
> Which tools, which interfaces (kernel, userland) are needed?

Cheers
--
Jens Rehsack - rehsack-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org


[-- Attachment #2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2019-10-14  6:35 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20190831130730.ki6ma7i5curucowe@caspervector>
     [not found] ` <em5af31b6f-4dd3-4a31-a6cf-beccb100238d@elzian>
     [not found]   ` <20190901091157.bjtfhqq6d2rg75yo@CasperVector>
2019-09-27  8:38     ` Casper Ti. Vector
2019-10-12 17:37       ` Casper Ti. Vector
2019-10-12 18:58         ` Steve Litt
2019-10-12 19:14           ` Casper Ti. Vector
2019-10-13  3:31         ` Casper Ti. Vector
2019-10-13  8:21         ` Oliver Schad
2019-10-13 13:57           ` Casper Ti. Vector
2019-12-08 17:04             ` Casper Ti. Vector
2019-10-14  6:35           ` Jens Rehsack [this message]
2019-10-22 15:33         ` Casper Ti. Vector
2019-10-22 16:54           ` Steve Litt
2019-10-22 17:07             ` Casper Ti. Vector
2019-11-17  6:26         ` Casper Ti. Vector
2019-11-17  7:28           ` Casper Ti. Vector
2019-11-24 20:13             ` Guillermo
     [not found]               ` <20191125025202.oqu4ennu3lexnxsa@caspervector>
2019-11-25  2:52               ` Casper Ti. Vector
2019-11-25 14:20                 ` Casper Ti. Vector
2019-11-30 12:13                   ` Jeff
2019-11-30 12:20                     ` Jeff
2019-11-30 12:45                       ` Jeff
2019-11-30 13:29                         ` Laurent Bercot
2019-11-30 14:43                           ` Casper Ti. Vector
2019-11-30 15:01                             ` Jeff
2019-11-30 15:48                               ` Casper Ti. Vector
2019-11-30 16:58                                 ` Jeff
2019-12-26 17:52           ` Casper Ti. Vector
2019-12-27  1:09             ` Oliver Schad
2019-12-27 11:11               ` Casper Ti. Vector
2019-12-27  2:57             ` Steve Litt
2019-12-27 13:54               ` Casper Ti. Vector
2019-12-27 15:37                 ` Casper Ti. Vector
2020-01-04  9:10                   ` Casper Ti. Vector
2020-01-04 18:25                     ` fungal-net
2020-01-05  0:36                       ` Casper Ti. Vector
2020-01-05  6:31                       ` Casper Ti. Vector
2020-01-05  6:54                         ` Casper Ti. Vector
2019-12-27 23:05                 ` Steve Litt
     [not found]               ` <20191227135411.jbtxorloetcvv5bx@caspervector>
     [not found]                 ` <20191227153719.2tt4bbidp3v7t23u@caspervector>
     [not found]                   ` <20200104091013.wesvxvcqxquc5n2h@caspervector>
2020-01-04 12:32                     ` Laurent Bercot
2019-12-27 21:29             ` Steve Litt
2019-12-27 23:34               ` Alex Suykov
2019-12-28 10:35               ` Casper Ti. Vector
2019-10-28 15:34       ` Avery Payne
2019-10-28 15:51         ` Casper Ti. Vector
     [not found]   ` <20190901091157.bjtfhqq6d2rg75yo@caspervector>
     [not found]     ` <20190927083816.tectynx7dzlfcvb7@caspervector>
     [not found]       ` <20191012173743.drzlgnrw4hib6hh4@caspervector>
     [not found]         ` <20191117062644.lt6wfmqwijqqhc5w@caspervector>
     [not found]           ` <20191226175258.o2nsregew6tlqlbu@caspervector>
2019-12-26 19:17             ` Laurent Bercot
2019-12-27 11:23               ` Casper Ti. Vector
2019-12-28  2:24                 ` Alex Suykov
2019-12-28  2:57                   ` eric vidal
2019-12-28 14:04                     ` Alex Suykov
2019-12-28 18:05                       ` Guillermo
2019-12-28 23:19                         ` Oliver Schad
2019-12-28 18:12                       ` Oliver Schad
2019-12-28 21:32                       ` eric vidal
2019-12-28  6:46                   ` Steve Litt
2019-12-28 13:37                     ` Alex Suykov
2019-12-28 13:54                       ` Casper Ti. Vector
2019-12-28 17:41                       ` Oliver Schad
2019-12-28 18:29                         ` Serge E. Hallyn
2019-12-28 23:16                           ` Oliver Schad
2019-12-28 21:31                         ` eric vidal
2019-12-29 16:07                         ` Alex Suykov
2019-12-29 20:32                           ` Oliver Schad
2019-12-28 10:26                   ` Casper Ti. Vector
     [not found]               ` <20191227112309.3fow6vynss2ifw4t@caspervector>
2019-12-27 12:32                 ` Laurent Bercot
2019-12-27 13:48                   ` Casper Ti. Vector
2019-12-27 23:54                   ` Oliver Schad
2019-12-27 23:56                     ` Oliver Schad
2019-12-28 15:19                       ` Guillermo
2019-12-28 18:16                         ` Oliver Schad
2019-12-28 20:44                   ` Laurent Bercot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=34F1F095-C92D-4787-B031-BF057AF8D413@gmail.com \
    --to=rehsack-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=caspervector-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=oliver.schad-/Oy7tj6MewwjdV6hOmNGUFaTQe2KTcn/@public.gmane.org \
    --cc=ska-supervision-csDn2i8iPApAfugRpC6u6w@public.gmane.org \
    --cc=skaware-cfaJnhaL+FNC7f45DRzWBg@public.gmane.org \
    --cc=supervision-cfaJnhaL+FNC7f45DRzWBg@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).