home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / misc / 16556 < prev    next >
Encoding:
Text File  |  1992-09-15  |  3.1 KB  |  62 lines

  1. Newsgroups: comp.sys.mac.misc
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!malgudi.oar.net!caen!uakari.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!uw-beaver!uw-coco!nwnexus!kanefsky
  3. From: kanefsky@halcyon.com (Steve Kanefsky)
  4. Subject: Re: ***** HELP ***** MACINTOSH W/ CACHE ****
  5. Message-ID: <1992Sep15.171544.18219@nwnexus.WA.COM>
  6. Sender: sso@nwnexus.WA.COM (System Security Officer)
  7. Organization: The 23:00 News and Mail Service
  8. References: <9209141803.AA21939@kiwi.tropix.uucp>
  9. Date: Tue, 15 Sep 1992 17:15:44 GMT
  10. Lines: 50
  11.  
  12. In article <9209141803.AA21939@kiwi.tropix.uucp> bng@tropel.gca.com (Baldwin Ng) writes:
  13. >HELLO EVERYONE!
  14. >
  15. >A simple question:
  16. >
  17. >What is "CACHE" or "CACHE CARD"?
  18. >How will a Macintosh computer's performance differ if
  19. >there is a CACHE CARD?
  20.  
  21. A cache is a relatively small, relatively fast type of storage which is
  22. used to hold the most-frequently or most-recently used contents of another
  23. relatively large, relatively slow storage system.
  24.  
  25. A disk cache is a kind of cache where some of the contents of your disk
  26. drive are stored in RAM.  RAM is much faster to read and write to than a
  27. disk drive, but it also holds a lot less (usually) than your disk drive.
  28. By storing the most-frequently or most-recently used data on your disk,
  29. the CPU can still get most of the data it needs without having to wait for
  30. the disk drive.  The program that does the disk caching can even be smart
  31. and try to predict what data the CPU will need next and get it ready in
  32. the cache ahead of time.
  33.  
  34. A RAM cache is similar to a disk cache, except that it uses a small amount
  35. of very fast RAM to store some of the contents of the slower system RAM.
  36. Even regular system RAM is too slow for the CPU sometimes, and it has to
  37. wait around for a cycle or two when it needs data from RAM.  By using some
  38. very high speed RAM which can keep up with the CPU, the CPU rarely has to
  39. wait for the slower system RAM because the data it needs is in the cache
  40. RAM.
  41.  
  42. A cache card is usually just a RAM cache that comes in a card you plug
  43. into your computer.  The Mac IIci, IIsi, and Quadras can all easily accept
  44. cache cards, but some companies have thought up ways to put cache cards in
  45. other machines as well.  Some companies also offer faster CPUs and/or
  46. floating-point coprocessors on the same card with a RAM cache.  A RAM
  47. cache card alone may speed up overall peformance by 30%, and a RAM cache
  48. in addition to a faster CPU can triple your computer's performance.
  49.  
  50. The ways in which computers access data is generally predictable enough
  51. that a good caching algorithm can have the requested data in the cache up
  52. to 80 or 90% of the time.  That's why a disk cache is built into many hard
  53. disk drives today, and into system software as well (there can actually be
  54. two levels of disk caching).  RAM caches are becoming increasingly popular
  55. too.  Put all these caches together and a lot of the data the computer
  56. needs can end up in 25ns RAM cache rather than on a 25ms disk.  That means the
  57. data is ready up to one million (!) times sooner (in the extreme case) than it 
  58. would have been with no caching.
  59.  
  60. --
  61. Steve Kanefsky
  62.