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

  1. Path: sparky!uunet!portal!cup.portal.com!Tony-Preston
  2. From: Tony-Preston@cup.portal.com (ANTHONY FRANCIS PRESTON)
  3. Newsgroups: comp.sys.amiga.hardware
  4. Subject: Re: Data/Instruction Cache & BURST modes on 68030? Why/when?
  5. Message-ID: <72192@cup.portal.com>
  6. Date: Tue, 22 Dec 92 08:51:47 PST
  7. Organization: The Portal System (TM)
  8. References:  <hellerS.724958427@batman>
  9. Lines: 31
  10.  
  11. You should leave the setting  alone!  A small tutorial is in order!
  12. SetPatch will setup the system correctly so that the caches and burst
  13. are correct for the Amiga. 
  14.  
  15. Data cache is an area of memory(varies in size with different processors,
  16. generally, more is better) that the cpu saves data that might be used over
  17. again.  The data is saved and if the cpu needs that same address before it
  18. is overwritten with a different data item, you have what is called a hit.
  19. A hit is good since it lets the cpu skip a memory reference which slows
  20. it down(wait states, clock cycles to access memory).  If the data is 'hit'
  21. often, you get a performace increase.  if data cache is off, you never get
  22. a hit. 
  23.  
  24. Instruction cache is similar, but instead of data, it caches instructions that
  25. the cpu executes.  This can be a bigger hit rate than data when you have small
  26. tight coded loops for example where all the instructions end up in
  27. the cache and the cpu can run them full speed over and over again.
  28.  
  29. Burst mode is a memory access where the memory can send to the CPU 
  30. several long words of data.  This happens faster than if each long
  31. word was a separate access.  This pre-loads the cache and allows you
  32. to get extra 'hits' on the instruction cache(or data cache).  There
  33. are times(code that branches) where this might slow down the cpu, but
  34. in general it wil speed it up slightly.
  35.  
  36. The 68020 has a single cache for data and instructions, the 68030
  37. has separate ones.  The cache size in this case is 256 bytes.  The
  38. 68040 has 4096 byte caches for instruction and for data.
  39.  
  40. There are no such things as stupid, dumb, or ignorant questions, just
  41. stupid, dumb, or ignorant people that will not ask questions.
  42.