trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: June 2014

Re: [trinity-devel] tdebase build - heavy ram requirement

From: Slávek Banko <slavek.banko@...>
Date: Sun, 15 Jun 2014 17:00:37 +0200
On Sunday 15 of June 2014 12:31:57 Michael Howard wrote:
> On 15/06/2014 00:23, Slávek Banko wrote:
> > On Saturday 14 of June 2014 15:42:11 Michael Howard wrote:
> >> Anybody any thoughts on why the tdebase (from git) build is so heavy on
> >> ram? It makes building on embedded systems even more arduos than one
> >> might expect.
> >>
> >> On a desktop PC with 6 cores and 32GB ram, the build uses over 7GB of
> >> ram in the first couple of minutes ( I didn't build to the end, just
> >> wanted a quick check). Not many embeded systems are that ram abundant :)
> >>
> >> On the arm devices I've tried to natively build on, all the ram is used
> >> almost immediately (largest ram I have is 2G) and I can throw swap space
> >> at it ad infinitum without success.
> >>
> >> Cheers,
> >> Mike.
> >
> > My little builder has 12 GiB RAM. It is also used as tmpfs where is
> > carried
>
> Nice. What device is it?
>
> > out building. A build for amd64/i386 run in parallel with armel, armhf
> > and mips. That means four builders running side by side. And I did not
> > notice problems with memory.
>
> Ok, it's looking like I'm the problem :)
>
> Cheers,
> Mike.

My little builder is as a virtual machine (KVM). Inside the virtual machine is 
then used qemu-user-static for building armel, armhf and mips packages.

Physical machine has:
+ cpu: Intel(R) Xeon(R) CPU E3-1240 V2 @ 3.40GHz (4 cores + HT)
+ ram: 16 GiB

-- 
Slavek