home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / hardware / 22044 < prev    next >
Encoding:
Internet Message Format  |  1992-12-24  |  4.9 KB

  1. Path: sparky!uunet!spool.mu.edu!umn.edu!msus1.msus.edu!msus1.msus.edu!news
  2. Newsgroups: comp.sys.amiga.hardware
  3. Subject: Re: Data/Instruction Cache & BURST modes on 68030? Why/when?
  4. Message-ID: <1992Dec24.120635.1954@msus1.msus.edu>
  5. From: lkoop@TIGGER.STCLOUD.MSUS.EDU (LaMonte Koop)
  6. Date: 24 Dec 92 12:06:34 -0600
  7. Reply-To: lkoop@TIGGER.STCLOUD.MSUS.EDU
  8. References: <hellerS.724958427@batman> <72192@cup.portal.com>,<hellerS.725061488@batman>
  9. Distribution: na
  10. Organization: SCS GP/Engineering Cluster
  11. Nntp-Posting-Host: tigger.stcloud.msus.edu
  12. Lines: 73
  13.  
  14. In article <hellerS.725061488@batman>, hellerS@moravian.edu (sjh) writes:
  15. >Thanks to all who wrote me replies on these questions. However, I've gotten
  16. >a few different replies, so I called CSA and asked for the "straight
  17. >answer" and this is what they said. As far as the MMR goes, there is NO
  18. >burst mode capability, regardless of 32-bit memory speed. As far as the
  19. >data/instruction caches go, if you HAVE NO 32-bit memory on the CPU, the
  20. >caches can speed things up a bit, but are essentially useless when working
  21. >with 32-bit DRAM. His suggestion was to LEAVE the CACHES and BURST OFF.
  22.  
  23.     Well, I don't know who you were talking to, but the suggestion to leaving
  24. the caches themselves off is nonsense.  They will improve performance, even
  25. with a 32-bit ported RAM interface.
  26.     Basically, what the caches do is store data (data cache) and instructions
  27. (instruction cache) which the CPU is utilizing.  If the CPU calls for an
  28. instruction from an address, or data, and finds it in its respective cache,
  29. it can completely avoid a bus cycle to external memory and take the operand
  30. straight from the cache.  
  31.     The caches operate at a zero wait state level (actually, in some
  32. circumstances it appears to be less in comparison to an external memory system).
  33. Any access to them will be faster than a corresponding access to memory.
  34. This is even more true as almost any memory system you are bound to have is
  35. going to most likely run a 5 clock memory access cycle or more.  As an example
  36. of the performance increase of using the caches, I ran some tests for
  37. comparison.  The system in question is 68030 based (@ 40 MHz), with a full
  38. complement of 32-bit ported DRAM.  BURST mode is not active:
  39.  
  40.       Test                Caches off       Caches On         Units/Notes
  41.      ------             --------------   --------------     -------------
  42.    Dhrystone                10057            13813          Dhrystones/Sec
  43.                                                             Higher = Better
  44.  
  45.      Sieve                  10.90             6.07             Seconds
  46.                                                              Lower = Better
  47.  
  48.  
  49. >Several people were pretty certain that 60ns was the magic number for DRAM
  50. >speed to be able to use burst mode. The CSA guy laughed and said that was
  51. >nonsense - it just doesn't exist on the MMR. It was a feature they had
  52. >originally intended to include but decided to leave it out because they
  53. >felt there was virtually no demand for it...why, I don't know. It must work
  54. >on some accellerators, but not the MMR (or the Derringer).
  55.  
  56. Correct.  60ns is not a magic number here, its merely an access time rating.
  57. BURST mode relies on the ability of the DRAM to respond properly to a special
  58. access cycle initiated by the 68030.  For this to happen, the DRAM must be
  59. under control of a device capable of handling BURST mode cycles (if utilizing
  60. a memory controller arangement), and the memory itself must have some special
  61. properties.  Basically, the DRAM must be capable of holding one element of
  62. its internal addressing mechanism constant, while dynamically altering the
  63. other.   (for example, in SCRAM, the column address inside the device can be
  64. held, while the row address varies).  This eliminates the precharge times for
  65. that access, and allows memory accesses to be 'walked' along a row which 
  66. can be quickly fed into a 68030 cache line.  For example, with a BURST capable
  67. memory, assuming a 5 clock normal memory access, using a burst cycle to fill
  68. a cache line can be set up to have: 5 clocks for the first longword access,
  69. followed by 1 clock for the next 3 subsequent accesses.  This allows a cache
  70. line to be filled in 8 clocks, rather than 20 as would be required on normal
  71. cycles.
  72.  
  73. >So that's the scoop, direct from the tech-support at CSA.
  74.  
  75. Well, true enough that the MMR does not have a BURST capable memory setup.
  76. However, the bunk about not using the caches is a bit to be put on the list
  77. of "Thinks that make you go hmmmm....".  True, BURST mode should be left off,
  78. as it would not help you in any way...(it won't hurt either), but the caches
  79. themselves should be turned on for best performance.
  80.  
  81.  
  82.                  ----------------------------------------
  83.            LaMonte Koop -- SCSU Electrical/Computer Engineering
  84.  Internet: lkoop@tigger.stcloud.msus.edu -OR- f00012@kanga.stcloud.msus.edu
  85.               "You mean you want MORE lights on this thing???"
  86.  ---------------------------------------------------------------------------
  87.