Re: GTK apps very slow to launch




On 7/17/06, Anna <christiana hipointcoffee com> wrote:
is the process fork()ing at all?  make sure you (-f) "follow" the children.

did you watch the output of strace while it was being created?

Thanks for the tip about running it and watching the output. Everything flies by until I get to the parts that have the read statements. So it slows down significantly at the parts as shown below. Nothing stops mind you, but the blocks of read statements are much much slower than the other parts of the output:

<snip>
.
munmap(0xb7dde000, 4096)                = 0
open("/usr/share/X11/fonts/100dpi/fonts.cache-1", O_RDONLY) = 17
stat64("/usr/share/X11/fonts/100dpi", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
stat64("/usr/share/X11/fonts/100dpi/fonts.cache-1", {st_mode=S_IFREG|0644, st_size=230508, ...}) = 0
fstat64(17, {st_mode=S_IFREG|0644, st_size=230508, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7dde000
read(17, "\"courB08-ISO8859-1.pcf.gz\" 0 \"Co"..., 4096) = 4096
read(17, "lias=False:index=0:outline=False"..., 4096) = 4096
read(17, "h|da|de|en|es|eu|fj|fo|fur|fy|gd"..., 4096) = 4096
read(17, "sv|sw|tn|to|tr|ts|ven|vo|vot|wa|"..., 4096) = 4096
read(17, "|vo|wa|xh|yap|zu:fontversion=0:f"..., 4096) = 4096
read(17, "t=110:weight=200:width=100:pixel"..., 4096) = 4096
read(17, "e:antialias=False:index=0:outlin"..., 4096) = 4096
read(17, "%#|>^1!|>^1!|>^1!P0oWQ[tJ)#*q&y|"..., 4096) = 4096
read(17, "wa|wen|wo|xh|yap|zu:fontversion="..., 4096) = 4096
read(17, "ntversion=0:fontformat=PCF\"\n\"cou"..., 4096) = 4096
read(17, "y|da|de|en|eo|es|et|eu|fi|fj|fo|"..., 4096) = 4096
read(17, "|om|pt|rm|sma|smj|so|sq|sv|sw|tn"..., 4096) = 4096
read(17, "foundry=Adobe:antialias=False:in"..., 4096) = 4096
read(17, "ang=aa|ast|ay|bi|br|ch|da|de|en|"..., 4096) = 4096
read(17, "y#fx!!!!5 !!!!3!!#lg  !!#3H!!!)/"..., 4096) = 4096
read(17, "1!P0oWQ |>^1!|>^1!|>^1!:lang=aa|"..., 4096) = 4096
read(17, "%&&x#y#fx!!!!5 !!!!3!!#lg  !!#3H"..., 4096) = 4096
read(17, "oWQ |>^1!|>^1!|>^1!:lang=aa|ast|"..., 4096) = 4096
read(17, ".gz\" 0 \"LucidaBright-8:style=Ita"..., 4096) = 4096
read(17, "|>^1!P0oWQ |>^1!|>^1!|>^1!!!!%#|"..., 4096) = 4096
read(17, "tformat=PCF\"\n\"lubI08-ISO8859-1.p "..., 4096) = 4096
read(17, "lse:dpi=100:charset= !!!!#|>^1!|"..., 4096) = 4096

<snip>

I'm not sure what the read() commands are doing. But it appears font related. Maybe some problem with the font-cache files?





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