Benchmarking Genode TrustZone

Tiago Brito tb.genode at ...9...
Mon Jun 27 13:16:34 CEST 2016


Hi again, I'm using the linaro's arm-linux-gnueabihf 5.3 toolchain to
compile the application running on top of the NW linux, but I want to try
and compile it using the same compiler version used for genode since the
use of different compilers is probably interfering with my benchmark
measurements (it's the only variant).

I tried using the GCC present in genode's toolchain but I'm having several
No such file or directory errors with stdio.h and string.h includes. My
application also uses sockets, so the necessary include files are used and
may cause similar errors in the compilation process.

Do you have any suggestion on how to solve this and get the same basic
for-loop to show similar performance results in both the Normal and Secure
World execution contexts?

Thanks, Tiago

2016-06-23 17:20 GMT+01:00 Christian Helmuth <
christian.helmuth at ...1...>:

> Hello Tiago,
>
> On Thu, Jun 23, 2016 at 04:32:18PM +0100, Tiago Brito wrote:
> > I did not check if the binary code is similar, but I did measure just the
> > for-loop in both worlds and the times are those I described previously.
>
> You really should compare the binary code as example that's slower in
> SW uses floating arithmetics unless I'm mistaken. If the code is
> similar and the execution time differs much, there may be an issue
> with FPU handling in SW.
>
> Greets
> --
> Christian Helmuth
> Genode Labs
>
> http://www.genode-labs.com/ · http://genode.org/
> https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/
>
> Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
> Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
>
>
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> _______________________________________________
> genode-main mailing list
> genode-main at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/genode-main
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genode.org/pipermail/users/attachments/20160627/2d69d623/attachment.html>


More information about the users mailing list