Some questions about performance optimization related to GUI framework on Genode

Norman Feske norman.feske at ...1...
Mon Sep 1 12:00:36 CEST 2014

Hello Shuo Wang,

> The Git branch of our genode is listed below:

thanks for making your modifications publicly available. But I am wondering:

Why haven't you just forked the Genode repository? See

By having imported a snapshot of the source code to a new repository,
you removed all the history and cannot easily follow the mainline
development. For me, this makes it almost impossible to spot your
modifications. Why haven't you just applied your changes as a topic
branch on top of the regular Genode repository?

Moreover, why have you removed the LICENSE file from top-level
directory? The license is important information and should always be
prominently visible.

I would also recommend to keep the original README file or, at least,
provide a link to the original Genode repository.

> * Have you tried to run your GUI application on base-linux? If yes,
> have you compared its performance to the same application compiled for
> native Linux w/o Genode?
> Our apps is Fiasco.OC-specific, so I don't know how to run these apps on
> base-linux.
> * On base-linux, you could use normal Linux profiling tools such as
> oprofile to find out where the CPU time goes.
> Please recommend some similar tools on base-foc.

There is no such tool for base-foc. For this reason, I recommended to
run the application on base-linux in the first place.

Even if you application depends on Fiasco.OC, you might still use any of
the other (portable) example applications to investigate an eventual
performance problem of Qt. First check if the behavior that you noticed
can be reproduced with one of those example applications. If that is the
case, run the same application on Linux and use oprofile to investigate.

> * Can you make a Git branch with your application publicly available‍
> To run the vsos, use
> $ ./create_builddir fox_x86_32 build_dir=~/<build-directory>
> to create a build directory, and then execute
> $ make run/verify
> in build directory.

Unfortunately, I am not able to compile it. I get an error as follows:

  /open/incoming/vsos/base/include/base/rpc_server.h:152:41: error:
‘l4_utcb_id’ is not a member of ‘Fiasco’

The type 'l4_utcb_id' does not exist in the 'base-foc/contrib' source
tree. It seems like you changed the kernel but invoking 'make prepare'
within 'base-foc' fetches the original kernel.

Best regards

Dr.-Ing. Norman Feske
Genode Labs ·

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth

More information about the users mailing list