home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 448b.lha / AIBB_v1.0 / AIBB.doc < prev    next >
Text File  |  1990-12-08  |  16KB  |  313 lines

  1.      Popular Hangouts:
  2.  
  3.          AmiHolics BBS: (602)843-8486
  4.          N.A.G. BBS: (503)656-7393
  5.          AmigaFriends BBS: (714)870-4754
  6.          F.A.U.G. BBS: (415)595-2479
  7.          Amazing Connection BBS: (602)843-6574
  8.          Amiga Micro BBS: (804)587-8661
  9.          Codename Lorraine BBS: (805)648-7833
  10.          PSA BBS: (414)278-5390
  11.          It's A Hard Drive! BBS: (206)363-2076
  12.          Miller's Amiga BBS: (612)698-1485
  13.          [Sheesh...maybe I should tone down a bit :-) ]
  14.  
  15. You can also post a public echoed message on IntelecNet, and I will
  16. generally see it, and I also lurk here and there on USENET.
  17. And YES, I DO want your comments and suggestions.
  18.  
  19. If you REALLY need to contact me, or feel the urge to send me large sums
  20. of money :-), I can be reached via the U.S. Snail...um MAIL service:
  21.  
  22.                          LaMonte Koop
  23.                    565 Park Meadows Dr. #302
  24.                      Waite Park, MN  56387
  25.  
  26. Also...I'm always looking for something interesting to do...so if you have
  27. something in mind, let me know.  If it's within my capabilities, I'll
  28. probably give it a whirl.  I probably will even if it's not within my
  29. current capabilities...I'll just wing it and learn :-).
  30.  
  31. --------------------------------------------------------------------------
  32.  
  33. Now, for the LEGAL [ohhh..gasp..quiver with fright :-) ] stuff:
  34.    First of all, this program is freely distributable.  You may pass it
  35. along as you wish.  BUT, I don't want you going around claiming it's your
  36. program...that's fairly standard.  Since it isn't one of those programs
  37. you'd use EVERY day, I won't call this shareware, or ask for a donation,
  38. but if you feel so inclined, it would be much appreciated...developing
  39. things is costly on occasion.  But if you can't afford to, or whatever,
  40. you may go about with a clear conscience. [Now aren't you glad I said
  41. that? :-) ].
  42.   
  43. DISCLAIMER:  I take no responsibility if this program begins eating
  44. important things on your HD, or does anything destructive.  If it somehow
  45. results in a small thermonuclear explosion...well, I don't think you'll be
  46. thinking about complaining, but I still don't take responsibility.  Now,
  47. don't let this scare you off...the program really shouldn't be capable of
  48. anything destructive...and hasn't killed yet, so ENJOY!
  49.  
  50. ---------------------------------------------------------------------------
  51.  
  52. On to the fun stuff (the program):
  53. [NOTE: I'm AWFUL at writing docs...be warned! :-) ]
  54.  
  55.      Basically, this program is a combination of several benchmarks put
  56. together with an Intuition interface.  Currently, six tests are supported;
  57.  
  58. The Sieve test:
  59.      This is a version of the standard Sieve of Erathosthenes benchmark.
  60. It finds the prime numbers in a range from 0 to 8190, many times over in
  61. a loop...quite simple.  
  62.  
  63. The WritePixel test:
  64.      This is a test of the speed of the ROM routine WritePixel, and is
  65. based upon the test by Computer Systems Associates.  It uses
  66. this routine to draw a box on the screen, one pixel at a time, then erases
  67. it in the same manner.  It is generally useful for comparing Amigas which
  68. have their ROM kernel mapped into 32-bit RAM, using an accelerator, to
  69. test the effective speed of the ROM routines in this memory medium.
  70.  
  71. The Sort test:
  72.      A standard Shell-sort algorithm is used to sort an array of 12000
  73. numbers into order.  To create the array, I did not use random numbers, as
  74. this could easily invalidate the machine comparisons, depending on how
  75. disordered the numbers generated were.  Instead, I used an algorithm to 
  76. 'mix' the numbers, so they will be generated the same every time, insuring
  77. accurate results from test to test.
  78.  
  79. The Matrix test:
  80.     Performs Matrix addition and multiplication functions on 3 40x40 
  81. matrices using integer numbers.
  82.  
  83. The Savage test:
  84.     Is a real-number test, and an oldie but goodie. It computes a number
  85. of trancendental functions, and real-number operations on a single number
  86. many times over.  It uses the Motorola Fast-Floating Point (FFP) functions
  87. in the MathTrans.Library. (I didn't use double-precision numbers because
  88. I didn't want the presence of a '881 or '882 to affect the figures....I
  89. may do a coprocessor set-up later).  Now, there is a version of the 
  90. MathTrans.library that was re-written by someone which uses the
  91. capabilities of a 68881 or 68882 math coprocessor.  If you have, and are
  92. using this library, you will get comparison figures which are WAY off
  93. base.  In a way, this could also be useful for testing the difference the
  94. mathco makes in this test...
  95.  
  96. The Dhrystone test:
  97.     Probably everyone recognizes this one.  It's the standard Dhrystone
  98. benchmark, and will return a result in dhrystones/second instead of 
  99. a time result.  I've noticed that in all the implementations of the
  100. Dhrystone test, there is no single 'dhrystone performance level' that
  101. every version centers around.  The same machine, at a given machine, may
  102. show 2000 dhrystones/second on one test implementation, and 3000 on
  103. another. (or more/less)  This is mainly due to the compiler used, and
  104. other variables.  Not to worry...this is not a problem here.  Since what
  105. this program is basically showing is the percentage, or ratio of
  106. performance between machines, using it's version of the dhrystone test,
  107. the comparisons are valid. [The RATIOS of test performace from the
  108. different test implementations are generally in a given range, even if the
  109. actual figures are different]
  110.  
  111. I intend to update these and add more as time goes on...
  112.  
  113. HOW TO OPERATE THE PROGRAM:
  114.  
  115.    The program is designed to time your machine through the various tests
  116. you select, then compare the results with 3 other machines:  An Amiga
  117. 2000 (stock), an Amiga 2500/30, and an Amiga 3000 (25MHz version).  The
  118. total time for the benchmark will be shown in the 'BenchMark Result'
  119. column (with the exception of the Dhrystone program, which shows
  120. dhrystones/second)...lower time numbers mean better performance, except
  121. for the dhrystone test, where higher numbers indicate better performance.
  122. Four other display boxes show the percentage of the various machines'
  123. performance compared to the base machine being compared to...the default
  124. base machine is the Amiga 2000, which will show 100% in it's column.  The
  125. percentages work like this:  Each box shows that machines percentage of
  126. performance compared to the base machines... i.e: the 2500/30's percentage
  127. compared to the base, etc. (Your machine/base comparison is shown as
  128. well...).   The base machine will always show 100%...as it is comparing
  129. it's performance to itself.  You can change the base machine from the
  130. menu...more on that in a bit.  Results will also be graphed into a
  131. vertical bar graph, with the base machine always = 1.0 on the graph scale.
  132. If the numerical box percentage output is still unclear...just think of
  133. it like this:  Say you just ran a test with the A2000 (default) as the 
  134. base...then each box will show the percentage performance of that machine
  135. vs. the A2000.  The A2000 box shows 100% because it is comparing it's
  136. performance with itself.  [I do ramble don't I?]
  137.  
  138. The machines used for the comparisions:
  139.     The A2000 figures are based upon an A2000 utilitzing FAST RAM.  This
  140. means that if you only have CHIP RAM, or SLOW-FAST RAM (for those of you
  141. with a 512K Agnus) at $C00000, your speed tests may show a slight
  142. performance reduction, should you choose to benchmark your machine against
  143. the A2000 ratings here.  The processor [68000] was of course running
  144. at it's usual 7.14MHz, with the program residing in the FAST RAM area.
  145. All RAM on the A2000 was by necessity 16-bit (just thought I'd mention
  146. the obvious... :-) ).
  147.     The A2500/30 comparisons are for an A2500/30 fitted with a 25MHz
  148. 68030 microprocessor, with 2 megs of 32-bit RAM. Dave Haynie's SetCPU
  149. was used to move the ROM Kernel into this 32-bit medium, with the program
  150. also running in the 32-bit environment.
  151.     The A3000/25 figures are for the A3000 fitted with a 25MHz 68030, 2
  152. megs of CHIP RAM, and 3 megs of FAST RAM.  The expansion FAST RAM in this
  153. case was of standard DRAM variety. This means that if you have fitted an
  154. A3000 with either Static-Column or Page-Mode DRAM for expansion FAST RAM,
  155. your machine may run faster.  You can try to determine the approximate
  156. speed increase by checking your machine against the A3000 here.
  157.  
  158. Requirements:
  159.    You must have the 'MathTrans.library' in you libs: directory to use
  160. the Savage benchmark...if you don't, the program will tell you it cannot
  161. find the library, and will disable the Savage test...all others will still
  162. function.
  163.  
  164.    Not to difficult...but here's an overview of what functions are
  165. available.
  166.  
  167. *************************PROGRAM FUNCTIONS********************************
  168.  
  169. GADGETS:
  170.    Tests are selected from the six test gadgets located in the
  171. lower right corner of the screen.  Click and wait :-).
  172.  
  173. MENU FUNCTIONS:
  174.  
  175.      These take a little explaining.  Under the menu, there are
  176. two items of very special interest;  Quick Test, and Be Selfish. Please
  177. read the following fairly carfully.
  178.  
  179. Quick Test:
  180.    This informs the program that you are in a hurry...it affects the Sieve,
  181. Savage, and Dhrystone tests by reducing the number of iterations performed
  182. by the tests.  It will go faster, but the results will be less accurate.
  183. (The comparisons with other machines will not be adversely affected, as
  184. the program will take the differece into account, but nevertheless, it
  185. will be less accurate).  HOWEVER [there's always one of these :-) ], there
  186. will not be very much of an accuracy loss in the Sieve test when using the
  187. quick option.  Basically, the reason for this is that with the 'Quick'
  188. option enabled, the only thing which is changed about the Sieve is the
  189. number of iterations performed.  On most systems, the quick test will thus
  190. return a time which is a scaled time of what the long test would return. 
  191. In other words, the test behaves in a mostly linear fashion time-wise in
  192. relation to the number of iterations performed.  Now, in systems using
  193. cached memory a great deal, this linearity in test results may suffer, so
  194. the long test is the best choice.
  195.  
  196. Be Selfish:
  197.    This menu item is very important.  The Amiga is quite a
  198. difficult machine to benchmark, as programs running in the background
  199. under the OS will affect the results, due to the lost time from task
  200. switching.  Even the 'unnoticed' OS background functions steal a little
  201. time.  Be Selfish attempts to rectify this.  When checked (selected), the 
  202. program will basically halt the multitasking in your machine.
  203. The benchmark then becomes the only task to be allowed CPU time.
  204. NOTE:  Your pointer will freeze, and even
  205. the ever-popular disk clicking will stop while a test is running with the 
  206. Be Selfish option.  DON'T PANIC!  The machine has not hung.  This is
  207. perfectly normal.  Give the benchmark time, as when it finishes the
  208. program will re-enable multitasking,  returning things to normal.  If
  209. you want accurate results, use Be Selfish. THE TEST FIGURES FOR THE OTHER
  210. MACHINES FOR COMPARISON WERE ALL OBTAINED WITH THE 'BE SELFISH' OPTION
  211. ENABLED, SO IF YOU WANT ACCURATE COMPARISON RESULTS, IT SHOULD BE
  212. ENABLED!!! [Sheesh...I'm hoarse. :-) ].  The only real reason to disable
  213. it would be to test the multitasking drain on a system.
  214. NOTE: sound programs, etc... running in the background will 'freeze' on
  215. the particular sound they are playing at the instant the test is
  216. started...again, don't panic, they will resume when the test finishes.
  217.  
  218. Change Base: (As promised)
  219.      Basically, selecting one of the sub-items from this menu
  220. item changes the base machine for comparison to the one you selected. The
  221. 'Base machine=' box in the info area will show this change.  This is
  222. basically useful if you want to get a more accurate picture of how your
  223. machine rates against one of the others, instead of the generic 'All vs.
  224. the A2000' test.  For instance, if you select the A2500/30 as the base,
  225. all machines will be compared against the A2500/30's performance,
  226. including yours...percentages in the percent column will reflect this, and
  227. the graph will be calibrated towards the A2500/30's performance figures.
  228. Simple enough...useful if your machine is VERY close to one of the other
  229. machines, and you want to get a picture of the true performance compared
  230. to that machine...not both compared to the A2000 or such.
  231.  
  232. About: 
  233.     A neato-keen little requester will appear with the standard 'About'
  234.     stuff.
  235.  
  236. Quit:
  237.     Need I say more? :-)
  238.  
  239. ***************************************************************************
  240.  
  241. And that's about it.  This program does use a fair amount of memory
  242. (nothing hideous, but don't be running it with only 30K left in your
  243. system). 50-100K free is a good guestimate. [It doesn't really use that
  244. much for the tests at any one time...but the screen and window(s) do take
  245. up CHIP RAM and such.]
  246.  
  247. SOME MISCELLANEOUS NOTES:
  248.  
  249.      As I mentioned before, the A2500/30 and A3000 figures within the
  250. program that are used for the comparisons were obtained using the 
  251. 'Be Selfish' option...just a reminder.  For the A2500/30, The ROM image
  252. was residing in 32-bit RAM, and the program itself was running in the
  253. 32-bit RAM area.  The A3000 already has a 32-bit ROM interface, so no
  254. translation was required...the program was run in that machine's FAST RAM
  255. area.  Both machines were using the 1.3 version of the OS, with 
  256. EVERYTHING possible enabled.  BTW: I don't really think leaving the 
  257. Instruction Cache off for ANY test is really a fair comparison, as the 020
  258. and 030 rely heavily upon it. (The OS will even switches it on
  259. automatically for you)  In fact, in some circumstances, leaving the
  260. Instruction Cache off while operating within 16-bit memory will leave you
  261. with a SLOWER computer than with a standard 68000. (The explanation is a
  262. bit long-winded for a doc file...but go ahead and run a program in 16-bit
  263. memory with an 020 or 030 with any/all caches off...you'll see what I
  264. mean.) Why see them when they are slightly diabled...it defeats the purpose
  265. of having an advanced processor in a system.  This can be argued with
  266. me...and I may even change something if you feel strong enough about it to
  267. contact me and convince me.
  268.  
  269.     The program will show what CPU is running in your system, below the
  270. graph area...as well as any FPU it detects.  Unfortunately, it uses the
  271. OS to determine this...under 1.3, if you have a 68030, and the system has
  272. not been informed of it's presence it will register a 68020 only.  Don't
  273. worry, your expensive 68030 has not transmuted into an 020...  I'll
  274. 'unlazy' myself one of these days and code in something a bit more
  275. accurate here...bang on the Cache Control Register (CACR) to see what
  276. the machine actually does have----So this is not really a 'bug', just
  277. laziness on my part.  (Many accelerators' support programs DO inform
  278. the OS of an 030's presence, so this may not show any problem for you, and
  279. even if yours doesn't, YOU know what's in your machine, and the erroneous
  280. report will not affect the tests one way or another.).  This program WILL
  281. recognize a 68040 [Where's MINE?!? :-) ], and will report N/A in the
  282. System FPU area, as the 040 has a floating-point unit built on-chip.
  283.  
  284. Well...that about takes care of the docs.  If you find them too confusing
  285. (as I said...I'm horrible at writing docs), let me know and I'll have them
  286. re-written.
  287.  
  288. Note on the use of 1.3 vs. 2.0:
  289.    As I mentioned earlier, 1.3 was used on the comparison machines, not
  290. 2.0 (mostly in the case of the A3000 is this relevant at this point). 
  291. When 2.0 is widely available, I will put out a new version, should
  292. interest exist, with new comparison figures.  It seems that 2.0 DOES
  293. significantly make a difference on most of the benchmarks.
  294.  
  295. A final word on the comparison figures:
  296.   ALWAYS take comparison figures with a grain of salt.  Who knows...maybe
  297. the machines I obtained my baseline figures on were completely messed up.
  298. If so, LET ME KNOW!!!!!!!!!!!!!  I will endeavor to correct the problem.
  299.  
  300.  
  301. A few THANK YOUs are in order:
  302.  
  303. First, to Mark Manes, who helped with acquiring the baseline figures for
  304. the A2500/30 and A3000...
  305. Mical Todorovic, who shed light into one of my tiny boo-boos, to him
  306. you can thank for not having to use a horrendously large Stack setting.
  307. And Michael Walters, whose tips and debugging help were much appreciated.
  308.  
  309.  
  310. 'Nuff said...enjoy the program!
  311.  
  312. "Let me talk to Whosit...give me a few Whatsits...and by golly I'll make a
  313.  Whatchamacallit!!!"--LaMonte