On Sun, Feb 8, 2009 at 12:40 AM, S Page <span dir="ltr"><<a href="mailto:info@skierpage.com" target="_blank">info@skierpage.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Tiago Marques wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
That software is still not compiled for the Geode LX, which further<br>
</blockquote>
slows it down.<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
As you say, everything uses CPU on the Geode. Things like<br>
</blockquote>
decompressing can be made, probably, a lot faster just by using compiler<br>
optimizations. Has this been considered in any way for future releases?<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
>From my professional experience, compiler optimizations can account<br>
</blockquote>
for 10-30% (or more) free performance.<br>
<br>
It seems the binaries in the OLPC OS image are just generic 386 arch binaries. (Is there a way to definitively tell? A build log like <<a href="http://xs-dev.laptop.org/~cscott/xo-1/streams/joyride/latest/devel_jffs2/build.log" target="_blank">http://xs-dev.laptop.org/~cscott/xo-1/streams/joyride/latest/devel_jffs2/build.log</a>> is unclear.)</blockquote>
<div>file doesn't say much, everything I have compiled with -march=i686 still shows up as i386 binary. I don't know of anything that might tell us that.</div><div class="Ih2E3d"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
This is the case even in the jffs2 OS images that will never be used on anything but the stable XO hardware (or in emulation, which AIUI already requires AMD CPU emulation because of the tuned kernel).<br>
<br>
So every OLPC and activity binary should be compiled with -mtune=geode (optimized for Geode, but still runs on any i386), and in jffs2 images they should be compiled with -march=geode (only runs on Geode). ("Should" as in "I'd like a pink pony too" ;-) .)</blockquote>
</div><div>I've read some reports that indicate that using -mtune should be good enough for added performance, although I mostly compile with -march for my systems. I never bothered to check but I'll run some tests on the XO to see if it's significant and worth the extra effort(if feasible, as you say).</div>
<div class="Ih2E3d">
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
I assume this is what GentooXO does, <a href="http://www.gentooxo.org/features.shtml" target="_blank">http://www.gentooxo.org/features.shtml</a><br>
<br>
<a href="https://dev.laptop.org/ticket/118" target="_blank">https://dev.laptop.org/ticket/118</a> is the tracking ticket, <a href="http://wiki.laptop.org/go/Geode_optimization_effort" target="_blank">http://wiki.laptop.org/go/Geode_optimization_effort</a> the page.</blockquote>
</div><div>Thanks!</div><div>Best regards,</div><div> Tiago Marques</div><div><div class="Wj3C7c"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Thanks for all you do,<br>
--<br><font color="#888888">
=S Page<br>
</font></blockquote><br>
</div></div><br>