evilwm

Forum rules
Post your scrot in the appropriate section. If the section does not exist yet - open a new thread ;)
User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: evilwm

Unread post by dkeg » Tue Oct 20, 2015 1:16 am

Excellent! See, it can be done.

Work hard; Complain less

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

Re: evilwm

Unread post by pidsley » Sun Nov 29, 2015 12:44 am

64-bit buildroot with evilwm, dillo, and feh working. mdev instead of eudev. Still a tiny system.

Image

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

Re: evilwm

Unread post by GekkoP » Sun Nov 29, 2015 2:50 pm

^ And a very useful workstation. Great job!

User avatar
ChefIronBelly
Approved BBQer
Posts: 1044
Joined: Mon Jan 13, 2014 6:01 am
Location: Michigan

Re: evilwm

Unread post by ChefIronBelly » Wed Dec 02, 2015 2:14 pm

^^ nice work buildroot always seems to inspire and motivate.
(1/1) Installing: LinuxBBQ...................................[69%]==============[/]

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

Re: evilwm

Unread post by pidsley » Sat Dec 26, 2015 7:25 pm

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.

User avatar
ChefIronBelly
Approved BBQer
Posts: 1044
Joined: Mon Jan 13, 2014 6:01 am
Location: Michigan

Re: evilwm

Unread post by ChefIronBelly » Mon Dec 28, 2015 12:30 am

^ 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
(1/1) Installing: LinuxBBQ...................................[69%]==============[/]

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

Re: evilwm

Unread post by pidsley » Sun Feb 14, 2016 7:32 pm

Latest experiment. 64-bit Arch running with a custom kernel, busybox init, and mdev. No systemd, no udev. Starts X at 18M.

Image

User avatar
archvortex
Uninstaller
Posts: 241
Joined: Sat Sep 07, 2013 2:41 pm
Location: Vancouver, Canada

Re: evilwm

Unread post by archvortex » Sun Feb 14, 2016 8:00 pm

That's excellent for two reasons. EvilWM and it's not the usual Arch + OpenRC no systemd setup. Great stuff!!
GUIs??? We don't need no stinkin' GUIs!!!
LinuxBBQ - No bloated bullshit to meet the needs of the less technical Linux user
Color is bloat

User avatar
franksinistra
Ivana Fukalot
Posts: 1093
Joined: Mon Jan 27, 2014 2:03 am
Location: 印尼国

Re: evilwm

Unread post by franksinistra » Sun Feb 14, 2016 8:24 pm

^^ you put me to shame. Pidsley FTW!
rice no more.

User avatar
ChefIronBelly
Approved BBQer
Posts: 1044
Joined: Mon Jan 13, 2014 6:01 am
Location: Michigan

Re: evilwm

Unread post by ChefIronBelly » Sun Feb 14, 2016 8:37 pm

^^^ amazing.
(1/1) Installing: LinuxBBQ...................................[69%]==============[/]

User avatar
simgin
Meme Fodder
Posts: 1167
Joined: Sun Jan 06, 2013 12:07 am
Location: Bradford-on-Avon, UK

Re: evilwm

Unread post by simgin » Sun Feb 14, 2016 9:12 pm

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!
Someone told me that I am delusional, I almost fell off my unicorn.

User avatar
Theo
CLIt Licker
Posts: 394
Joined: Wed Nov 11, 2015 10:19 pm
Location: Nieuw-Buinen, Netherlands

Re: evilwm

Unread post by Theo » Mon Feb 15, 2016 2:37 am

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

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

Re: evilwm

Unread post by machinebacon » Mon Feb 15, 2016 3:31 am

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

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

Re: evilwm

Unread post by GekkoP » Mon Feb 15, 2016 11:05 am

Fantastic Pidsley, just fantastic experiment.

User avatar
Theo
CLIt Licker
Posts: 394
Joined: Wed Nov 11, 2015 10:19 pm
Location: Nieuw-Buinen, Netherlands

Re: evilwm

Unread post by Theo » Mon Feb 15, 2016 1:20 pm

^^ 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 :)

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: evilwm

Unread post by dkeg » Mon Feb 15, 2016 1:52 pm

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.

Work hard; Complain less

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

Re: evilwm

Unread post by pidsley » Mon Feb 15, 2016 2:13 pm

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.

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

Re: evilwm

Unread post by pidsley » Mon Feb 15, 2016 3:54 pm

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

User avatar
ivanovnegro
Minister of Truth
Posts: 5448
Joined: Wed Oct 17, 2012 11:12 pm

Re: evilwm

Unread post by ivanovnegro » Mon Feb 15, 2016 7:50 pm

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.

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: evilwm

Unread post by rhowaldt » Tue Feb 16, 2016 9:40 am

^ 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 :)
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

Post Reply