|
|
caching ==>
cache
<memory management> /kash/ A small fast memory holding
recently accessed data, designed to speed up subsequent access
to the same data. Most often applied to processor-memory
access but also used for a local copy of data accessible over
a network etc.
When data is read from, or written to, main memory a copy is
also saved in the cache, along with the associated main memory
address. The cache monitors addresses of subsequent reads to
see if the required data is already in the cache. If it is (a
cache hit) then it is returned immediately and the main
memory read is aborted (or not started). If the data is not
cached (a cache miss) then it is fetched from main memory
and also saved in the cache.
The cache is built from faster memory chips than main memory
so a cache hit takes much less time to complete than a normal
memory access. The cache may be located on the same
integrated circuit as the CPU, in order to further reduce
the access time. In this case it is often known as primary
cache since there may be a larger, slower secondary cache
outside the CPU chip.
The most important characteristic of a cache is its hit rate
- the fraction of all memory accesses which are satisfied from
the cache. This in turn depends on the cache design but
mostly on its size relative to the main memory. The size is
limited by the cost of fast memory chips.
The hit rate also depends on the access pattern of the
particular program being run (the sequence of addresses being
read and written). Caches rely on two properties of the
access patterns of most programs: temporal locality - if
something is accessed once, it is likely to be accessed again
soon, and spatial locality - if one memory location is
accessed then nearby memory locations are also likely to be
accessed. In order to exploit spatial locality, caches often
operate on several words at a time, a "cache line" or "cache
block". Main memory reads and writes are whole cache lines.
When the processor wants to write to main memory, the data is
first written to the cache on the assumption that the
processor will probably read it again soon. Various different
policies are used. In a write-through cache, data is
written to main memory at the same time as it is cached. In a
write-back cache it is only written to main memory when it
is forced out of the cache.
If all accesses were writes then, with a write-through policy,
every write to the cache would necessitate a main memory
write, thus slowing the system down to main memory speed.
However, statistically, most accesses are reads and most of
these will be satisfied from the cache. Write-through is
simpler than write-back because an entry that is to be
replaced can just be overwritten in the cache as it will
already have been copied to main memory whereas write-back
requires the cache to initiate a main memory write of the
flushed entry followed (for a processor read) by a main memory
read. However, write-back is more efficient because an entry
may be written many times in the cache without a main memory
access.
When the cache is full and it is desired to cache another line
of data then a cache entry is selected to be written back to
main memory or "flushed". The new line is then put in its
place. Which entry is chosen to be flushed is determined by a
"replacement algorithm".
Some processors have separate instruction and data caches.
Both can be active at the same time, allowing an instruction
fetch to overlap with a data read or write. This separation
also avoids the possibility of bad cache conflict between
say the instructions in a loop and some data in an array which
is accessed by that loop.
See also direct mapped cache, fully associative cache,
sector mapping, set associative cache.
(1997-06-25)
Try this search on OneLook / Google
Nearby terms:
CA « ca « cable modem « cache » cache block » cache coherency » cache conflict
This article was derived from the Free Online Dictionary of Computers and is available under ther terms of the GNU Free Documentation License.
(100) Cybergenie HS-24 Hands-Free Headsets(100) Cybergenie HS-24 Hands-Free Headsets ** (100) Cybergenie HS-24 Hands-Free Headsets **This is a bundle of (100) of our popular CyberGenie HS-24 Headsets.General Features:- Noise Canceling boom microphone which minimizes extraneous noise - Exclusive CYBERGENIE Button, allowing convenient access to your CYBERGENIE features such as call by name and simple call control - Flexible clip for maximum comfort - Convenient over the ear design - Easily converts for use on either ear - Extra ear cushions - Made by Plantronics- Works with nearly every cell phone and cordless phone that has the option for a headset- Brand new retail packaged- Cygnion model HS 24- Compare at $39.00 each!Notes:- This product is manufactured and packaged by Plantronics for the Cygnion CyberGenie phone systems. However, this product works with any corded/cordless phones and cell phones with a 2.5mm mini-phono jack. More ...
Dell PIII 1.0GHz 256MB 20GB CD 14.1'' w/Win2K - BDell PIII 1.0GHz 256MB 20GB CD 14.1'' w/Win2K - B ** Dell Latitude C600 Pentium III 1.0 GHz Notebook **Whether for home or office use, this Dell Latitude C600 notebook is essential for all your computing needs. The C600 is equipped with an Intel Pentium III 1.0 GHz processor, 256 MB RAM, and a 20 GB hard drive. Other features include a CD-ROM drive, floppy drive, a 14.1-inch TFT screen, and preloaded with Microsoft Windows 2000 Professional operating system!General Features:- Grade B - Windows 2000 Professional pre-installed- Intel Pentium III 1.0GHz processor- 256 MB RAM- 20 GB Hard Drive- Interchangeable CD-ROM Drive (speed may vary)- Interchangeable 1.44 MB Floppy Drive- ATi Mobile 3 video w/8MB VRAM size- Integrated audio with built-in speakers- Integrated modem- Integrated Ethernet controller- 86-key keyboard with TouchPad and Trackpoint- 14.1" TFT Display w 1280 x 1024 max. resolution- Lithium-Ion battery packExpansion Slots:- Two (2) PCMCIA slots - I/O Ports: - One (1) PS/2 port- One (1) 15-pin standard VGA port- One (1) Serial standard port- One (1) Parallel standard port- One (1) S-Video out- One (1) USB port- One (1) RJ-11 standard phone jack- One (1) R J-45 standard Ethernet jack- Headphone in, Line in, Mic inPackage Includes:- Dell Latitude C600 Pentium III 1.0 GHz Notebook- Windows 2000 Professional pre-installed- Power Adapter (100-240V 50/60Hz)Notes:- Windows and driver CDs are not included- The battery is not covered under the warranty- The battery is not guaranteed to hold a charge- The CD-ROM drive and floppy disk drive share the samebay and cannot be used simultaneously. Compatibility/Requirements/Disclosures: ** Requirements *** Available power outlet** Refurbished Notebook Grades *** Grade B * Notebook is in very good condition * Has Cosmetic Blemishes, examples of which are (but not limited to): * Scratches in case * Scratches in the screen * Hairline crack in case * Dead pixels (5 or less) * Missing doors * May be missing manual, drivers, operating system, carrying cases * Battery is not guaranteed to hold a full charge * Battery is not covered under warranty * All specific issues will be noted in the ad * Etc More ...
Hitachi 250GB UDMA/100 7200RPM 8MB IDE HDDHitachi 250GB UDMA/100 7200RPM 8MB IDE HDD ** Hitachi Deskstar250 GB UDMA/100 Hard Drive **This Hitachi Deskstar features a whopping 250 GB formatted capacity and fast UDMA/100 data transfers. An 8 MB buffer and 7200 RPM spindle speed ensure reliable operation for all your data!General Features:- 250 GB formatted capacity- UDMA/100- 7200 RPM spindle speed- 8 MB buffer- 8.5 ms average seek time- 4.17 ms average latency- IDE interface- 3.5-inch form factorNotes:- Drive only- Model: HDS722525VLAT80- P/N: 14R9249 Compatibility/Requirements/Disclosures: ** Requirements *** IDE controller* IDE cable* Available 3.5-inch drive bay* Available 4-pin power connector More ...
Dell 24x Notebook CD-ROM IDE Drive (Gray)Dell 24x Notebook CD-ROM IDE Drive (Gray) ** Dell 24x Notebook CD-ROM Drive **This Dell 6T980-A01 notebook computer featuresa data transfer rate of up to 24x. Made for a number of Dell Latitude and Inspiron notebooks, it features a beveled face and is gray in color. Pick up a few today!General Features:- Gray Bezel- Data Transfer Rate: up to 3600 KB/sec (24x)Partial list of compatible notebooks:- Dell Latitude X200, X300, D400, D500, D505, D600 and D800.- Dell Inspiron 300M, 500M, 510M, 600M, 8500 and 8600.Plain Box Includes:- Drive Only- Model: 6T980-A01 Compatibility/Requirements/Disclosures: ** Requirements *** Compatible Dell notebook More ...
256MB SDRAM PC100 168-Pin DIMM Major/3rd256MB SDRAM PC100 168-Pin DIMM Major/3rd ** 256MB SDRAM PC100 168-Pin DIMM Major/3rd **- 256 MB DIMM Module- 168 Pin PC-100- Major/3rd- Synchronous- Non ECC- Unbuffered Compatibility/Requirements/Disclosures:* Important note when buying memory: We only supply highquality parts that can be used in PC's reliably over thelong term. We supply only brand name memory on 3rd partymodules.* Country of Origin: Korea, Japan, Canada, USA, Germany, China** Disclosures *** Picture is for representational purposes only More ...
EGames Mahjongg Master: Egyptian EditionEGames Mahjongg Master: Egyptian Edition Lift the Curse of Ra by conquering all of the dynasties. In order to overcome each dynasty, you must match all of the hieroglyphic tiles to clear the board. Can you conquer this all-new variation of the number one selling Mahjongg Master series? Windows 95/98/ME/2000/XP More ...
|