cache
1 ResultsDictionary
cache
(1) To store data locally in order to speed up subsequent retrievals. Pronounced "cash." See Web cache and browser cache. (2) Reserved areas of memory in every computer that are used to speed...
Dictionary
Definition: cache
(1) To store data locally in order to speed up subsequent retrievals. Pronounced "cash." See Web cache and browser cache.
(2) Reserved areas of memory in every computer that are used to speed up instruction execution, data retrieval and data updating. Pronounced "cash," they serve as staging areas, and their contents are constantly changing. There are two kinds: memory caches and disk caches.
First Kind: Memory Caches
A memory cache, or "CPU cache," is a memory bank that bridges main memory and the CPU. It is faster than main memory and allows instructions to be executed and data to be read and written at higher speed. Instructions and data are transferred from main memory to the cache in fixed blocks, known as cache "lines," using some kind of look-ahead algorithm. See cache line.
Temporal and Spatial (Time and Space)
Caches take advantage of "temporal locality," which means the same data item is often reused many times. They also benefit from "spatial locality," wherein the next instruction to be executed or the next data item to be processed is likely to be the next in line. The more often the same data item is processed or the more sequential the instructions or data, the greater the chance for a "cache hit." If the next item is not in the cache, a "cache miss" occurs, and the CPU has to go to main memory to retrieve it.
Level 1 and Level 2
A level 1 (L1) cache is a memory bank built into the CPU chip. A level 2 cache (L2) is a secondary staging area that feeds the L1 cache. Increasing the size of the L2 cache may speed up some applications but have no effect on others. L2 may be built into the CPU chip, reside on a separate chip in a multichip package module (see MCP) or be a separate bank of chips on the motherboard. Caches are typically static RAM (SRAM), while main memory is generally some variety of dynamic RAM (DRAM). See SRAM and DRAM.
L1 and L2 Caches
The whole idea is to keep staging more instructions and data in a high-speed memory closer to the CPU.
Second Kind: Disk Caches
A disk cache is a section of main memory or memory on the disk controller board that bridges the disk and the CPU. When the disk is read, a larger block of data is copied into the cache than is immediately required. If subsequent reads find the data already stored in the cache, there is no need to retrieve it from the disk, which is slower to access.
If the cache is used for writing, data are queued up at high speed and then written to disk during idle machine cycles by the caching program. If the cache is built into the hardware, the disk controller figures out when to do it. See cache coherency, write back cache, write through cache, pipeline burst cache, lookaside cache, inline cache, backside cache and NV cache.
Disk Cache
Disk caches are usually just a part of main memory made up of common dynamic RAM (DRAM) chips, whereas memory caches (CPU caches) use higher-speed static RAM (SRAM) chips.
THIS DEFINITION IS FOR PERSONAL USE ONLY
All other reproduction is strictly prohibited without permission from the publisher.
© 1981-2010 The Computer Language Company Inc. All rights reserved.
Sponsored White Papers, Webcasts & Resources
-
Live Webcast: Getting to Microsoft Office 365: The Right Migration for Your Business
If you've been stuck using bare bones, web-based tools, you'll appreciate the full featured collaboration in MS Office 365. Check out this live webcast to learn more about Microsoft Office 365,...
-
Flash vs Cash
What really distinguishes the use of flash in Sun's second generation thumbers from its use by competitors like EMC? it's a cache versus cash thing.
Additional Results
-
A new kind of digital wallet (complete with physical card)
iCache's new Geode iPhone cover comes with a fingerprint sensor and a transformable card, bringing new meaning to mobile payments.
-
LulzSec still sitting on vast cache of unreleased data
LulzSec, though disbanded, claims to have still a vast cache of hacked email and damaging data stored at its disposal.
-
Wikileaks releases full unredacted cache of U.S. diplomatic cables
Wikileaks has released the decryption keys to the full U.S. diplomatic cables in unredacted form, which has been met by heavy criticism by the media.
-
Amazon debuts ElastiCache; in-memory cache in the cloud
Amazon has launched a public beta version of ElastiCache, a new web service to help deploy, operate and scale an in-memory cache in the cloud.
-
AntiSec hackers release 'largest cache yet' of law enforcement data
Hackers contributing to the LulzSec-inspired AntiSec movement released a 10GB cache of law enforcement data overnight.
-
LulzSec disbands: Final cache includes AT&T internal data and 750,000 user accounts
LulzSec -- which has hacked dozens of sites, including the CIA and PBS -- told Twitter that they are done; not before releasing one last cache.
-
500,000 stolen email passwords discovered in Waledac's cache
Researchers peek inside the Waledac botnet to find 489,528 stolen email passwords, next to another cache of 123,920 stolen FTP passwords. Time to change your passwords?
-
SEO Pro Tip: How to Remove Indexed and Cached Content, URLs, and Pages from Google
SEO isn't just about getting your content on search engines; it's about removing it, too! If you want content removed, this post is your fast-track to removing it as quickly and strategically as...
-
Flash cache for RAID
Caching makes your RAID array go faster. But if you lose power your data can be corrupted. The old solution: a battery. The new and better solution: flash memory - with a twist.
-
KDE 4.5 released - 1,723 new features, 16,022 bug fixes
News for all your Linux folks - KDE 4.5 has been released, and it contains a 1,723 new features, along with 16,022 bug fixes.
-
iTunes: The incredible growing iOS photo cache
A recent Apple Support Note warns of an iTunes cache folder that can swallow your hard drive. Even better, the size of the cache can be bigger than the sum of your photos.
-
A warning about iTunes password caching
A tip on the Tidbits site warns iTunes users of a password-caching "feature" that can can have unfortunate and expensive consequences.
-
Slacker with iPhone caching (photos)
The latest version of the Slacker iPhone app let's you save stations for offline playback.
-
Microsoft mobile search cache enables 'search on the go' (SONGO)
Digging for more TechFest 2010 info has given me reason to comb the always-interesting Microsoft Research site. My latest find (which the company may or may not show off at this week's TechFest...
-
Slacker for Android 2.0 brings offline station caching
Last year I wrote that Pandora was my favorite streaming music application. I am now singing the praises of another streaming service that I find better for me because it gives me a better...
-
Slacker caching on the iPhone, Android, and more (photos)
Slacker announces station caching for the iPhone and iPod Touch, bringing both devices one step closer to a subscription music model.
-
Cache poisoning vulnerability in ISC BIND 9
The vulnerability exists in the way BIND 9 handles recursive client queries that may cause additional records to be added to its cache.
-
Ten Unsung Windows Server 2008 R2 Features
For the past few months, Microsoft has been touting the same handful of new Windows Server 2008 R2 features: DirectAccess, BranchCache and live migration with Hyper-V. But there are more than 100...
-
SanDisk next-gen SSDs are faster, target netbooks and Linux
SanDisk today announced that it has begun shipping its next-generation solid state drives for the 12 million-strong netbook market in 8, 16, 32 and 64 GB flavors. The drives employ a new...
The best of ZDNet, delivered
ZDNet Newsletters
Get the best of ZDNet delivered straight to your inbox




