Angelika Bosau
2004-11-05 13:30:46 UTC
Hi all,
I have a problem with displaying chinese characters. I use the fontfile
gb16fs.pcf.gz.
When I start my program it takes some seconds (about 15) till I see the
chinese characters. During these 15 seconds the XFree86 takes over 90%
cpu-time. My question is, what does XFree86 do and how can I reduce this
time?
I analysed it with strace and tcpdump. The xserver opens the fontfile,
reads and closes the file. Then there are only signals (SIGALRM) in the
strace output and no system calls for the next (15) seconds. In the
output of tcpdump you can see, that my program send a OpenFont,
QueryFont and gets the answer after this long time.
My test system:
XFree86 4.1.0.1
/proc/cpuinfo:
Processor : XScale-PXA255 rev 6 (v5l)
BogoMIPS : 397.31
Features : swp half thumb fastmult edsp
CPU implementor : 0x69
CPU architecture: 5TE
CPU variant : 0x0
CPU part : 0x2d0
CPU revision : 6
Cache type : undefined 5
Cache clean : undefined 5
Cache lockdown : undefined 5
Cache unified : harvard
I size : 32768
I assoc : 32
I line length : 32
I sets : 32
D size : 32768
D assoc : 32
D line length : 32
D sets : 32
Hardware : Compulab ARMCore
Revision : 0000
Serial : 0000000000000000
Please answer to ***@dsa-ac.de
Regards,
Angelika
--
DSA - Daten und Systemtechnik GmbH
Pascalstrasse 28
D-52076 Aachen-Oberforstbach
Tel: 0049/2408/9492-652
Mail: ***@dsa-ac.de
I have a problem with displaying chinese characters. I use the fontfile
gb16fs.pcf.gz.
When I start my program it takes some seconds (about 15) till I see the
chinese characters. During these 15 seconds the XFree86 takes over 90%
cpu-time. My question is, what does XFree86 do and how can I reduce this
time?
I analysed it with strace and tcpdump. The xserver opens the fontfile,
reads and closes the file. Then there are only signals (SIGALRM) in the
strace output and no system calls for the next (15) seconds. In the
output of tcpdump you can see, that my program send a OpenFont,
QueryFont and gets the answer after this long time.
My test system:
XFree86 4.1.0.1
/proc/cpuinfo:
Processor : XScale-PXA255 rev 6 (v5l)
BogoMIPS : 397.31
Features : swp half thumb fastmult edsp
CPU implementor : 0x69
CPU architecture: 5TE
CPU variant : 0x0
CPU part : 0x2d0
CPU revision : 6
Cache type : undefined 5
Cache clean : undefined 5
Cache lockdown : undefined 5
Cache unified : harvard
I size : 32768
I assoc : 32
I line length : 32
I sets : 32
D size : 32768
D assoc : 32
D line length : 32
D sets : 32
Hardware : Compulab ARMCore
Revision : 0000
Serial : 0000000000000000
Please answer to ***@dsa-ac.de
Regards,
Angelika
--
DSA - Daten und Systemtechnik GmbH
Pascalstrasse 28
D-52076 Aachen-Oberforstbach
Tel: 0049/2408/9492-652
Mail: ***@dsa-ac.de