Slow dialer

John Lee john_lee at
Mon Apr 7 06:38:07 CEST 2008

On Mon, Mar 31, 2008 at 05:34:25PM +0100, Thomas Wood wrote:
> Finally, with the help of my collegue Rob Bradford, we investigated why
> gtk_init took so much more time to run proportional to running on the
> desktop. After investigation, we discovered gtk_init was reading lots of
> data from /dev/urandom, but we also discovered this didn't happen on the
> desktop. Further investigation led us to find this was caused by a
> function called gtk_migration_init(). This function does not appear in
> GTK+ and is actually added by a patch in OpenEmbedded. I removed the
> patch and the resulting start-up time can be seen in the third graph
> (3-dialer-without-migration-patch.png). With the patch removed,
> gtk_init() accounts for about 12% of the start-up time, as opposed to
> 65% previously.
> The gtk-migration patch appears to be an old patch that GPE used to
> enable a particular feature they wanted (to allow a panel applet to
> migrate windows to different screens). This feature is not required in
> OpenMoko, so I would suggest it be removed from the OpenMoko monotone
> repository.

it's removed.  thanks for the investigation and thanks for olv for
reminding me.

- John

More information about the openmoko-devel mailing list