[Glade-users] Glade on Embedded devices

On Tue, Jul 22, 2008 at 12:59 PM, BalaKrishna Kolluru
<balakkvj at dcs.shef.ac.uk> wrote:
Hello People,
                     I am using glade (glademm actually) for the user
interface on an embedded device.
Well it is an intel board with embedded Debian. It works quite well but I am
experiencing extremely high latency times.
Somewhere in the order of 6--8 seconds to open a new window while the
dialogs are very quick.
Do any of you have any idea as to what can be slowing the interface?

Im tempted to point at the graphics you are loading onto your widgets
into the interface... what are you using ? custom widgets that load thier
graphics from the disk ? the "pixmap" theme engine ?

If the whole thing isnt too heavy, you might even consider loading all the
graphics into a portion of that 256MB of yours and mlocking it into
memory and make sure you dont ever swap out ;-)

Anyway, in a situation like this there are alot of variables, you are probably
already profiling your application to find the exact function/system calls
that are taking a long time... so I'll leave you to that.

Note: I doubt that the libglade processing plays a major role here, so long
as you are not wasting memory with unfreed GladeXML * objects, just as
well - embedded developers have been known to rewrite libglade into a
binary parser, so its a little of a bottle neck.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]