[oe] I hava an idea to Make OpenEmbedded Run Faster
Justin Patrin
papercrane at gmail.com
Mon Aug 27 05:51:02 UTC 2007
On 8/26/07, 杨同峰 <yangtf at envision.com.cn> wrote:
> really?? Bitbake same to be single thread . My Main Idear is like this
> when some task is compiling ,Some task is fetching ,and other maybe
> do_installing .
> but bitbake don't look like this .
>
What version of bitbake are you using? I know that 1.8 supports multithreading.
>
> 在 2007-08-26日的 21:04 -0700,Justin Patrin写道:
>
> > On 8/26/07, 杨同峰 <yangtf at envision.com.cn> wrote:
> > > EveryOne:
> > > By two week of using OE , I hava notice that task was topology
> > > sort to a queue .and Run Task One By One.
> > > draw on the experience of Design of CPU . we can make a multiply thread
> > > run of it !
> > >
> > > I notice that the biggest bottleneck of OE is do_fetch . then we
> > > can use a mutiply thread downloader instead of wget
> > > And about task schedule ,use method like this:
> > >
> > > bb_No1 do_fetch do_patch do_configure do_build do_install
> > > bb_No2 do_fetch do_patch do_configure
> > > do_build do_install
> > > bb_No3 do_fetch do_patch
> > > do_configure do_build do_install
> > > bb_No4
> > > do_fetch .......
> > >
> > > Idea 1 : focus on download one file one time ,and make it more
> > > fast use mutiply thread downloader
> > > Idea 2 : make 0ther task of bb files to run asynchronously
> > > Idea 3 : deal with task topology more carefully to make sure
> > > that the bb file that was dependend was finish before
> > > this one start to do_patch (Notice : not before
> > > do_fetch )
> > > Idea 4 : If topology can't make sure Idea 3 ,we must tell OE how
> > > and when to wait
> > >
> > > If the Idea can come true ,The speed can go 3 times faster then
> > > now
> > >
> >
> > bitbake already does this.
> >
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
--
Justin Patrin
More information about the Openembedded-devel
mailing list