home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-386-Vol-2of3.iso / b / bench12.zip / BENCH12.DOC next >
Text File  |  1992-12-22  |  9KB  |  212 lines

  1. Doc for BENCH12.SCR 12/21/92
  2.  
  3. How to run this benchmark.---------------------------------------------------
  4.  
  5. First, completely configure AutoCAD for the driver environment
  6. to be tested.  Use either the driver's configuration program
  7. and/or the AutoCAD video configuration to set this up.  Ensure
  8. that 32-bit display space operation is enabled in the driver, if
  9. it has this option.
  10.  
  11. NOTE:  This benchmark will not work with any driver that only
  12. supports 16-bit display space, as these drivers are not true ADI
  13. 4.2 drivers and do not provide you, as an end-user, with all the
  14. features of AutoCAD R12.
  15.  
  16. After the driver has been configured, return to DOS.
  17.  
  18. All of the Autodesk supplied drivers will perform this
  19. benchmark.  Additionally, the ACAD.DWG prototype drawing used
  20. for this trial should be the default drawing shipped by
  21. Autodesk.
  22.  
  23. Starting from the directory where ACAD.EXE is located, enter
  24. AutoCAD.  You might want to use the STATUS command to note both
  25. the amount of available memory and the amount of memory used by
  26. the driver without a drawing loaded.
  27.  
  28. Use the SCRIPT command to invoke BENCH12.SCR.  This benchmark
  29. will take anywhere from two minutes up to an hour, depending on
  30. your system speed, amount of memory and the driver used. On a
  31. 486/66 DX/2 with 16Mb of memory, Autodesk's standard VGA driver
  32. takes just under five minutes, and requires about 13.5Mb of
  33. memory.
  34.  
  35. Remember, the amount of memory you have will determine how much
  36. disk access is required during this benchmark. Disk access speed
  37. is tremendously slower than RAM access speed, so more RAM equals
  38. more overall speed.
  39.  
  40.  
  41.  
  42. The files used.--------------------------------------------------
  43.  
  44. This script file tests driver performance using 32-bit display
  45. list with Release 12.  It must be run from the ACAD directory
  46. (or the main directory where ACAD.EXE is located).  To find the
  47. following files (SAMPLE\PSSHADOW.DWG, SAMPLE\HOUSEPLN.DWG,
  48. SUPPORT\CHROMA.DWG), this benchmark assumes you have followed
  49. the standard AutoCAD installation.
  50.  
  51. You must also have read/write access to the directory where this
  52. script was started from.  The script file creates a temporary
  53. file, $$$$TEMP.EPS, for the postscript input/output functions.
  54.  
  55. NOTE: The only place any of the files are referenced is at the
  56. beginning of the script file. This has been done so that you may
  57. easily change path names to enable this benchmark to function on
  58. a network or customized system.
  59.  
  60. You should have at least 14Mb of free memory for AutoCAD to use
  61. when running this benchmark.  The Autodesk STANDARD VGA 640x480
  62. 16 color driver uses about 13.5Mb to run this script. Other
  63. drivers, especially display list, will require more.
  64.  
  65. The amount of extra memory required by other display drivers
  66. will make a difference in the performance of this benchmark. As
  67. mentioned before, the major differences in speed are due to the
  68. radically different access times encountered while retrieving
  69. information from either the hard disk or the RAM.
  70.  
  71. NOTE: Retrieving information from the RAM will be faster than
  72. retrieving information from the hard disk.
  73.  
  74.  
  75. What this benchmark measures.----------------------------------
  76.  
  77. This benchmark was developed at request of the many users, users
  78. groups, graphics board manufacturers, and reviewers who needed a
  79. benchmark that demonstrated actual AutoCAD performance as
  80. affected by display list drivers.
  81.  
  82. Traditional driver benchmarks only show the benefits of faster
  83. zoom and pan operations, but they ignore the side-effects that a
  84. display list driver may bring to the system, even during the
  85. most normal editing operations.
  86.  
  87. This new benchmark is meant to demonstrate how a display list
  88. driver can affect an AutoCAD system in a working environment --
  89. it is not simply a test structured to show off the few benefits
  90. available from many display list drivers. If overall AutoCAD
  91. performance is not enhanced, then a display list driver is not
  92. providing a benefit for your system.
  93.  
  94. The main objective of this benchmark is to show the overall,
  95. performance gains or losses when using a display list driver.
  96. Many of the functions performed in this benchmark typically
  97. cause display list drivers to increase their memory usage
  98. dramatically.
  99.  
  100. With this in mind, the BENCH12 benchmark may expose poor
  101. implementations of display list editing and memory management.
  102. Additionally, the display list operations typically enhanced by
  103. benchmarks (i.e. zooming and panning) are also performed to show
  104. traditional display list gains.
  105.  
  106. The second objective of this benchmark was to avoid generating a
  107. regen.  Autodesk is promoting the 32-bit display space built
  108. into AutoCAD R12 and its dramatic reduction of regens. This
  109. script will not generate a regen (after the initial Zoom
  110. Extents) on any driver that is fully ADI 4.2 compatible and
  111. supports 32-bit display space.
  112.  
  113. The third objective of this benchmark was to test the driver
  114. with 32-bit display list objects. This was done to ascertain if
  115. the driver being tested would perform correctly while scaling
  116. and clipping. Without proper handling of these objects, many
  117. display list drivers exhibit erratic behavior up to and
  118. including random system crashes.
  119.  
  120.  
  121. About the Script.----------------------------------------------
  122.  
  123. This script file first inserts PSSHADOW.DWG, uses PSOUT to
  124. create a temporary .EPS file, and imports it with PSIN to get
  125. the shaded image. This portion is not timed since it is
  126. virtually 100 percent CPU and hard disk related.
  127.  
  128. The drawing is generated by moving the shaded image, importing
  129. the HOUSEPLN.DWG drawing, importing the HOUSEPLN.DWG drawing at
  130. a reduced scale, importing the CHROMA drawing, and importing the
  131. CHROMA drawing at a reduced scale.  The total time for this
  132. section is reported at the end.
  133.  
  134. A ZOOM E(xtents) is performed (this causes a regen) and the time
  135. is recorded.
  136.  
  137. All inserted blocks are EXPLODEd and a donut is created in the
  138. corner.  This time is also reported at the end.
  139.  
  140. A series of ZOOM commands are used to test the classic display
  141. list benefits with the time being reported at the end.
  142. Accelerated boards should benefit from this section and should
  143. have lower times than non-accelerated boards.  About 28 bits of
  144. display list space (out of the 31 available) are used to prevent
  145. regens at very high resolutions and other aspect ratio
  146. considerations.  The donut created in the Zoom E(xtents) section
  147. is used to check polygon clipping.
  148.  
  149. A number of edits are performed (i.e. ROTATE, UNDO, PEDIT,
  150. PLINE, CIRCLE, DONUT, MOVE and ERASE).  This section contains
  151. redraws after most edits, simulating a typical user cleaning up
  152. the pick blips.  This time is reported at the end.
  153.  
  154. After the above test sequence, a small drawing is created
  155. tallying the results.
  156.  
  157. A STATUS command is also executed to show the amount of virtual
  158. memory used by AutoCAD and the driver. This is important because
  159. some drivers require an excessive amount of RAM during editing
  160. sessions. This excessive use of RAM means more hard disk
  161. accessing and slower overall system performance.
  162.  
  163.  
  164. What to look for.-----------------------------------------------
  165.  
  166. If a regen occurs, most likely the driver does not implement the
  167. full 32-bit display space and is an ADI 4.1 driver (Release 11)
  168. pretending to be an ADI 4.2 driver.  These drivers will most
  169. likely stop in the middle of the script, because AutoCAD was
  170. unable to pick an object due to the reduced display space forced
  171. by the driver.
  172.  
  173. During this benchmark, pay attention to the redraws as they may
  174. be showing previous edits.  These previous edits may appear as
  175. temporary, or "flashing" ghosts.  If so, then the driver is not
  176. performing real-time display list editing.
  177.  
  178. When objects are moved or erased, you may see "left-over-bits"
  179. or pixels.  A driver that does not properly match highlighted
  180. lines with normal lines will leave these annoying artifacts.
  181.  
  182. Additionally, if the "Virtual Memory Allocated to Program" (use
  183. STATUS command) grows more then a couple of megabytes from when
  184. the drawing was created (post-ZOOM E command), then the driver
  185. is not releasing or re-using erased display list memory.  Some
  186. drivers may cause the system to access the hard disk excessively
  187. due to the amount of memory required.
  188.  
  189. If your system hangs, locks, reboots, gets an error message (i.e
  190. Divide By Zero, Abnormal Program Termination, Fatal Error,
  191. etc...) then it is the driver that has caused the problem.
  192.  
  193. First, run the benchmark with the Autodesk supplied VGA driver
  194. to get a feel for what the display should look like during
  195. execution. Then, run the benchmark with each of the drivers you
  196. are testing to see if they are operating correctly.
  197.  
  198.  
  199. The future.---------------------------------------------------
  200.  
  201. Some of the areas that this script does not address are:
  202. Multiple Viewports, Paper Space, AVE Render, Grid, Command Area
  203. text speed and dialog-box speed. Overall, however, this
  204. benchmark has proven to be a reasonable attempt to reproduce a
  205. working environment that is using the enhanced features provided
  206. by AutoCAD R12.
  207.  
  208. If you have any questions or comments concerning this benchmark,
  209. please FAX them to us at (512) 250-5811.
  210.  
  211. -- end of BENCH12.DOC --
  212.