Re: gdmgreeter CPU usage
- From: Federico Mena Quintero <federico ximian com>
- To: Padraig O'Briain <Padraig Obriain Sun COM>
- Cc: performance-list gnome org
- Subject: Re: gdmgreeter CPU usage
- Date: Wed, 11 Jan 2006 12:44:23 -0600
On Wed, 2006-01-11 at 09:05 +0000, Padraig O'Briain wrote:
> FcFontSort is called 12 times during gdmgreeter startup, with a total
> cost of 205 ms of CPU.
>
> As this occurs during the boot phase I suspect that the elapsed time is
> even longer.
>
> I have bootchart that show that gdmgreeter takes about 5 seconds to
> startup when booting. About 860 ms of that is CPU time.
Ah. Now we are getting somewhere :)
I haven't looked at the dtrace log you posted - I assume it has a
breakdown of the user time for various parts of gdm?
Even though FcFontSort is only 4% of gdm's startup time, it will affect
all GNOME apps at startup, since each of them has to invoke it several
times.
- Do we really need to call it 12 times? Just how many different font
descriptions does gdm use?
- Given the same parameters, does the function always return the same
value? I don't want to put in a cache prematurely, but this would be
useful to know.
- Can we get a little program that runs FcFontSort in a loop so that we
can profile it?
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]