Page 7 of 8

Re: evilwm

Posted: Tue Oct 20, 2015 1:16 am
by dkeg
Excellent! See, it can be done.

Re: evilwm

Posted: Sun Nov 29, 2015 12:44 am
by pidsley
64-bit buildroot with evilwm, dillo, and feh working. mdev instead of eudev. Still a tiny system.

Image

Re: evilwm

Posted: Sun Nov 29, 2015 2:50 pm
by GekkoP
^ And a very useful workstation. Great job!

Re: evilwm

Posted: Wed Dec 02, 2015 2:14 pm
by ChefIronBelly
^^ nice work buildroot always seems to inspire and motivate.

Re: evilwm

Posted: Sat Dec 26, 2015 7:25 pm
by pidsley
evilwm on NetBSD 7.

Image

Yes, that's right, it looks like all my other systems. Part of how I evaluate a new system is to see how hard it is to duplicate my default setup. I like NetBSD -- it's probably the easiest BSD I have used so far. I see why Chef likes it. The installer is easy to use, the installed system is small but usable, and the package manager is very nice.

Re: evilwm

Posted: Mon Dec 28, 2015 12:30 am
by ChefIronBelly
^ very nice good to see :D I do similar when I compare systems.

EDIT: add link http://linuxbbq.org/bbs/viewtopic.php?f ... =20#p43265

Re: evilwm

Posted: Sun Feb 14, 2016 7:32 pm
by pidsley
Latest experiment. 64-bit Arch running with a custom kernel, busybox init, and mdev. No systemd, no udev. Starts X at 18M.

Image

Re: evilwm

Posted: Sun Feb 14, 2016 8:00 pm
by archvortex
That's excellent for two reasons. EvilWM and it's not the usual Arch + OpenRC no systemd setup. Great stuff!!

Re: evilwm

Posted: Sun Feb 14, 2016 8:24 pm
by franksinistra
^^ you put me to shame. Pidsley FTW!

Re: evilwm

Posted: Sun Feb 14, 2016 8:37 pm
by ChefIronBelly
^^^ amazing.

Re: evilwm

Posted: Sun Feb 14, 2016 9:12 pm
by simgin
Wow wow wow, pidsley this is fantastic! When will this become mass produced? That my friend, is perfection. As usual, god damn you :) I'd download that in a split second!

Re: evilwm

Posted: Mon Feb 15, 2016 2:37 am
by Theo
Eh arch with just 18mb? I've read some things and most of them says that Debian is smaller than Arch in memory usage. So roughly said there are 3 options.

A) they don't know how to configure Arch
B) they are right, debian based is even smaller
C) I can make opensuse boot from a floppy, so fuck you theo :P

Re: evilwm

Posted: Mon Feb 15, 2016 3:31 am
by machinebacon
very nice pidsley.

^ theo, the more you add the bigger it gets (or in the case of distro vs distro: the less you add the smaller the initial memory usage is), this is not really distro-specific -- the question is rather: what do you remove, and how much, while still keeping it "usable". How much is kept in RAM, how quickly is it swapped, which services are running right after boot, and so on. So it is really A) you can make about any distro use more or less the same initial RAM. Even with Ubuntu - after a lot of apt-get autoremoving (epecially zeitgeist et al.) - you can have an initial RAM usage of around 40MB with systemd. To get under the mythical ~24MB RAM (that's about what you have on a normally configured Linux system in TTY1 without X) you have to kick some board tools. A custom kernel (and I guess in pidsley's case it is a no-initrd boot with only the needed hardware drivers in the kernel - correct me if I'm wrong) is the second step after eliminating userland resource hogs like daemons and "unimportant" processes like dbus, lpr, syslog or cron.

Re: evilwm

Posted: Mon Feb 15, 2016 11:05 am
by GekkoP
Fantastic Pidsley, just fantastic experiment.

Re: evilwm

Posted: Mon Feb 15, 2016 1:20 pm
by Theo
^^ Thanks MB for making that clear. I've read something and they told that Arch would be bigger than Debian, that's why I mentioned it. It's an excellent job, that's for sure. In the not so long ago past I did some killing myself and tried something with a smaller (and specific) kernel. The result was a screwed up machine and a bit hairpulling, but at the end I learned a few things :)

Re: evilwm

Posted: Mon Feb 15, 2016 1:52 pm
by dkeg
pidsley wrote:Latest experiment. 64-bit Arch running with a custom kernel, busybox init, and mdev. No systemd, no udev. Starts X at 18M.

Image
Nicely done experiment and implementation. That is really impressive for sure, and 64bit too. Nice.

Re: evilwm

Posted: Mon Feb 15, 2016 2:13 pm
by pidsley
Theo wrote:Eh arch with just 18mb? I've read some things and most of them says that Debian is smaller than Arch in memory usage. So roughly said there are 3 options.
I have heard this too, and it's part of why I did this experiment -- to show that it is possible to build a low-memory Arch system, and without systemd.

Generally speaking, Arch does use more memory than Debian. But as I think I have said before, this is not necessarily a bad thing. Arch could be using that memory to cache things for faster access, or doing any number of other useful things that could improve performance.

As for how to build a system this low on memory, bacon is correct that I use a custom kernel with no initrd and no modules, and only the drivers I need built in. I also use busybox init instead of systemd or sysv, wired networking with a static IP (no dhcp), and busybox mdev instead of udev. But the most important thing is that there are no daemons running -- look at the pstree. No cron, no dbus, no polkit, no dhcp, no ntpd, no udev, no crap.

This is just an experiment. The real test would be to us a system like this for several days (or longer) and see what memory and usability are like then. I used to use a CRUX system with busybox init as my main machine, but now I'm back on oldstable with sysv and I save the crazy stuff for the test boxes.

Memory use is really only a measure of memory use, and low-memory systems are just a thing I do for fun. Don't take them too seriously.

bacon is also right that you can make just about any Linux system use this much memory -- that was part of the point of the experiment.

Re: evilwm

Posted: Mon Feb 15, 2016 3:54 pm
by pidsley
For comparison, here is the same Arch system, booting with systemd and the stock kernel. Starts X with 51M used. Note the pstree.

Image

And a Jessie netinstall, booting with systemd and the stock kernel. Starts X with 60M used. Note all the extra crap in the pstree.

Image

Re: evilwm

Posted: Mon Feb 15, 2016 7:50 pm
by ivanovnegro
dkeg wrote: Nicely done experiment and implementation. That is really impressive for sure, and 64bit too. Nice.
Truly impressive. Pidsley is king of the grill when it comes to pure efficiency and resource usage.

Re: evilwm

Posted: Tue Feb 16, 2016 9:40 am
by rhowaldt
^ also king of the grill when it comes to "people say this shit is impossible - let's see if that's true"
love it. great stuff Pidsley :)