home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / benchmar / 1900 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  1014 b 

  1. Path: sparky!uunet!watson.ibm.com
  2. From: jbs@watson.ibm.com
  3. Message-ID: <19921230.110650.57@almaden.ibm.com>
  4. Date: Wed, 30 Dec 92 13:56:48 EST
  5. Newsgroups: comp.benchmarks
  6. Subject: lorenz.c (was Alpha, Risc/6000, HP benchmarks)
  7. Lines: 15
  8.  
  9.          Steve Thompson posted:
  10. >Having just received a DEC 3000/400-AXP, I have had time to run one
  11. >benchmark. This is written in C, and solves the lorenz equations
  12. >using a Runge-Kutta 4 algorithm. Here are the CPU times, using the
  13. >highest optimization level in each case, on some machines that we
  14. >have:
  15. and
  16. >The compiler for the RS6000 should have been XLC 1.2, not XLF 2.2. I
  17. >can also add a time for the RS6000-350: 10.74 seconds.
  18.          You are not compiling this optimally for the RISC/6000.  Adding
  19. -Q (to enable inlining) improves the 550 time from 10.74 seconds to 1.60
  20. seconds (real time).  Adding -qhsflt as well (changes /3. to *(1./3.))
  21. further improves the time to 1.31 seconds (but changes the answers
  22. slightly).
  23.                           James B. Shearer
  24.