System turns into pig after 66040 installation on HP-UX

Tim Olson tim at proton.amd.com
Fri May 10 04:38:59 AEST 1991


In article <26810 at adm.brl.mil> FLYNN%EVALUN11.BITNET at cunyvm.cuny.edu (Mark F. Flynn) writes:
| We're running HP-UX 7.05 on an Apollo 400t, and have just installed the
| new and wonderful 68040 processor. What we have noticed is that certain
| jobs spend from 50% to 90% of their time doing system calls, as opposed
| to user time. This is reported both by "time" and a command we have
| here called "monitor". I havn't figured out what sort of code actuall
| produces this yet. So far, we have only seen it on Fortran code, but
| this may just be that we havn't run the right (or wrong) C program yet.
| Optimization levels have no signifigant effect. Changing the type
| of cacheing similar does nothing.
| 
| The HP people here havn't a clue. Has anyone experienced a similar problem?
| Any suggestions? Thanks in advance.

Is the code that is running an old binary that used to run on a
previous 680{20,30}/68882 system?  If so, there may be floating-point
coprocessor instructions for trancendentals (sin, cos, etc.) in the
code.  The 68040 does not implement these instructions, but rather
causes a trap.  The system may be performing emulation of these
instructions in the kernel.

If this is the case, you might try recompiling the programs -- they
would probably use user-mode library routines for trancendentals on
the 68040 which would be much faster.


--
	-- Tim Olson
	Advanced Micro Devices
	(tim at amd.com)



More information about the Comp.unix.questions mailing list