[tex-live] Identifying the cause of slow compilation

Zdenek Wagner zdenek.wagner at gmail.com
Thu Mar 12 11:44:08 CET 2015


Hi Phil,

I was not careful enough when reading your original post. I have read it
again and I have a few new suggestions:

1. Yes, you can easily override any setting in texmf.cnf by editing the
root texmf.cnf (in $texmf-dist/YYYY where YYYY is the year). If TEXMF
contains strange directories, copy the definition to the root texmf.cnf and
remove the wrong ones.

2. It is not necessary to add the working directory to TEXINPUT beccause it
is searched as the first location. If you do it, TeX will look there twice.
If the directory contents is cached by OS, the second lookup will be fast.
If the OS (or VM) has little space for disk cache, the second lookup will
be as slow as the first one.

3. Remove the trailing comma inside the curly braces, It will cause
searching the whole $TEXMF/tex tree.

Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz

2015-03-12 11:08 GMT+01:00 Philip Taylor <P.Taylor at rhul.ac.uk>:

>
>
> Ulrike Fischer wrote:
>
> > Change the fonts to some which resides in the texmf-tree to check if
> > here is the bottleneck.
>
> That will take some (considerable !) time ...
>
> > Do you call fonts by font name or by file name?
>
> Typical font invocation set :
>
> \def \normalfonts
>     {%
>         \font \bodyfont = "Palatino Linotype"
>         \font \italicbodyfont = "Palatino Linotype/I"
>         \font \bolditalicbodyfont = "Palatino Linotype/BI"
>         \font \latinfont = "Palatino Linotype/I"
>         \font \hebrewfont = "Arial Unicode MS"
>         \font \headfont = "Arial Unicode MS/B:color=BF0000"
>         \font \runningheadfont ="Arial Unicode MS/B:color=BF0000"
>         \let \englishfont = \bodyfont
>         \let \greekfont = \bodyfont
>         \let \italicgreekfont = \italicbodyfont
>         \bodyfont
>     }
>
> +
>
> \font \captionfont = "Arial Unicode MS/B:color=005F00" at 8pt
> \font \redcaptionfont = "Arial Unicode MS/B" at 8,8pt
>
>
> >
> > Did you update the xetex cache with fc-cache?
>
> Just tried that, with -v -s -r :  no difference.
>
> > As you are on windows: You could try the process monitor to monitor
> > file access:
> > https://technet.microsoft.com/en-us/library/bb896645.aspx
>
> Will try that next ...
>
> ** Phil.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20150312/34f5c4c1/attachment.html>


More information about the tex-live mailing list