Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 21E29E00BE8; Sun, 6 Mar 2016 17:01:28 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (mkbrown32[at]hotmail.com) * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [65.54.190.150 listed in list.dnswl.org] Received: from BAY004-OMC3S12.hotmail.com (bay004-omc3s12.hotmail.com [65.54.190.150]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D41D4E0084E for ; Sun, 6 Mar 2016 17:01:24 -0800 (PST) Received: from BAY181-W91 ([65.54.190.189]) by BAY004-OMC3S12.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sun, 6 Mar 2016 17:01:23 -0800 X-TMN: [yzbY6l2cEckyiNMTuD2CLwTpkbIF5IfW] X-Originating-Email: [mkbrown32@hotmail.com] Message-ID: From: Mark Brown To: Chris Tapp Date: Sun, 6 Mar 2016 17:01:22 -0800 Importance: Normal In-Reply-To: <31886292-F1E6-477C-B24E-BFB9F7493942@keylevel.com> References: , <31886292-F1E6-477C-B24E-BFB9F7493942@keylevel.com> MIME-Version: 1.0 X-OriginalArrivalTime: 07 Mar 2016 01:01:23.0732 (UTC) FILETIME=[DE70A540:01D1780C] Cc: "yocto@yoctoproject.org" Subject: Re: Controlling Bitbake Memory usage under Windows/Virtualbox/Ubuntu platform X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2016 01:01:28 -0000 Content-Type: multipart/alternative; boundary="_3d7304ae-f324-4f1d-b750-1c77024857dc_" --_3d7304ae-f324-4f1d-b750-1c77024857dc_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Again=2C how is the Bitbake module terminated and then re-run=2C picking up its place in the sequence of tasks where it left off ? =20 =20 Subject: Re: [yocto] Controlling Bitbake Memory usage under Windows/Virtual= box/Ubuntu platform From: opensource@keylevel.com Date: Sun=2C 6 Mar 2016 22:38:41 +0000 CC: yocto@yoctoproject.org To: mkbrown32@hotmail.com On 6 Mar 2016=2C at 22:08=2C Mark Brown wrote: I do not see anything in the Bitbake manual for controlling how much memory Bitbake should consider itself entitled to consume in the=20 development platform within which it runs. =20 Running it on //Windows 7 64//i7-2620M//Virtualbox//Ubuntu 14 32-bit//=2C I told Virtualbox to allow Ubuntu to use 1.5 GBytes=2C but Windows Task Man= ager indicates the whole Virtualbox/Ubuntu thread is using only 160 MBytes=20 -- and is generating approximately 1=2C000 page faults per second. What memory usage does the Ubuntu VM report? Perhaps as a result=2C this Gumstix Overo build has completed only 760 out= of 3792 total tasks in 21 hours -- at this rate it will complete in 5-6 days. Not used a VM to build in ages=2C but I used to build an image from scratch= in about 10 hours running on a dual core Macbook Pro. The same build takes= about 1 hour on an 8 thread i7 with 16GB RAM and SSDs for the build work a= rea=2C peaking at about 10GB RAM usage with local.conf set to use 16 thread= s and 16 parallel makes (BB_NUMBER_THREADS and PARALLEL_MAKE both at 16) - = later Yocto versions set these for you based on the number of cores availab= le to the build host. Another thing to consider - if this is the first build=2C then you=92ll be = downloading a load of stuff from the internet. How fast is your connection?= Subsequent builds will be much quicker as the files required will then be = stored locally. How does the user terminate Bitbake at its current stage=2C increase the m= emory it is using=2C and then restart in order to speed up this process ? =20 -- _______________________________________________yocto mailing listyocto@y= octoproject.orghttps://lists.yoctoproject.org/listinfo/yocto -- Chris Tappopensource@keylevel.comwww.keylevel.com ----You can tell you're getting older when your car insurance gets real che= ap! = --_3d7304ae-f324-4f1d-b750-1c77024857dc_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
Again=2C how is the Bitbake modu= le terminated and then re-run=2C
picking up its place in =3Bthe = =3Bsequence of tasks where it left off ?
 =3B

 =3B
<= div>
Subject:=3B Re:=3B [yocto] Controlling Bi= tbake Memory usage under Windows/Virtualbox/Ubuntu platform
From:=3B = opensource@keylevel.com
Date:=3B Sun=2C 6 Mar 2016 22:=3B38:=3B= 41 +0000
CC:=3B yocto@yoctoproject.org
To:=3B mkbrown32@hotmail= .com

On 6 Mar 2016=2C at 22:=3B08=2C Mark Brown <=3Bmkbrown32@hotmail.com>=3B wrote&#= 58=3B

I do not see anything in the Bitbake manual for controlling= how much memory
Bitbake should consider itself entitled to consume in t= he =3B
development pla= tform within which it runs.
 =3B
Running it on //Windows 7 64//i7= -2620M//Virtualbox//Ubuntu 14 32-bit//=2C
I told Virtualbox to allow Ubu= ntu to use 1.5 GBytes=2C but Windows Task Manager
indicates the whole Vi= rtualbox/Ubuntu thread is using only 160 MBytes =3B
-- =3Band is generating approximately 1= =2C000 page faults per second.

<= div>What memory usage does the Ubuntu VM report?

=
 =3BPerhaps as a result=2C this Gumstix Overo build ha= s completed only 760 out of 3792
total tasks in 21 hours -- at this rate= it will complete in 5-6 days.

<= div>Not used a VM to build in ages=2C but I used to build an image from scr= atch in about 10 hours running on a dual core Macbook Pro. The same build t= akes about 1 hour on an 8 thread i7 with 16GB RAM and SSDs for the build wo= rk area=2C peaking at about 10GB RAM usage with local.conf set to use 16 th= reads and 16 parallel makes (BB_NUMBER_THREADS and PARALLEL_MAKE both at 16= ) - later Yocto versions set these for you based on the number of cores ava= ilable to the build host.

Another thing to conside= r - if this is the first build=2C then you=92ll be downloading a load of st= uff from the internet. How fast is your connection? Subsequent builds will = be much quicker as the files required will then be stored locally.
 =3BHow does the user terminate Bitb= ake at its current stage=2C increase the memory it is using=2C
and then = restart in order to speed up this process ?
 =3B
--&#= 160=3B
______= _________________________________________
yocto mailing list
yocto@yoctoproject.org
= https:=3B//lists.yoctoproject.org/listinfo/yocto
<= /div>
----
You can tell you're getting older when your= car insurance gets real cheap!

= --_3d7304ae-f324-4f1d-b750-1c77024857dc_--