home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Amiga / Workbench / ByteMark68kPPC.lha / ByteMark / README.Amiga < prev    next >
Text File  |  1996-06-02  |  5KB  |  133 lines

  1.     This is a README file for Amiga port of BYTE Magazine portable
  2. benchmarks. For more informations see README and bdoc.txt files. Original
  3. files are available at ftp://byte.com/bench/
  4.  
  5.  
  6. Contents
  7.  
  8. 1. Introduction
  9. 2. Usage
  10. 3. Porting
  11. 4. Contact
  12. 5. History
  13.  
  14.  
  15. 1. Introduction
  16.  
  17.     I've been a reader of BYTE Magazine for a long time and I like it
  18. very much. It used to cover Amiga from time to time and some very good
  19. articles were published there (e.g. "The Object-Oriented Amiga Exec"). Today,
  20. BYTE is a valuable source of informations about new CPUs, operating systems,
  21. network technologies, etc.
  22.     Several months ago BYTE created a new benchmarking standard called
  23. BYTEmark (tm). These portable benchmark programs test computer's CPU and FPU
  24. speed by executing real-world algorithms. This is BYTEmark port to Amiga,
  25. done with SAS/C compiler.
  26.  
  27.  
  28. 2. Usage
  29.  
  30.     Five executables are provided:
  31. NBench         - for Amigas with 68000 CPU and no FPU (mathieee.library)
  32. NBench.020     - for Amigas with 68020 CPU and no FPU (mathieee.library)
  33. NBench.020.881 - for Amigas with 68020 CPU and FPU
  34. NBench.040     - for Amigas with 68040 CPU and no FPU (mathieee.library)
  35. NBench.040.881 - for Amigas with 68040 CPU and FPU
  36.     Run the executable appropriate for your computer (either from Shell or
  37. Workbench). Please note that a file named 'nnet.dat' must be present in the
  38. directory where executables exist. On slow computers (like my A1200 with FAST
  39. RAM) it may take a few hours to do all benchmarks. Results are indexed
  40. relative to a 90MHz Pentium. E.g. a score of 0.02 means that on a given test
  41. your Amiga is 50 times slower than a 90MHz Pentium system, while a score of
  42. 2.0 indicates that your computer is twice as fast as a 90MHz Pentium system.
  43.  
  44.     Sample results obtained using 020 version of NBench on an A1200
  45. (14MHz MC68020, 20 MHz MC68882) with 4MB of FAST RAM:
  46.  
  47. Using IEEE math (NBench.020):
  48.  
  49. BYTEmark (tm) Native Mode Benchmark ver. 2 (3/95)
  50. NUMERIC SORT:  Iterations/sec.: 1.309980  Index: 0.033854
  51. STRING SORT:  Iterations/sec.: 0.036165  Index: 0.015897
  52. BITFIELD:  Iterations/sec.: 234792.492489  Index: 0.040274
  53. FP EMULATION:  Iterations/sec.: 0.106421  Index: 0.051164
  54. FOURIER:  Iterations/sec.: 5.937827  Index: 0.006723
  55. ASSIGNMENT:  Iterations/sec.: 0.016969  Index: 0.064653
  56. IDEA:  Iterations/sec.: 1.940385  Index: 0.029688
  57. HUFFMAN:  Iterations/sec.: 1.292873  Index: 0.035928
  58. NEURAL NET:  Iterations/sec.: 0.002372  Index: 0.004013
  59. LU DECOMPOSITION:  Iterations/sec.: 0.066017  Index: 0.003898
  60. ...done...
  61. ===========OVERALL============
  62. INTEGER INDEX: 0.035875
  63. FLOATING-POINT INDEX: 0.004720
  64.  (90 MHz Dell Pentium = 1.00)
  65. ==============================
  66.  
  67. Using 68881 math (NBench.020.881):
  68.  
  69. BYTEmark (tm) Native Mode Benchmark ver. 2 (3/95)
  70. NUMERIC SORT:  Iterations/sec.: 1.250116  Index: 0.032307
  71. STRING SORT:  Iterations/sec.: 0.035200  Index: 0.015472
  72. BITFIELD:  Iterations/sec.: 228693.042185  Index: 0.039228
  73. FP EMULATION:  Iterations/sec.: 0.104482  Index: 0.050232
  74. FOURIER:  Iterations/sec.: 10.602037  Index: 0.012005
  75. ASSIGNMENT:  Iterations/sec.: 0.016827  Index: 0.064110
  76. IDEA:  Iterations/sec.: 1.923596  Index: 0.029431
  77. HUFFMAN:  Iterations/sec.: 1.409290  Index: 0.039163
  78. NEURAL NET:  Iterations/sec.: 0.006579  Index: 0.011131
  79. LU DECOMPOSITION:  Iterations/sec.: 0.175353  Index: 0.010353
  80. ...done...
  81. ===========OVERALL============
  82. INTEGER INDEX: 0.035622
  83. FLOATING-POINT INDEX: 0.011143
  84.  (90 MHz Dell Pentium = 1.00)
  85. ==============================
  86.  
  87.     As you can see, my A1200 is about 28 times slower than a Pentium
  88. machine doing integer calculation, and about 90 times slower doing
  89. floating-point calculations. What's more, floating-point performance
  90. increases almost three times when using direct FPU calls!
  91.  
  92.  
  93. 3. Porting
  94.  
  95.     Since benchmarks are written in ANSI C they test not just CPU+FPU,
  96. but rather compiler/CPU+FPU combination. When compiled with different
  97. compileres, different results will be obtained.
  98.     I've encountered very few troubles porting the code. I needed to
  99. change some #define statements and replace all Func(); declarations with
  100. Func(void); declarations, as well as add some casts to avoid compiler
  101. warnings. I've also created SMakeFile. Dummy INCLUDE:mem.h file (which is
  102. actually a copy of INCLUDE:strings.h) must be created to let the source
  103. compile.
  104.     One test (String Sort) is particularly slow. I suspect that this is
  105. due to SAS implementation of memmove() function.
  106.  
  107.  
  108. 4. Contact
  109.  
  110.     Your opinions are welcomed! Send them (as well as comments, test
  111. results, executables obtained with different compilers, etc.) to:
  112.  
  113. Michal Letowski
  114. Przyjazni 51/17
  115. 53-030 Wroclaw
  116. POLAND
  117.  
  118. or
  119.  
  120. pro37@ci3ux.ci.pwr.wroc.pl
  121.  
  122.  
  123. 5. History
  124.  
  125. Version 2.0 (6.11.95) - initial version, compiled from BYTEmark release 2
  126. sources.
  127.  
  128. Version 2.1 (19.1.96) - .881 versions were unusable due to wrong options
  129. setup. This is fixed now.
  130.  
  131. Version 2.2 (2.6.96) - stack usage reduced down to 4KB, more compiler
  132. optimizations enabled.
  133.