home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.misc
- 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
- From: kanefsky@halcyon.com (Steve Kanefsky)
- Subject: Re: ***** HELP ***** MACINTOSH W/ CACHE ****
- Message-ID: <1992Sep15.171544.18219@nwnexus.WA.COM>
- Sender: sso@nwnexus.WA.COM (System Security Officer)
- Organization: The 23:00 News and Mail Service
- References: <9209141803.AA21939@kiwi.tropix.uucp>
- Date: Tue, 15 Sep 1992 17:15:44 GMT
- Lines: 50
-
- In article <9209141803.AA21939@kiwi.tropix.uucp> bng@tropel.gca.com (Baldwin Ng) writes:
- >HELLO EVERYONE!
- >
- >A simple question:
- >
- >What is "CACHE" or "CACHE CARD"?
- >How will a Macintosh computer's performance differ if
- >there is a CACHE CARD?
-
- A cache is a relatively small, relatively fast type of storage which is
- used to hold the most-frequently or most-recently used contents of another
- relatively large, relatively slow storage system.
-
- A disk cache is a kind of cache where some of the contents of your disk
- drive are stored in RAM. RAM is much faster to read and write to than a
- disk drive, but it also holds a lot less (usually) than your disk drive.
- By storing the most-frequently or most-recently used data on your disk,
- the CPU can still get most of the data it needs without having to wait for
- the disk drive. The program that does the disk caching can even be smart
- and try to predict what data the CPU will need next and get it ready in
- the cache ahead of time.
-
- A RAM cache is similar to a disk cache, except that it uses a small amount
- of very fast RAM to store some of the contents of the slower system RAM.
- Even regular system RAM is too slow for the CPU sometimes, and it has to
- wait around for a cycle or two when it needs data from RAM. By using some
- very high speed RAM which can keep up with the CPU, the CPU rarely has to
- wait for the slower system RAM because the data it needs is in the cache
- RAM.
-
- A cache card is usually just a RAM cache that comes in a card you plug
- into your computer. The Mac IIci, IIsi, and Quadras can all easily accept
- cache cards, but some companies have thought up ways to put cache cards in
- other machines as well. Some companies also offer faster CPUs and/or
- floating-point coprocessors on the same card with a RAM cache. A RAM
- cache card alone may speed up overall peformance by 30%, and a RAM cache
- in addition to a faster CPU can triple your computer's performance.
-
- The ways in which computers access data is generally predictable enough
- that a good caching algorithm can have the requested data in the cache up
- to 80 or 90% of the time. That's why a disk cache is built into many hard
- disk drives today, and into system software as well (there can actually be
- two levels of disk caching). RAM caches are becoming increasingly popular
- too. Put all these caches together and a lot of the data the computer
- needs can end up in 25ns RAM cache rather than on a 25ms disk. That means the
- data is ready up to one million (!) times sooner (in the extreme case) than it
- would have been with no caching.
-
- --
- Steve Kanefsky
-