Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
very slow latex compilation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
xavier10
Guru
Guru


Joined: 19 Jan 2004
Posts: 449
Location: Paris, France

PostPosted: Tue Nov 09, 2004 12:40 pm    Post subject: very slow latex compilation Reply with quote

I use an Albook 1.25 Ghz, with gentoo.

I remark that compilation of LaTeX documents are VERY slow compared to other installs (like the one on my Ibm laptop) and do not really understand what would be specific with PPC here.

Did someone else notice this kind of problems ?
If someone had a clue about that, I would be very happy...

Regards,

Xavier
Back to top
View user's profile Send private message
boojummy
Tux's lil' helper
Tux's lil' helper


Joined: 21 Oct 2003
Posts: 124
Location: Medford, MA

PostPosted: Tue Nov 09, 2004 8:58 pm    Post subject: Reply with quote

I have no experience compiling latex, but one big factor I've noticed regarding the time to compile a program is what compiler optimizations I've chosen. On my computer (450MHz) the difference between say -O3 and -O1 is noticable (I have no hard data here).

But if your program ends up compiling fine and the program runs, I personally wouldn't worry about it. *Everything* takes a long time to compile on my machine, and I'm pleasantly surprised when it doesn't, so I probably wouldn't even notice your problem...
Back to top
View user's profile Send private message
xavier10
Guru
Guru


Joined: 19 Jan 2004
Posts: 449
Location: Paris, France

PostPosted: Tue Nov 09, 2004 9:10 pm    Post subject: Reply with quote

boojummy wrote:
I have no experience compiling latex, but one big factor I've noticed regarding the time to compile a program is what compiler optimizations I've chosen. On my computer (450MHz) the difference between say -O3 and -O1 is noticable (I have no hard data here).

The problem does not occur when compiling latex but when compiling with latex.
Compiling some documents should require a couple of seconds and takes more than 2 minutes. These documents are small and I will have much larger documents to write soon. I would prefer not to have to wait 10 minutes to see if a tabular or a mathematical formula is right or not :cry:

Quote:

But if your program ends up compiling fine and the program runs, I personally wouldn't worry about it. *Everything* takes a long time to compile on my machine, and I'm pleasantly surprised when it doesn't, so I probably wouldn't even notice your problem...


Not everything takes a long time on my machine and I would be glad latex not to be slow :cry:

I am using tetex 2.0.2-r4. Here is my emerge info:

Code:

$ emerge info
Portage 2.0.51-r3 (default-ppc-2004.1, gcc-3.4.1, glibc-2.3.3.20040420-r2,glibc-2.3.3.20040420-r1,glibc-2.3.3.20040420-r0, 2.6.9 ppc)
=================================================================
System uname: 2.6.9 ppc 7447/7457, altivec supported
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.58-r1,sys-devel/autoconf-2.59-r4,sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.3,sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.3-r3,sys-devel/binutils-2.14.90.0.6-r6
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.4.3-r4,sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="no"
CFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa arts berkdb cdr dvd esd f77 fortran gdbm gif gnome gnome-libs gpm gtk guile imlib jpeg kde libwww motif mozilla nls oggvorbis opengl pam perl png ppc python qt readline sdl slang ssl tcltk tcpd tetex truetype"

Back to top
View user's profile Send private message
boojummy
Tux's lil' helper
Tux's lil' helper


Joined: 21 Oct 2003
Posts: 124
Location: Medford, MA

PostPosted: Tue Nov 09, 2004 9:36 pm    Post subject: Reply with quote

Aha. I misunderstood your post. I don't have a Gentoo box in front of me to play with this, but there are a couple things you should try...

First, this thread might be useful (enable debugging output). Second, check to see if you are using any extraneous USE flags. That's all I can offer at the moment...
Back to top
View user's profile Send private message
xavier10
Guru
Guru


Joined: 19 Jan 2004
Posts: 449
Location: Paris, France

PostPosted: Tue Nov 09, 2004 9:52 pm    Post subject: Reply with quote

boojummy wrote:
Aha. I misunderstood your post. I don't have a Gentoo box in front of me to play with this, but there are a couple things you should try...

First, this thread


BRAVO ! I could not have thought about something so stupid: my home was ending with a "/", so kpathsearch was doing a recursive search throughout all the sub-directories... pathetic.

Now compilation of latex documents is more than 10 times faster.

Well, I just have to tell you big big thanks!

Xavier
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum