On Sun, May 15, 2016 at 3:00 PM, Super Twang <[email protected]> wrote:
> @Mark > > I've done what you said and started with a console image. That was a huge > boost towards a minimal setup... thanks for the tip!!! > > That said, even with a console image though I'm seeing lots of stuff I > wouldn't think I'd need ( using dpkg --list, and systemctl list-units --all > ). These are things like support for the audio subsystem, time > synchronization, dbus, ofono, avahi-daemon, etc. > > I've been painstakingly (LOTS of out of date/irrelevant info out there to > sift through) researching each item, trying to remove it, testing the > system without it, and sometimes having to slowly back out my steps by > restoring from a backup SD card (can take hours) when I remove something I > didn't know I needed. Its hard not to want a better way, even though I'm > gaining some low-level linux knowledge by doing things this way. > > I suspect there is still a fair bit more I can remove for my use case, but > I don't have a lot of reference points. Here's one of the only references > I'm working from: I was ssh'ed into a mios system recently and did a 'ps > aux' command, and saw less than 40 procs running. With the debian console > image, I'm still seeing 115 (after some manual reduction from the console > image). Unfortunately I don't know distros well enough to know if I'm > comparing Apples and Oranges here. > > I suppose it begs kind of a philosophical question (which I may pose in a > different post)... "Do you need to remove every last unnecessary thing from > a running linux distro, or is a system that works reliably, despite some > wasted cpu & added complexity, "Good enough" for a commercial product? I > come from an Occam's Razor mindset (ie use only what you need), and prefer > to build upwards from nothing, adding only what I need, rather than > subtractively trying to remove things I don't know whether I need. > > If you (or someone else) has any insights, or any kind of validation that > my painstaking process of continued subtraction is worthwhile, I'd love to > hear it! > Just because it's installed : does not mean : it's running/taking cpu cycles... If you want to smart out really small, start with my "barefs": https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-RootFileSystem(smallflash) It's just dpkg + apt... ;) Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYgCmOzVqNF3qjUOCmWf_1%3D_fys%3Dt7c2%3DHZOuqWRie4ONw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
