Gentoo Archives: gentoo-embedded

From: Ed W <lists@××××××××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] personal compile-farm ?
Date: Sun, 06 Sep 2009 09:21:38
Message-Id: 4AA37F1E.5000101@wildgooses.com
In Reply to: [gentoo-embedded] personal compile-farm ? by Christopher Friedt
1 Christopher Friedt wrote:
2 > One particular use that I wanted to make of such a device would be to
3 > use it as my own personal compile-farm, for various arm
4 > cross-compilation builds, and binary packages for my laptop / netbook.
5 >
6
7 Compiling seems to need only lots of ram and a fairly fast disk (some
8 say a ram drive for cache can give you up to a 2x speedup - measure some
9 samples though)
10
11 So I would have thought just buying a fairly cheap Core2 motherboard and
12 chip, 8Gb+ ram, plus one of these low profile, plug into the board PSU's
13 (pico psu say: http://www.mini-box.com/picoPSU-150-XT-102-power-kit )
14 and perhaps a small amount of onboard storage (usb drive?) would be
15 optimal for price/cost. You might not even bother buying a chassis,
16 just leave it in the cardboard box it arrives in and ventilate...
17
18 Use nfs to one of your existing machines for main storage and plonk on a
19 little local storage for booting the OS...
20
21 I have a quad core machine here which runs a bunch of vservers, one of
22 which is my development chroot, another is the file server, another is a
23 web server, etc, etc. I think the quad procs are too power hungry for
24 this to have been a really good idea, but it's certainly pretty meaty
25 and just sits idling in the corner with all my storage plugged into it
26 and occasionally whiring into life to compile things. It's headless and
27 most of the time I work from a laptop as my main machine.
28
29 So right now I am going down the "one fairly beefy machine and
30 virtualise all the others" route to minimise cost/power. I think it's a
31 good route and I have retired all the older machines which were sitting
32 around the office. I just thought I would need more processors than I
33 do on a daily basis and whilst the quad core is meaty, on average if I
34 were on a budget I think a dual core would be 80% of the processing
35 power for 30% of the power budget...
36
37 Good luck
38
39 Ed W