home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / arch / 8957 < prev    next >
Encoding:
Text File  |  1992-08-19  |  2.2 KB  |  58 lines

  1. Newsgroups: comp.arch
  2. Path: sparky!uunet!caen!nic.umass.edu!usenet
  3. From: HAGAN@deimos.ucc.umass.edu (Craig I Hagan)
  4. Subject: Re: CACHE MISS PENALTY FOR 386/486??
  5. In-Reply-To: eletanjm@nuscc.nus.sg's message of Wed, 19 Aug 1992 04:23:18 GMT
  6. Message-ID: <1992Aug19.200257.24361@nic.umass.edu>
  7. Sender: usenet@nic.umass.edu (USENET News System)
  8. Nntp-Posting-Host: deimos.ucc.umass.edu
  9. Organization: University of Massachusetts at Amherst
  10. References:  <1992Aug19.042318.10163@nuscc.nus.sg>
  11. Date: Wed, 19 Aug 1992 20:02:57 GMT
  12. X-News-Reader: VMS NEWS 1.20
  13. Lines: 43
  14.  
  15. In <1992Aug19.042318.10163@nuscc.nus.sg> eletanjm@nuscc.nus.sg writes:
  16.  
  17. > Just what is a typical cache miss penalty on 
  18. > (1) a 386 system with external cache 
  19. > (2) a 486 system with only internal cache
  20. > (3) a 486 system with internal cache and external secondary cache 
  21. > I'm assuming an typical AT style system.
  22. > Just how do you determine the miss penalty anyway?
  23.  
  24. Well, i am going to attempt to not make a fool of myself.
  25.  
  26. My guess would be that you would figure out the miss penalty (maximum
  27. penalty would probably be the best/easiest to computer) by taking the
  28. time to determine that there has been a cache miss, and add the
  29. memory access time of the main memory to that. If you had two
  30. caches (for example, an i486 with both an internal, and an external
  31. cache, then you would have:
  32.  
  33. time to determine internal cache miss + time to determine external cache miss
  34.     + time to retrieve the actual data from memory
  35.  
  36. presumable the first two would be the shortest of the bunch as the
  37. the CAM in the cache controller can process a hit/miss fairly
  38. quickly (this would depend on the controller, naturally - unfortunately
  39. i am not sure of the current speeds of the controllers). 
  40.  
  41. the last, memory access would be dependant upon the number of wait
  42. states in the memory, as well as the physical speed and layout
  43. of the memory (probably worst case would be between the speed
  44. of the memory [e.g. 60ns, 70ns, 80ns, etc] to something like 10-20ns
  45. above that, but probably very close to the speed of the RAM itself.
  46.  
  47. A guess on my part would say that a cache miss wouldn't be much
  48. worse than a normal memory access on a similar machine without
  49. the cache.
  50.  
  51. ----------
  52.  
  53. Craig Hagan
  54. University Computing Center
  55. UMASS/Amherst
  56.