<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 17, 2016, at 11:04 PM, Khem Raj <<a href="mailto:raj.khem@gmail.com" class="">raj.khem@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><blockquote type="cite" class="" style="font-family: Ubuntu; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class=""><br class="Apple-interchange-newline">On Jan 8, 2016, at 1:21 AM, Burton, Ross <<a href="mailto:ross.burton@intel.com" class="">ross.burton@intel.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On 8 January 2016 at 09:09, Burton, Ross<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:ross.burton@intel.com" target="_blank" class="">ross.burton@intel.com</a>></span><span class="Apple-converted-space"> </span>wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><div class="gmail_extra">For anyone else reading, I just gave this a test locally, and for context the previous poky-tiny was using a tuned glibc and the rootfs came in at 1.5M.</div></blockquote><div class=""><br class=""></div><div class="">Finished my comparison builds:</div><div class=""><br class=""></div><div class="">musl:</div><div class="">-rw-r--r-- 1 ross ross 731681 Jan 7 23:46 core-image-minimal-qemux86-20160107234351.rootfs.cpio.gz</div><div class="">glibc:</div><div class="">-rw-r--r-- 1 ross ross 1569610 Jan 8 00:01 core-image-minimal-qemux86-20160107235147.rootfs.cpio.gz</div><div class="">uclibc:</div><div class="">-rw-r--r-- 1 ross ross 669759 Jan 8 09:14 core-image-minimal-qemux86-20160108090512.rootfs.cpio.gz </div><div class=""><br class=""></div><div class="">So it's a slightly increase over uclibc, but by default poky-tiny uses glibc so this is a massive win. In the greater scheme of things musl is trending to be worth the increase over uclibc too.</div><div class=""><br class=""></div></div></div></div></div></blockquote><div style="font-family: Ubuntu; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: Ubuntu; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Thanks Ross for this info. I think it will be interesting to know the sizes of packages contributing to image from buildhistory if you have it lying around.</div><div style="font-family: Ubuntu; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">musl has libpthread/libm etc. all bundled into single .so for simplicity reasons. I would like to get to bottom of the slight increase of musl over uclibc based system</div><div style="font-family: Ubuntu; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div></div></blockquote><div><br class=""></div><div>musl/core-image-minimal ( 690K )</div><div><br class=""></div><div><span style="color: rgb(56, 56, 56); font-family: gotham, helvetica, arial, sans-serif;" class="">601 KiB busybox</span><br style="color: rgb(56, 56, 56); font-family: gotham, helvetica, arial, sans-serif;" class=""><span style="color: rgb(56, 56, 56); font-family: gotham, helvetica, arial, sans-serif;" class="">598 KiB musl</span><br style="color: rgb(56, 56, 56); font-family: gotham, helvetica, arial, sans-serif;" class=""><span style="color: rgb(56, 56, 56); font-family: gotham, helvetica, arial, sans-serif;" class="">23 KiB netbase</span><br style="color: rgb(56, 56, 56); font-family: gotham, helvetica, arial, sans-serif;" class=""><span style="color: rgb(56, 56, 56); font-family: gotham, helvetica, arial, sans-serif;" class="">5 KiB update-rc.d</span><br style="color: rgb(56, 56, 56); font-family: gotham, helvetica, arial, sans-serif;" class=""><span style="color: rgb(56, 56, 56); font-family: gotham, helvetica, arial, sans-serif;" class="">4 KiB update-alternatives-opkg</span><br style="color: rgb(56, 56, 56); font-family: gotham, helvetica, arial, sans-serif;" class=""><span style="color: rgb(56, 56, 56); font-family: gotham, helvetica, arial, sans-serif;" class="">3 KiB busybox-udhcpc</span><br style="color: rgb(56, 56, 56); font-family: gotham, helvetica, arial, sans-serif;" class=""><span style="color: rgb(56, 56, 56); font-family: gotham, helvetica, arial, sans-serif;" class="">3 KiB busybox-mdev</span><br style="color: rgb(56, 56, 56); font-family: gotham, helvetica, arial, sans-serif;" class=""><span style="color: rgb(56, 56, 56); font-family: gotham, helvetica, arial, sans-serif;" class="">3 KiB base-files</span><br style="color: rgb(56, 56, 56); font-family: gotham, helvetica, arial, sans-serif;" class=""><span style="color: rgb(56, 56, 56); font-family: gotham, helvetica, arial, sans-serif;" class="">2 KiB run-postinsts</span><br style="color: rgb(56, 56, 56); font-family: gotham, helvetica, arial, sans-serif;" class=""><span style="color: rgb(56, 56, 56); font-family: gotham, helvetica, arial, sans-serif;" class="">2 KiB busybox-syslog</span></div><div><br class=""></div><div>uclibc/core-image-minimal ( 614K)</div><div><br class=""></div><div><div>603 KiB busybox</div><div>515 KiB uclibc</div><div>73 KiB libm1</div><div>23 KiB netbase</div><div>5 KiB update-rc.d</div><div>4 KiB update-alternatives-opkg</div><div>3 KiB busybox-udhcpc</div><div>3 KiB busybox-mdev</div><div>3 KiB base-files</div><div>2 KiB run-postinsts</div><div>2 KiB busybox-syslog</div></div><div><br class=""></div><div><br class=""></div><div>I don’t know why musl one is 690K where as the factored sizes are quite same for both images . May be because it is on different machine. </div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div style="font-family: Ubuntu; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><br class="" style="font-family: Ubuntu; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><blockquote type="cite" class="" style="font-family: Ubuntu; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><div class="">Ross</div></div></div></div></div></blockquote></div></blockquote></div><br class=""></body></html>