All of lore.kernel.org
 help / color / mirror / Atom feed
* RPM vs IPK
@ 2011-05-19 14:05 Gary Thomas
  2011-05-19 14:17 ` Mark Hatle
  0 siblings, 1 reply; 14+ messages in thread
From: Gary Thomas @ 2011-05-19 14:05 UTC (permalink / raw)
  To: Poky Project

Building Poky for various targets, I see some striking differences
based on the packaging.  I'm building for the beagleboard (RPM)
and my own OMAP/3530 (IPK), so everything is the same for these
packages (same compiler, architecture, etc), only the package
method differs.  This was built on an otherwise idle box
4-way (Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz), with
   BB_NUMBER_THREADS ?= "4"
   PARALLEL_MAKE ?= "-j 4"

Each of these tests are a complete build of the package, with
all dependencies already built.  For example, I use this sequence:
   % bitbake perl
   % bitbake perl -c clean
   % rm sstate-cache/sstate-perl-arm*
   % time bitbake perl

perl -      RPM                         IPK
        real    12m15.520s          real    9m43.228s
        user    5m42.988s           user    4m40.692s
        sys     3m56.636s           sys     2m19.860s

eglibc     RPM                          IPK
        real    32m19.984s          real    23m52.124s
        user    15m32.732s          user    20m48.214s
        sys     17m28.087s          sys     9m3.936s

Bottom line - it seems to take 20-30% longer to package via RPM.

I know there are reasons and tradeoffs for different packaging
methods, but 30% extra?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 14+ messages in thread
* RPM vs IPK
@ 2011-03-21  1:58 Gary Thomas
  2011-03-21 11:57 ` Richard Purdie
  0 siblings, 1 reply; 14+ messages in thread
From: Gary Thomas @ 2011-03-21  1:58 UTC (permalink / raw)
  To: Poky

I know that historically Poky has used 'ipk' as the primary packaging
mechanism.  It seems that now Poky/Yocto has move to 'rpm'.  My distribution
is still using ipk, but I'm happy to change, given a good argument.

* Is there such [a good reason] to use rpm over ipk?
* What are the pros and cons?  I'm mostly interested in very resource limited
   deeply embedded systems which often only run from FLASH.

Thanks for any comments

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 14+ messages in thread
* RPM vs IPK
@ 2010-10-29 21:33 Gary Thomas
  2010-10-29 21:39 ` Gary Thomas
  0 siblings, 1 reply; 14+ messages in thread
From: Gary Thomas @ 2010-10-29 21:33 UTC (permalink / raw)
  To: Poky

I notice that in the latest master, rpm-native is always built,
even if I'm using ipk style packaging.

* Why?
* Why should I choose one over the other?  I'm happy using rpm
   (been using it for 15 years!) but I wonder why the switch?
   Is rpm to become the de-facto packaging for Poky builds?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-05-19 15:40 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-19 14:05 RPM vs IPK Gary Thomas
2011-05-19 14:17 ` Mark Hatle
2011-05-19 14:26   ` Gary Thomas
2011-05-19 15:28     ` Stewart, David C
2011-05-19 15:40       ` Gary Thomas
  -- strict thread matches above, loose matches on Subject: below --
2011-03-21  1:58 Gary Thomas
2011-03-21 11:57 ` Richard Purdie
2011-03-21 14:02   ` Gary Thomas
2011-03-21 14:42     ` Richard Purdie
2011-03-21 16:33       ` Mark Hatle
2011-03-22  0:20     ` Khem Raj
2010-10-29 21:33 Gary Thomas
2010-10-29 21:39 ` Gary Thomas
2010-10-30  6:17   ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.