[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question about build box hardware



On Fri, Feb 27, 2015 at 01:32:16AM +0000, peter green wrote:
> On 27/02/15 00:44, Stephen Paul Weber wrote:
> >>Storage interfaces can also be an issue. USB is ubiquitous on arm boards
> >>but the implementations can be shaky and this has made me wary
> >
> >Do you need a lot of on-device storage all at once?  With gigabit
> >ethernet, having an on-LAN mirror + NAS for storing results might work as
> >long as there's enough space to build the current task?  Or, I may be
> >missing something.
> >
> You will want a few gigabytes of swap (2GB of ram may be enough to build
> stuff in less than a day, it's not enough to build stuff without swapping,
> IIRC I have 5GB of swap configured on the raspbian autobuilders though that
> may be overkill).

webkitgtk on alpha gets up to almost 8GB memory use.

>  You also need space for the build chroot and the build
> tree inside it which can easilly reach into the gigabytes (I looked at a
> libreoffice build and it was over 5GB, it wouldn't surprise me if there is
> some stuff that goes beyond 10GB though I can't name any offhand).

llvm-toolchain-3.6 goes above 30GB disk space on some architectures.

> In raspbian we use local HDDs with btrfs snapshots for this*, I think Debian
> uses LVM snapshots HDDs on some buildds and SSDs on others but i'm not
> positive on that.

I suspect most of the Debian buildds are using tar file snapshots as
both LVM and btrfs on wheezy did not prove reliable enough.

Cheers
Michael.


Reply to: