[tex-k] File searching very slow

Johannes Kuester jk at typoma.com
Wed Apr 14 11:03:46 CEST 2021


Hi Karl and Norbert,

as a side note: in the documentation, I missed information on what is
normal/expected/correct output from debugging, and what is an error or
unusual/suspicious/undesired output. Some examples might be helpful here.


I didn't see any notable differences in the logs myself, but wasn't sure.

Yes, slowness is repeatable and persistent. Very much slower: at least
about 20 to 30 times (i.e. a file that takes TeX a few seconds to
process on my laptop takes about a minute on my iMac). TeX itself runs
reasonably fast e.g. when processing text, but slow with any file
inclusion, i.e. it is slow when processing any LaTeX preamble and slow
with any graphics inclusion etc.

~/Library/texmf contains only some empty directories on both systems
("2021" with empty subdirectories "texmf-config", "texmf-var"). All my
local stuff is in "/usr/local/texlive/texmf-local" on both systems. To
mv aside ~/Library/texmf makes no difference. Also to mv texmf-local
makes no difference.

To mv the texmf-dist ls-R results in "file not found" errors.

File system: APFS (on both systems). Unaltered, so case-insensitive
("touch test Test TEST" from a terminal results in only one file "Test"
in Finder).


The problem might have originated with a "system restore" from my
previous machine, i.e. with "Migration Assistant", which restored a lot
of unwanted old stuff. Still I don't see how it could interfere with TeX
in such a way. I had macports on the previous machine, but now homebrew
only, and without any TeX stuff there. And I don't see any interference
in the logs.

I also checked file permissions and ownership, but I don't see any
relevant differences or problems.


Do you have any ideas for any tracing / tracking options to see where
the time is spent?

Any Mac system preferences, security measures which might interfere?

Any problems with zsh instead of bash?


Output from "tlmgr conf":

