I want to setup a low-power device like the Pi perhaps, to compile and distribute gentoo packages to other computers on the local network at home. Almost all devices are mobile/laptop devices, much more powerful than the Pi, but only online occasionally.
This thought has been circulating in my head for a while now. And again I'm flushing my thoughts here.. and perhaps make them more coherent later.
A slower Pi might take a week to compile what might take a day or much less on other systems, but it consumes minimal power. A 24x7 low-power system might not be that much of a concern. Whereas, a 24x7 gas-guzzler would be a major concern.
Unless an update is needed right away, this would also make all devices more efficient. Devices can be powered up and down as needed, and need not be distracted by any ongoing compiles. Neither would they need gentoo build dependencies to be installed on each.
It is vastly inefficient for each device to compile everything all over again, particularly when each boots up only when necessary. Compiles are often interrupted before they finish. Compiles also suck in resources, and distract these devices from their immediate function. Perhaps I could have everything compiled on one central device, and allow all others to pull these compiled binary packages as and when they want.
Let's call this central device as Binary-Package Server, to serve binary packages as opposed to source packages.
I want this server to be low-power because I don't want the most power consuming device to be on all the time. My requirements are very minimal and can wait.
Since this server is probably the least powerful of the other devices, I want to share the load whenever possible. Server could offload some processing to any other device which connects in. This could become significantly more efficient, as more systems come online. Server will continue processing, when devices disconnect and/or go off.
If I decide on Pi, I need to consider it might not have an x86 chip, like all my other devices. I would also need to consider cross-compiling for different processors and different architectures.
Another advantage of this would be a lean & clean gentoo binary distribution on each device. No build-time dependencies needed on every device. Each device would be configured to install only binary packages from the server.
In effect, what I am proposing is to create a customised binary distribution, perhaps just like any other binary distro. Except, we don't install these binary packages from some distro's servers. So, what's the difference? We have a highly customised & efficient gentoo on each working device, without worrying each about any compiles etc.
http://wiki.gentoo.org/wiki/binary_package_guide
http://wiki.gentoo.org/wiki/distcc/Cross-Compiling
most viewed
-
to play more seriously with yet another distro, i needed to install it. so i had some fun resizing/moving partitions around to clear some fr...
-
I have just discovered zram [2] :) woohoo... and what a thing that is! I was so sold on tmpfs , that I used it for everything I possibly ...
-
you won't see many docs about minimal netinstall slackware. indeed, you will see many experts saying there is no such thing. and your on...
-
debian kernels contain everything needed by everyone. customising your kernel is easy and highly recommended. i recommend using the same ker...
-
I decided to have another go at runit , this time on my gentoo . I had been thinking about this, since I noticed this on
-
this idea has been knocking around in my head for a while. i want to document it, while it is still there and to flush it out later.. i us...
-
vision: portable internet router, to carry on my travels, or use at home. openwrt on a portable (thin-client/netbook) device. internet sour...
-
ref: http://wiki.gentoo.org/wiki/portage Gentoo is Portage. Portage is Gentoo. Getting portage settings right is vitally important. It...
-
The leanest cleanest way to connect to wpa/2 networks is wpa_supplicant . Optional wpa_gui provides a GUI and System Tray icon, if need be...
-
I have no sound, on my recent gentoo install. LXQT Mixer wouldn't open. I don't even get any error/warning messages. This is not ...
No comments:
Post a Comment