home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!elroy.jpl.nasa.gov!sdd.hp.com!think.com!cayman!carl
- From: carl@Cayman.COM (Carl Heinzl)
- Newsgroups: comp.sys.ibm.pc.hardware
- Subject: Re: Memory Cache questions
- Message-ID: <CARL.92Sep10103158@atlantis.Cayman.COM>
- Date: 10 Sep 92 14:31:58 GMT
- References: <1992Sep7.193149.23396@newstand.syr.edu>
- <1992Sep10.003938.9490@sarah.albany.edu>
- Sender: news@cayman.COM
- Organization: Cayman Systems Inc., Cambridge, MA
- Lines: 33
- Nntp-Posting-Host: atlantis
- In-reply-to: jjo619@thor.albany.edu's message of 10 Sep 92 00:39:38 GMT
- bcc: carl
-
-
- >I was wondering if you could use regular (non static) ram for a
- >memory cache. I realize that static memory is used because it
- >remembers when the power goes off, but after using the computer the
- >cache should be filled with instuctions. It seems to me that the
- >static memory is only better than regular memory at start up time.
- >The reason for all this is that static ram is much more expensive than
- >regular ram. I do realize that cache ram is fast and so is more
- >expensive but I believe that regular (ie non statice) would be
- >cheaper.
-
- You have a major misconception. Static Ram (or SRAM as it's called)
- does *NOT* remember ANYTHING when the power is turned off. Static ram
- is different from Dynamic Ram (DRAM) in that it does not have to be
- REFRESHED while the machine is turned on. Refresh is handled by the
- hardware - you have absolutely *NOTHING* to do to make this happen
- (although some advanced BIOS' do have a slow refresh option which may
- give you an extra couple of percent performance).
-
- Think of SRAM as a bucket that can either be full of water or empty.
- Now think of DRAM as a bucket with a little hole in the bottom. If
- someone doesn't periodically come around and say - hey that bucket
- should be full, I better fill it the water will drain out (i.e. the
- charge on the memory cell will drain out, literally).
-
- Now, NVRAM (Non-Volatile Memory) is memory that remembers when the
- power is turned off. This can be accomplished by several methods
- which are beyond the time I have to type this answer, sorry. I hope
- you get the basic idea, though.
-
- -Carl-
-
- --
-