home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!portal!cup.portal.com!Tony-Preston
- From: Tony-Preston@cup.portal.com (ANTHONY FRANCIS PRESTON)
- Newsgroups: comp.sys.amiga.hardware
- Subject: Re: Data/Instruction Cache & BURST modes on 68030? Why/when?
- Message-ID: <72192@cup.portal.com>
- Date: Tue, 22 Dec 92 08:51:47 PST
- Organization: The Portal System (TM)
- References: <hellerS.724958427@batman>
- Lines: 31
-
- You should leave the setting alone! A small tutorial is in order!
- SetPatch will setup the system correctly so that the caches and burst
- are correct for the Amiga.
-
- Data cache is an area of memory(varies in size with different processors,
- generally, more is better) that the cpu saves data that might be used over
- again. The data is saved and if the cpu needs that same address before it
- is overwritten with a different data item, you have what is called a hit.
- A hit is good since it lets the cpu skip a memory reference which slows
- it down(wait states, clock cycles to access memory). If the data is 'hit'
- often, you get a performace increase. if data cache is off, you never get
- a hit.
-
- Instruction cache is similar, but instead of data, it caches instructions that
- the cpu executes. This can be a bigger hit rate than data when you have small
- tight coded loops for example where all the instructions end up in
- the cache and the cpu can run them full speed over and over again.
-
- Burst mode is a memory access where the memory can send to the CPU
- several long words of data. This happens faster than if each long
- word was a separate access. This pre-loads the cache and allows you
- to get extra 'hits' on the instruction cache(or data cache). There
- are times(code that branches) where this might slow down the cpu, but
- in general it wil speed it up slightly.
-
- The 68020 has a single cache for data and instructions, the 68030
- has separate ones. The cache size in this case is 256 bytes. The
- 68040 has 4096 byte caches for instruction and for data.
-
- There are no such things as stupid, dumb, or ignorant questions, just
- stupid, dumb, or ignorant people that will not ask questions.
-