Debian reconsiders init-system diversity
Debian reconsiders init-system diversity
Posted Nov 12, 2019 11:04 UTC (Tue) by smurf (subscriber, #17840)In reply to: Debian reconsiders init-system diversity by ncm
Parent article: Debian reconsiders init-system diversity
Posted Nov 13, 2019 4:48 UTC (Wed)
by ncm (guest, #165)
[Link]
Posted Nov 13, 2019 15:09 UTC (Wed)
by IanKelling (subscriber, #89418)
[Link] (10 responses)
Posted Nov 13, 2019 16:31 UTC (Wed)
by pizza (subscriber, #46)
[Link] (5 responses)
(With embedded or RAM constrained systems you're presumably going to turn off systemd's features you don't need or care about. Of the three systems I have immediately in front of me, the RSSes for PID1 are 17.1MB, 8.5MB, and 5.4MB respectively.. Even the 5.4MB one still pulls in the likes of libselinux, libapparmour, libaudit, and libpam...)
What really matters in that router (or other embedded systems) is peak RAM usage. Sure, sysvinit on your router might only be 840k, but for it to do anything useful it has to invoke a shell, which in turn invokes subshells and a pile of various other tools along the way. If you have a higher baseline but your peak is lower, then you've come out ahead.
(Back when I was still writing router BSPs, I had to put a lot of effort into auditing this sort of thing..)
Posted Nov 13, 2019 21:36 UTC (Wed)
by hmh (subscriber, #3838)
[Link] (4 responses)
Posted Nov 14, 2019 12:04 UTC (Thu)
by pizza (subscriber, #46)
[Link] (3 responses)
Meanwhile, the triple-band "gaming" AC monstrosity at the work lab has a quad-core ARM under its gaudy exterior with 13 wired and 1 wireless client, and 399/1024MB free (according to its web UI) But it's also doing routing/dnsmasq/openvpn, plus a whole lot of other crap we don't actually use.
Posted Nov 14, 2019 17:32 UTC (Thu)
by hmh (subscriber, #3838)
[Link] (1 responses)
With 128MiB they are supposed to survive, and still have some RAM left to do something other than pushing packets around, running the control plane, and hosting the [buffers with] the uncompressed image of the O.S...
Posted Nov 14, 2019 18:36 UTC (Thu)
by farnz (subscriber, #17727)
[Link]
Just to put some numbers on this; a single PHY-level frame in 802.11ac VHT mode can be up to 1 megabyte long, and is targeted at a single receiver. That means that for full throughput, you need 2 megabytes per client buffering in your AP - one frame being transmitted now, one frame being prepared for the next time that client gets airtime.
Posted Nov 18, 2019 22:35 UTC (Mon)
by rahvin (guest, #16953)
[Link]
Posted Nov 14, 2019 2:59 UTC (Thu)
by rbrito (guest, #66188)
[Link] (1 responses)
Besides that, since this thing doesn't have a physical terminal, forcing an fsck at boot time with systemd is hard, since you have to pass it as a (kernel) command line parameter, which is not really as simple as entering GRUB and setting the right option (fsck.mode=force).
(With other systems, I don't mind running systemd, but with some, I do).
Posted Nov 14, 2019 17:48 UTC (Thu)
by derobert (subscriber, #89569)
[Link]
Posted Nov 14, 2019 3:23 UTC (Thu)
by Cyberax (✭ supporter ✭, #52523)
[Link]
Posted Nov 14, 2019 23:48 UTC (Thu)
by Darakian (guest, #96997)
[Link]
Debian reconsiders init-system diversity
Debian reconsiders init-system diversity
Debian reconsiders init-system diversity
Debian reconsiders init-system diversity
Debian reconsiders init-system diversity
Debian reconsiders init-system diversity
Debian reconsiders init-system diversity
Debian reconsiders init-system diversity
Debian reconsiders init-system diversity
Depending on your filesystem, one of the FS-specific tools might be able to replace the flag file. E.g., tune2fs -E force_fsck for ext4.
Debian reconsiders init-system diversity
Debian reconsiders init-system diversity
Debian reconsiders init-system diversity
