[OS X TeX] Poor performance on a MacBookPro

Maarten Sneep maarten.sneep at xs4all.nl
Mon Sep 3 17:51:35 EDT 2007


On Sep 3, 2007, at 23:21, Dave Murray-Rust wrote:

>
> On 3 Sep 2007, at 21:59, Maarten Sneep wrote:
>
>>
>> On Sep 3, 2007, at 22:44, Dave Murray-Rust wrote:
>>
>>> It seems to be searching through *every* file in my home  
>>> directory (which is quite large). I don't know why though - I've  
>>> tried export TEXINPUTS="", and it still goes through everything.
>>>
>>> If I log in as a different user, then my test file takes 0.13s to  
>>> compile, which is more like it.
>>>
>>> So why is kpathsea searching everything, and how do I make it stop?
>>
>> what is the output of
>> kpsewhich -show-path=tex -progname=pdflatex| sed 's/:/\
>> /g'
>>
>
> .
> /Volumes/Data/Users/dave//.texlive2007/texmf-config/tex/latex//
> /Volumes/Data/Users/dave//.texlive2007/texmf-var/tex/latex//
> /Volumes/Data/Users/dave//Library/texmf/tex/latex//
> !!/usr/local/texlive/2007/texmf-config/tex/latex//
> !!/usr/local/texlive/2007/texmf-var/tex/latex//
> !!/usr/local/texlive/2007/texmf/tex/latex//
> !!/usr/local/texlive/2007/../texmf-local/tex/latex//
> !!/usr/local/texlive/2007/texmf-dist/tex/latex//
> /Volumes/Data/Users/dave//.texlive2007/texmf-config/tex/generic//
> /Volumes/Data/Users/dave//.texlive2007/texmf-var/tex/generic//
> /Volumes/Data/Users/dave//Library/texmf/tex/generic//
> !!/usr/local/texlive/2007/texmf-config/tex/generic//
> !!/usr/local/texlive/2007/texmf-var/tex/generic//
> !!/usr/local/texlive/2007/texmf/tex/generic//
> !!/usr/local/texlive/2007/../texmf-local/tex/generic//
> !!/usr/local/texlive/2007/texmf-dist/tex/generic//
> /Volumes/Data/Users/dave//.texlive2007/texmf-config/tex///
> /Volumes/Data/Users/dave//.texlive2007/texmf-var/tex///
> /Volumes/Data/Users/dave//Library/texmf/tex///
> !!/usr/local/texlive/2007/texmf-config/tex///
> !!/usr/local/texlive/2007/texmf-var/tex///
> !!/usr/local/texlive/2007/texmf/tex///
> !!/usr/local/texlive/2007/../texmf-local/tex///
> !!/usr/local/texlive/2007/texmf-dist/tex///
>
>> Also give the output of
>> kpsewhich texmf.cnf
>
> /usr/local/texlive/2007/texmf/web2c/texmf.cnf
>
> Also, FWIW:
>
> > latex -kpathsea-debug=-1 test.tex 2> test.out
> > wc test.out
> 452016 1607663 58306139 test.out
>
> > find ~/ | wc
>   59419   88269 6188352
>
> i.e. about 9 times more entries in the kpathsea output.
>

It seems you have moved your home directory to an external drive. The  
double // in /Volumes/Data/Users/dave// seems to have the effect that  
all directories in your home are searched. I bet you have set your  
$HOME variable _with_ a final slash. It should not have that slash.  
As an experiment, do the following:

export HOME=Volumes/Data/Users/dave
latex test-file

If that helps, you have the cause. Use whatever method (NetInfo I  
guess) to change the assignment of your home.

Maarten

------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the MacOSX-TeX mailing list