[17923] in Athena Bugs
sgi 8.3.29: emacs
daemon@ATHENA.MIT.EDU (John Carr)
Sun Jun 25 10:20:59 2000
Message-Id: <200006251420.KAA284617@m4-035-2.mit.edu>
To: bugs@MIT.EDU
Date: Sun, 25 Jun 2000 10:20:53 -0400
From: John Carr <jfc@MIT.EDU>
System name: m4-035-2.mit.edu
Type and version: IP32 8.3.29
Display type: CRM
Shell: /bin/athena/tcsh
Window manager: gwm
What were you trying to do?
Use emacs on a large file.
What's wrong:
emacs is painfully slow doing searches on large files. On further
examination I found that it was compiled MIPS-2 (o32) instead of
MIPS-3 (n32).
What should have happened:
Programs should be compiled -n32 unless there is a good reason
to use -o32. The newer SGI compilers used to generate n32/64
code are much better than the 10 year old compilers used for
o32; and I believe gcc can also do better with MIPS-3. Also,
even if there were no difference, the operating system is
mostly n32 and having an active o32 program means there has to
be an additional set of shared libraries in memory.
For example, compiling xv -n32 instead of -32 increases its speed
by several tens of percent.
I found that emacs in the 8.4 test packs in the dev cell is also o32.
Please describe any relevant documentation references:
cc(1)