=========================== version information ==========================
tlmgr revision 57970 (2021-02-27 15:17:34 +0100)
tlmgr using installation: /usr/local/texlive/2021
TeX Live (https://tug.org/texlive) version 2021
==================== executables found by searching PATH =================
PATH:
/Library/TeX/texbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/Users/jo/context/tex/texmf-osx-64/bin:/Users/jo/bin:/Users/jo/bin/afdko_env/bin:.
dvipdfmx:  /Library/TeX/texbin/dvipdfmx
dvips:     /Library/TeX/texbin/dvips
fmtutil:   /Library/TeX/texbin/fmtutil
kpsewhich: /Library/TeX/texbin/kpsewhich
luatex:    /Library/TeX/texbin/luatex
mktexpk:   /Library/TeX/texbin/mktexpk
pdftex:    /Library/TeX/texbin/pdftex
tex:       /Library/TeX/texbin/tex
tlmgr:     /Library/TeX/texbin/tlmgr
updmap:    /Library/TeX/texbin/updmap
xetex:     /Library/TeX/texbin/xetex
=========================== active config files ==========================
config.ps:       
/usr/local/texlive/2021/texmf-config/dvips/config/config.ps
fmtutil.cnf:      /usr/local/texlive/2021/texmf-dist/web2c/fmtutil.cnf
mktex.cnf:        /usr/local/texlive/2021/texmf-dist/web2c/mktex.cnf
pdftexconfig.tex:
/usr/local/texlive/2021/texmf-config/tex/generic/tex-ini-files/pdftexconfig.tex
texmf.cnf:        /usr/local/texlive/2021/texmf.cnf
texmf.cnf:        /usr/local/texlive/2021/texmf-dist/web2c/texmf.cnf
updmap.cfg:       /usr/local/texlive/2021/texmf-dist/web2c/updmap.cfg
============================= font map files =============================
kanjix.map: 
/usr/local/texlive/2021/texmf-var/fonts/map/dvipdfmx/updmap/kanjix.map
pdftex.map: 
/usr/local/texlive/2021/texmf-var/fonts/map/pdftex/updmap/pdftex.map
ps2pk.map:  
/usr/local/texlive/2021/texmf-var/fonts/map/dvips/updmap/ps2pk.map
psfonts.map:
/usr/local/texlive/2021/texmf-var/fonts/map/dvips/updmap/psfonts.map
=========================== kpathsea variables ===========================
ENCFONTS=.:{{}/Users/jo/Library/texlive/2021/texmf-config,/Users/jo/Library/texlive/2021/texmf-var,/Users/jo/Library/texmf,!!/usr/local/texlive/texmf-local,!!/usr/local/texlive/2021/texmf-config,!!/usr/local/texlive/2021/texmf-var,!!/usr/local/texlive/2021/texmf-dist}/fonts/enc//
SYSTEXMF=/usr/local/texlive/2021/texmf-var:/usr/local/texlive/texmf-local:/usr/local/texlive/2021/texmf-dist
TEXCONFIG={{}/Users/jo/Library/texlive/2021/texmf-config,/Users/jo/Library/texlive/2021/texmf-var,/Users/jo/Library/texmf,!!/usr/local/texlive/texmf-local,!!/usr/local/texlive/2021/texmf-config,!!/usr/local/texlive/2021/texmf-var,!!/usr/local/texlive/2021/texmf-dist}/dvips//
TEXFONTMAPS=.:{{}/Users/jo/Library/texlive/2021/texmf-config,/Users/jo/Library/texlive/2021/texmf-var,/Users/jo/Library/texmf,!!/usr/local/texlive/texmf-local,!!/usr/local/texlive/2021/texmf-config,!!/usr/local/texlive/2021/texmf-var,!!/usr/local/texlive/2021/texmf-dist}/fonts/map/{kpsewhich,pdftex,dvips,}//
TEXMF={{}/Users/jo/Library/texlive/2021/texmf-config,/Users/jo/Library/texlive/2021/texmf-var,/Users/jo/Library/texmf,!!/usr/local/texlive/texmf-local,!!/usr/local/texlive/2021/texmf-config,!!/usr/local/texlive/2021/texmf-var,!!/usr/local/texlive/2021/texmf-dist}
TEXMFCONFIG=/Users/jo/Library/texlive/2021/texmf-config
TEXMFDBS={!!/usr/local/texlive/texmf-local,!!/usr/local/texlive/2021/texmf-config,!!/usr/local/texlive/2021/texmf-var,!!/usr/local/texlive/2021/texmf-dist}
TEXMFDIST=/usr/local/texlive/2021/texmf-dist
TEXMFHOME=/Users/jo/Library/texmf
TEXMFLOCAL=/usr/local/texlive/texmf-local
TEXMFMAIN=/usr/local/texlive/2021/texmf-dist
TEXMFSYSCONFIG=/usr/local/texlive/2021/texmf-config
TEXMFSYSVAR=/usr/local/texlive/2021/texmf-var
TEXMFVAR=/Users/jo/Library/texlive/2021/texmf-var
TEXPSHEADERS=.:{{}/Users/jo/Library/texlive/2021/texmf-config,/Users/jo/Library/texlive/2021/texmf-var,/Users/jo/Library/texmf,!!/usr/local/texlive/texmf-local,!!/usr/local/texlive/2021/texmf-config,!!/usr/local/texlive/2021/texmf-var,!!/usr/local/texlive/2021/texmf-dist}/{dvips,fonts/{enc,type1,type42,type3}}//
VARTEXFONTS=/Users/jo/Library/texlive/2021/texmf-var/fonts
WEB2C={{}/Users/jo/Library/texlive/2021/texmf-config,/Users/jo/Library/texlive/2021/texmf-var,/Users/jo/Library/texmf,!!/usr/local/texlive/texmf-local,!!/usr/local/texlive/2021/texmf-config,!!/usr/local/texlive/2021/texmf-var,!!/usr/local/texlive/2021/texmf-dist}/web2c
==== kpathsea variables from environment only (ok if no output here) ====


Am 14.04.21 um 02:31 schrieb Norbert Preining:
> On Tue, 13 Apr 2021, Karl Berry wrote:
>> I'm not seeing any other notable differences in the logs :(, and no one
>> else has reported the problem. Maybe something different in the OS
>> configuration?
> Something to do with the upper/lower case changes that were introduced
> inbetween?
>
> Which file system? Is it case sensitive?
>
> Best
>
> Norbert
>
> --
> PREINING Norbert                              https://www.preining.info
> Fujitsu                 + IFMGA Guide + TU Wien + TeX Live + Debian Dev
> GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13


More information about the tex-k mailing list.