Alan,

thanks for the reply.

I do have fc-cache ran at least at each boot time.

I've noticed FF opening all the fc-cache files in the various places at 
launch time. Everything looks good until I visit a mathml page (pls see 
those I cite for reference). At this point FF3.0.1 stalls for 2-4 
minutes and truss'ing the PID show it is checking all the font files for 
by xstat(). I guess it's trying to find out the files size to preload it 
in memory for caching? I thought that this wouldn't be necessary but I 
guess the mathml code maybe is out of sync with the rest of the 
font-management system within FF3.X ?

again kudos to all the nice things introduced with FF3.X for Solaris10. 
Next step would be a recent desktop environment for Solaris with all the 
nice modern graphical libraries...

thanks
Michael




Alan Coopersmith wrote:
> Michael E. Thomadakis wrote:
>> I've noticed FF 3.0.1 (on solaris10 amd64) stalling at times, while I 
>> was viewing mathml documents at http://pear.math.pitt.edu/mathzilla/ 
>> (look for sample mathml documents there, eg., see 
>> "http://pear.math.pitt.edu/mathzilla/Examples/markupOftheWeek.mhtml";). 
>> After I did a
>>
>> truss -fvall -p FFpid
>>
>> I saw that it kept checking all of my font files every once a while. 
>> I do have 2295 fonts installed (most from LaTex 'texlive' 
>> distribution) so that was taking some time (1-3min). See bellow excerpt:
>>
>> .....
>> 20891/1: xstat(2, 
>> "/usr/local/texlive/2007/texmf-dist/fonts/vf/cspsfonts-adobe/zapfchan", 
>> 0x0803D280) = 0
>> 20891/1: d=0x01980044 i=161341 m=0040755 l=2 u=0 g=0 sz=512
>> 20891/1: at = Apr 22 13:16:02 CDT 2008 [ 1208888162 ]
>> 20891/1: mt = Apr 17 13:06:03 CDT 2008 [ 1208455563 ]
>> 20891/1: ct = Apr 17 13:06:03 CDT 2008 [ 1208455563 ]
>> 20891/1: bsz=8192 blks=2 fs=ufs
>> 20891/1: xstat(2, 
>> "/usr/local/texlive/2007/texmf-dist/fonts/vf/ibm/timesnew", 
>> 0x0803D280) = 0
>> 20891/1: d=0x01980044 i=161344 m=0040755 l=2 u=0 g=0 sz=1024
>> 20891/1: at = Apr 22 13:16:02 CDT 2008 [ 1208888162 ]
>> 20891/1: mt = Apr 17 13:06:03 CDT 2008 [ 1208455563 ]
>> 20891/1: ct = Apr 17 13:06:03 CDT 2008 [ 1208455563 ]
>> 20891/1: bsz=8192 blks=2 fs=ufs
>> 20891/1: xstat(2, 
>> "/usr/local/texlive/2007/texmf-dist/fonts/vf/monotype/helvetic", 
>> 0x0803D280) = 0
>> 20891/1: d=0x01980044 i=161368 m=0040755 l=2 u=0 g=0 sz=512
>> 20891/1: at = Apr 22 13:16:02 CDT 2008 [ 1208888162 ]
>> 20891/1: mt = Apr 17 13:06:03 CDT 2008 [ 1208455563 ]
>> 20891/1: ct = Apr 17 13:06:03 CDT 2008 [ 1208455563 ]
>> 20891/1: bsz=8192 blks=2 fs=ufs
>> 20891/1: xstat(2, 
>> "/usr/local/texlive/2007/texmf-dist/fonts/vf/monotype/timesnew", 
>> 0x0803D280) =
>> .....
>>
>> I believe that checking the same collection of font files is wasteful 
>> and it should be only when really necessary. 
>
> Have you run fc-cache to build a font cache so it doens't have to scan?
> (Though you'd have to ask the Firefox guys why it rescans - normally
>  lack of a fc-cache just makes programs scan once at startup, not
>  repeatedly.)
>


-- 
% -------------------------------------------------------------------- \
% Michael E. Thomadakis, Ph.D.        Senior Lead Systems Engineer/Res \
% E-mail: miket AT sc.tamu.edu                    Texas A&M University \
%         miket AT tamu.edu                      Supercomputing Center \
% Voice:  979-862-3931                    Teague Research Center, 104B \
% FAX:    979-847-8643                       College Station, TX 77843 \
% -------------------------------------------------------------------- \


Reply via email to