Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 96D0FE00C18; Sun, 6 Mar 2016 19:29:39 -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) * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [65.54.190.20 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from BAY004-OMC1S9.hotmail.com (bay004-omc1s9.hotmail.com [65.54.190.20]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id E9202E00BE8 for ; Sun, 6 Mar 2016 19:29:37 -0800 (PST) Received: from BAY181-W93 ([65.54.190.60]) by BAY004-OMC1S9.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sun, 6 Mar 2016 19:29:36 -0800 X-TMN: [OhaQqgr4jeV2qE5fUCIim2yqpD6N58sL] X-Originating-Email: [mkbrown32@hotmail.com] Message-ID: From: Mark Brown To: Tom King Date: Sun, 6 Mar 2016 19:29:36 -0800 Importance: Normal In-Reply-To: References: , <31886292-F1E6-477C-B24E-BFB9F7493942@keylevel.com>, , MIME-Version: 1.0 X-OriginalArrivalTime: 07 Mar 2016 03:29:36.0960 (UTC) FILETIME=[93378C00:01D17821] 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 03:29:39 -0000 Content-Type: multipart/alternative; boundary="_b8304567-dae7-492e-9deb-40d6c34f699a_" --_b8304567-dae7-492e-9deb-40d6c34f699a_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable So what is the appropriate method (keystrokes within Term) to terminate Bit= bake and then reinvoke it to achieve safely this restart functionality ? =20 =20 Date: Sun=2C 6 Mar 2016 19:21:43 -0800 Subject: Re: [yocto] Controlling Bitbake Memory usage under Windows/Virtual= box/Ubuntu platform From: ka6sox@gmail.com To: mkbrown32@hotmail.com CC: opensource@keylevel.com=3B yocto@yoctoproject.org it starts from the beginning Parses the recipies (again) and picks up where it left off.. On Sun=2C Mar 6=2C 2016 at 5:01 PM=2C Mark Brown wr= ote: 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! =20 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto = --_b8304567-dae7-492e-9deb-40d6c34f699a_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
So what is the appropriate metho= d (keystrokes within Term) to terminate Bitbake and
then reinvoke it to = achieve safely =3Bthis restart functionality ?
 =3B

&nb= sp=3B

Date:=3B Sun=2C 6 Mar 2016 19:= =3B21:=3B43 -0800
Subject:=3B Re:=3B [yocto] Controlling Bitbak= e Memory usage under Windows/Virtualbox/Ubuntu platform
From:=3B ka6s= ox@gmail.com
To:=3B mkbrown32@hotmail.com
CC:=3B opensource@key= level.com=3B yocto@yoctoproject.org

it starts from th= e beginning

Parses the recipies (again)

and picks up where it left off..

On Sun=2C Mar 6=2C 2016 at 5:=3B01= PM=2C Mark Brown <=3Bmkbrown32@hotmail.com>=3B wrote= 8=3B
Again=2C how is the Bitbake module terminated and then = re-run=2C
picking up its place in =3Bthe =3Bsequence of tasks wh= ere it left off ?
 =3B

 = =3B

Subject:=3B Re:= =3B [yocto] Controlling Bitbake Memory usage under Windows/Virtualbox/Ubunt= u platform
From:=3B opensource@keylevel.com
Date:=3B Sun=2C 6 Mar 201= 6 22:=3B38:=3B41 +0000
CC:=3B yocto@yoctoproject.org
To:=3B mkbrown32@hotmai= l.com


On 6 Mar 2016=2C at 22:=3B08= =2C Mark Brown <=3Bmkbrown32@hotmail.com>=3B wrote:=3B
=
I do not see anything in the Bitbake manual for = controlling how much memory
Bitbake should consider itself entitled to c= onsume in the =3B
development platform within which it = runs.
 =3B
Running it on //Windows 7 64//i7-2620M//Virtualbox//Ub= untu 14 32-bit//=2C
I told Virtualbox to allow Ubuntu to use 1.5 GBytes= =2C but Windows Task Manager
indicates the whole Virtualbox/Ubuntu threa= d is using only 160 MBytes =3B
-- =3Band is generat= ing approximately 1=2C000 page faults per second.

What memory usage does the Ubuntu VM report?
 =3BPerhaps as a result=2C this Gum= stix Overo build has completed only 760 out of 3792
total tasks in 21 ho= urs -- at this rate it will complete in 5-6 days.

Not used a VM to build in ages=2C but I used to buil= d an image from scratch in about 10 hours running on a dual core Macbook Pr= o. The same build takes about 1 hour on an 8 thread i7 with 16GB RAM and SS= Ds for the build work area=2C peaking at about 10GB RAM usage with local.co= nf set to use 16 threads and 16 parallel makes (BB_NUMBER_THREADS and PARAL= LEL_MAKE both at 16) - later Yocto versions set these for you based on the = number of cores available to the build host.

Anoth= er thing to consider - if this is the first build=2C then you=92ll be downl= oading a load of stuff from the internet. How fast is your connection? Subs= equent builds will be much quicker as the files required will then be store= d locally.

 =3BHow does the = user terminate Bitbake at its current stage=2C increase the memory it is us= ing=2C
and then restart in order to speed up this process ?
 =3B<= br>
-- =3B<= /span>
_________________= ______________________________
yocto mailing list
yocto@yoctoproject.org
https:=3B//lists.yoctoproject.org/listinfo/yocto
=

--

Chris T= app

----=
You can tell you're getting older when your car insurance gets r= eal cheap!


--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org<= br> https:=3B//lists.yoctoproject.org/listinfo/yocto


= --_b8304567-dae7-492e-9deb-40d6c34f699a_--