home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / sun / misc / 6209 < prev    next >
Encoding:
Text File  |  1993-01-10  |  1.3 KB  |  34 lines

  1. Newsgroups: comp.sys.sun.misc
  2. Path: sparky!uunet!island!coney!hue
  3. From: hue@island.COM (Pond Scum)
  4. Subject: Re: System Mode Swamp on Sparc 2
  5. Message-ID: <hue.726709501@coney>
  6. Sender: usenet@island.COM (The Usenet mail target)
  7. Organization: Island Graphics Corp.
  8. References: <FMRCO!MSOMMER.93Jan7093547@ampere.uunet.uu.net>
  9. Distribution: usa
  10. Date: Sun, 10 Jan 1993 23:45:01 GMT
  11. Lines: 21
  12.  
  13. fmrco!msommer@uunet.uu.net (Mark Sommer) writes:
  14. >My program calls a Fortran function to solve a large quadratic
  15. >programming problem. The program is extremely computationally
  16. >intensive and it runs very large (>10MB), but my machine has 48MB of
  17. >memory and lots of swap space (>80MB), so I would have expected it to
  18. >spend most of its time in user mode. In fact, according to many
  19. >indicators (such as gprof), it spends most of its time in kernel mode.
  20.  
  21. Warning: I really have no idea what's going on here, this is just a guess,
  22. plus I have a bad memory.
  23.  
  24. Could it be that your program is generating a lot of exceptions
  25. (floating point exceptions) and is having to drop into the kernel to
  26. handle these exceptions?
  27.  
  28. Another possibility is that your program was compiled to use some
  29. sort of floating point coprocessor, and it's not present so you're
  30. trapping on every operation and the kernel is emulating it.  I think
  31. this used to happen on Sun-4/110s.
  32.  
  33. -Jonathan        hue@island.COM
  34.