home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / misc / 893 < prev    next >
Encoding:
Text File  |  1992-11-07  |  1.8 KB  |  41 lines

  1. Newsgroups: comp.os.misc
  2. Path: sparky!uunet!ukma!wupost!uwm.edu!ux1.cso.uiuc.edu!csrd.uiuc.edu!sp90.csrd.uiuc.edu!grout
  3. From: grout@sp90.csrd.uiuc.edu (John R. Grout)
  4. Subject: Re: Processes and Translation Look-Aside Buffers
  5. Message-ID: <1992Nov6.170831.28384@csrd.uiuc.edu>
  6. Sender: news@csrd.uiuc.edu
  7. Reply-To: j-grout@uiuc.edu
  8. Organization: UIUC Center for Supercomputing Research and Development
  9. References: <Bx7oDL.507@beach.csulb.edu> <Bx99Eq.Cpp@pix.com>
  10. Date: Fri, 6 Nov 92 17:08:31 GMT
  11. Lines: 28
  12.  
  13. stripes@pix.com (Josh Osborne) writes:
  14.  
  15. >For cache there is a 3rd choice, you can use phyical addresses rather then
  16. >vert. ones (at the cost of not being able to overlap cache look-up and
  17. >VM maping)
  18.  
  19. I have seen general statements to this effect in _many_ different
  20. places (even a few textbooks)... it is _not_ true in all cases!
  21.  
  22. If you have a first-level, physically-addressed direct-mapped cache of
  23. the machine's page size (e.g., an on-chip cache), you _can_ overlap
  24. the cache and TLB look-ups... split the virtual address by feeding the
  25. virtual page offset (the _same_ as the physical page offset) to the
  26. cache and the virtual page number to the TLB... if the TLB hits and
  27. the cache hits (tentatively), compare the physical page number
  28. returned from the TLB hit with the physical page number from the cache
  29. line (_after_ the time-consuming parts of both operations are done).
  30. If the physical page numbers match (the common case), you have a valid
  31. cache hit and can go ahead with your operation.
  32.  
  33. Hennessy and Patterson talk about this in their "Computer
  34. Architecture: A Quantitative Approach".  Many RISC chips (including
  35. the new DEC 21064 Alpha chip) use this technique.
  36.  
  37. --
  38. John R. Grout                        j-grout@uiuc.edu
  39. University of Illinois, Urbana-Champaign
  40. Center for Supercomputing Research and Development
  41.