All of lore.kernel.org
 help / color / mirror / Atom feed
* Switch from tar.bz2 to tar.gz
@ 2012-11-04 14:06 Cooper Jr., Franklin
  2012-11-05 15:15 ` Maupin, Chase
  2012-11-05 15:18 ` Denys Dmytriyenko
  0 siblings, 2 replies; 3+ messages in thread
From: Cooper Jr., Franklin @ 2012-11-04 14:06 UTC (permalink / raw)
  To: meta-arago@arago-project.org

[-- Attachment #1: Type: text/plain, Size: 1406 bytes --]

In our current setup tar.bz2 is the default file type used by image recipes. In classic arago we used tar.gz.

I was always curious why some of the image builds were taking a long time. I also noticed that installing the SDK using the installer also took a very long time.

I took arago-amsdk-image contents and created and extracted tar.gz and tar.bz2 files and timed the results.

extract tar.bz2
real    2m20.402s
user    2m15.800s
sys     0m9.410s

extract tar.gz
real    0m47.641s
user    0m34.850s
sys     0m10.860s

create tar.gz
real    1m49.561s
user    1m39.130s
sys     0m4.420s

create tar.bz2
real    6m10.851s
user    6m8.490s
sys     0m4.420s

It seems tar.bz2 provides better compression at the cost of extraction and compression speed. From a SDK perspective  some savings in size is not worth a significant increase in time to bitbake image recipes and neither is it worth the extra time to install a full blown SDK. I would also note that these test are done on a 24 core machine. I'm unsure how much these different compression algorithms utilize all the different cores but I am sure times on a traditional machine will be significantly longer. So is there any issue with me changing the default file type for images from tar.bz2 to tar.gz?


Regards,
Franklin Cooper Jr.
Texas Instruments
Application Engineer
fcooper@ti.com<mailto:fcooper@ti.com>


[-- Attachment #2: Type: text/html, Size: 5932 bytes --]

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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-04 14:06 Switch from tar.bz2 to tar.gz Cooper Jr., Franklin
2012-11-05 15:15 ` Maupin, Chase
2012-11-05 15:18 ` Denys Dmytriyenko

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.