home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / sgi / 16534 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.8 KB

  1. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!psgrain!hippo!shannon!news
  2. From: philip@concave.cs.wits.ac.za (Philip Machanick)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: Weird CPU time ratio between R4000 and R3000
  5. Message-ID: <1992Nov17.103006.3667@shannon.ee.wits.ac.za>
  6. Date: 17 Nov 92 10:30:06 GMT
  7. Article-I.D.: shannon.1992Nov17.103006.3667
  8. References: <1992Nov14.131737.16081@discus.technion.ac.il>
  9. Sender: news@shannon.ee.wits.ac.za
  10. Organization: Computer Science Dept, Wits University
  11. Lines: 26
  12. X-Xxdate: Tue, 17 Nov 92 11:27:39 GMT
  13. X-Useragent: Nuntius v1.1.1d12
  14.  
  15. In article <sc57lqg@zuni.esd.sgi.com> Dave Olson,
  16. olson@anchor.esd.sgi.com writes:
  17. >It is possible that compiling with -mips2 on the r4k will help, if
  18. >you are memory traffic bound, and are using double precision.  Of course,
  19. >that binary won't run on r3k machines any more.
  20. >
  21. >Running osview during the execution may be interesting, as might
  22. >timex -s program.  pixie may also help spot the bottlenecks.
  23.  
  24. Another R4000 wierdness.
  25.  
  26. I was helping someone work out the cause of high system time on FORTRAN
  27. R4000 code. I was only in on a small part of the entire exercise but here
  28. are some observations. For some reason loops containing a series of very
  29. complex array references and function calls all in one big assignment
  30. statement many lines long caused a very large amount of system time.
  31. 3 such loops contributed to system time that was nearly 30% of user CPU
  32. time. Simplifying the loops by splitting the big assignment apparently
  33. radically reduced system time.
  34.  
  35. This behaviour was mainfested on an R4000 Indigo and a Crimson, but not
  36. an R3000 machine.
  37. --
  38. Philip Machanick
  39. Computer Science Dept, Univ of the Witwatersrand, 2050 Wits, South Africa
  40. philip@concave.cs.wits.ac.za  phone: 27 (11) 716-3759  fax: 339-7965
  41.