Sub Total
Excluding delivery and voucher code discounts.
Go to basket

Free Delivery on all orders to UK mainland within 3 working days.

HP TECH TAKES /...

Exploring today's technology for tomorrow's possibilities
what-is-cache-memory1611767997000689.jpg

What is Cache Memory in My Computer?

Linsey Knerl
|
The word "cache" may have popped up in your conversations about computers, performance, and – more specifically – memory. But what does it really mean and why does it matter?
Understanding cache and cache memory can help you make the best choices for maintaining your computer, so you can keep doing tasks at maximum efficiency. In this guide, you’ll learn what cache memory is and how it affects your daily computer use.

Computer cache definition

Cache is the temporary memory officially termed “CPU cache memory.” This chip-based feature of your computer lets you access some information more quickly than if you access it from your computer’s main hard drive. The data from programs and files you use the most is stored in this temporary memory, which is also the fastest memory in your computer.

CACHE VS RAM

When your computer needs to access data quickly, but can’t find it in the cache, it will look for it within the random access memory (RAM). RAM is the main type of computer data storage that stores information and program processes. It’s farther away from the CPU than cache memory and isn’t as fast; cache is actually 100 times faster than standard RAM.
If cache is so fast, why isn’t all data stored there? Cache storage is limited and very expensive for its space, so it only makes sense to keep the most-accessed data there and leave everything else to RAM.

OTHER USES OF THE TERM “CACHE”

"Cache" is also used to refer to any temporary collection of data, either in hardware or software. For instance, regular maintenance suggests you restart your computer, router, and modem on a regular basis to “clear the cache,” letting your devices load programs faster. When you go to your Google history to erase your browser cookies and search, one of the options is to clear “cached images.”
When techies in computers talk about the "cache," they are most likely referring to cache memory.

How cache memory affects performance

How does the cache make your computing faster? We already know that it can access frequently-used data with peak efficiency. Deciding what data it stores in the cache, however, is almost an art in itself.
The computer waits for you to use data, then catalogs a copy of the data you access over and over into its special cache memory library. This process is called “caching.” The more you use something, the more likely a copy of it will end up in your cache.

HITS AND MISSES

Then, when you perform a task that requires that information, the computer checks the cache memory first. If it’s there, it’s called a “hit,” and you’ll achieve peak performance. If the data isn’t there, it’s a “miss,” and your PC will take the longer and slower route of looking for it in your hard drive or RAM.

WHAT IF MY CACHE IS FULL?

As much as caching can help speed up a computer, if the memory cache gets too full, it can slow you down instead. It’s important to run maintenance tasks on your PC because some of these functions will rid its memory of temporary files it likely doesn’t need anymore. The same applies to your internet browser, which stores even more data in a cache that can bog down your PC. If you’re overdue for clearing your browser history or temporary internet files, don’t delay.

Cache levels explained

There isn’t just one big bucket of cache memory, either. The computer can assign data to one of two levels.

LEVEL 1 CACHE

Level 1 (L1) is the cache integrated into your CPU. It assesses the data that was just accessed by your CPU and determines that it’s likely you’ll access it again soon. So, into the L1 cache it goes, because this is the first place your computer will check the next time you need this info. It’s the fastest of the cache levels.

LEVEL 2 CACHE

Level 2 (L2) is also called the “secondary cache.” It’s where your computer goes when it can’t find your data (or gets a “miss”) after looking in the L1 cache. Level 2 is usually on a memory card in close proximity to the processor.

DISK CACHE

You will also find cache memory on the hard drive. This is called a “disk cache.” It’s the slowest of all the cache levels, as it takes data from the hard drive to put on the RAM. The RAM may also store information for computer accessories and peripherals, like the DVD drive, in a peripheral cache.

GPU CACHE

Obtaining the necessary data to render graphics must happen very quickly, so it only makes sense that it uses a cache system. If your computer’s graphics are integrated, they will be handled by a graphics processing unit (GPU) that’s combined with a CPU in one chip. Both functions work from the same resources, so the GPU cache is limited, too.
A separate, dedicated graphics card (also called “discrete graphics”) will be separate from the CPU and also come with its own memory cache. The fastest gaming computers will have a dedicated graphics card with adequate cache stores built right into the GPU to avoid lag or stutter with intense games.

How to buy with cache in mind

Most people don’t shop for a new computer thinking about the cache. However, it’s worth noting if you’re interested in having the smoothest computer experience with less lag and fewer delays, especially when running multiple processes at once. Additional cache memory considerations include the size of the cache and the latency.

SIZE

Yes, it’s true that a larger cache holds more data. But it’s also slower, so there’s a trade-off in performance. Also, computers are built to prioritize data into different caches. That’s why they have cache levels. If there’s not enough room in the L1 cache, it can store it in the L2 cache. As a result, cache size shouldn’t be the main consideration when shopping.

LATENCY

For the purposes of accessing data, think of latency as “speed.” How long does it take your PC to get to that L2 memory cache? If it’s a smaller cache, it’ll be quicker. A 6MB L2 cache will have increased latency compared to a 3MB cache. Higher end computers use a multisystem approach that places data across additional smaller caches. This solves the problem of holding more information with better overall latency.

Conclusion

With all the specs you need to consider when buying a computer, your buying decision probably won’t hinge on cache alone. You’ll shop for the CPU or GPU, instead, since that’s where the cache processes occur.
With so many other considerations that have a bigger impact on the overall CPU performance, these will likely drive your purchase far more than cache. As you shop for a CPU, consider the price, clock speeds, the number of cores, the number of threads, and compatibility with your motherboard or graphics card. For more info about shopping for your CPU, check out our article on the best CPUs for business or the best CPUs for gaming.
While it helps to know how the cache works, if you’re buying a high-end gaming computer or business laptop, you'll likely obtain access to the best-performing cache memory options by default. If you are planning to upgrade your CPU, you can factor in the cache when you choose which CPU is right for your computer.

About the Author

Linsey Knerl is a contributing writer for HP® Tech Takes. Linsey is a Midwest-based author, public speaker, and member of the ASJA. She has a passion for helping consumers and small business owners do more with their resources via the latest tech solutions.

Disclosure: Our site may get a share of revenue from the sale of the products featured on this page.

Disclaimer

Prices, specifications, availability and terms of offers may change without notice. Price protection, price matching or price guarantees do not apply to Intra-day, Daily Deals or limited-time promotions. Quantity limits may apply to orders, including orders for discounted and promotional items. Despite our best efforts, a small number of items may contain pricing, typography, or photography errors. Correct prices and promotions are validated at the time your order is placed. These terms apply only to products sold by HP.com; reseller offers may vary. Items sold by HP.com are not for immediate resale. Orders that do not comply with HP.com terms, conditions, and limitations may be cancelled. Contract and volume customers not eligible.

HP’s MSRP is subject to discount. HP’s MSRP price is shown as either a stand-alone price or as a strike-through price with a discounted or promotional price also listed. Discounted or promotional pricing is indicated by the presence of an additional higher MSRP strike-through price

The following applies to HP systems with Intel 6th Gen and other future-generation processors on systems shipping with Windows 7, Windows 8, Windows 8.1 or Windows 10 Pro systems downgraded to Windows 7 Professional, Windows 8 Pro, or Windows 8.1: This version of Windows running with the processor or chipsets used in this system has limited support from Microsoft. For more information about Microsoft’s support, please see Microsoft’s Support Lifecycle FAQ at https://support.microsoft.com/lifecycle

Ultrabook, Celeron, Celeron Inside, Core Inside, Intel, Intel Logo, Intel Atom, Intel Atom Inside, Intel Core, Intel Inside, Intel Inside Logo, Intel vPro, Itanium, Itanium Inside, Pentium, Pentium Inside, vPro Inside, Xeon, Xeon Phi, Xeon Inside, and Intel Optane are trademarks of Intel Corporation or its subsidiaries in the U.S. and/or other countries.

In-home warranty is available only on select customizable HP desktop PCs. Need for in-home service is determined by HP support representative. Customer may be required to run system self-test programs or correct reported faults by following advice given over phone. On-site services provided only if issue can't be corrected remotely. Service not available holidays and weekends.

HP will transfer your name and address information, IP address, products ordered and associated costs and other personal information related to processing your application to Bill Me Later®. Bill Me Later will use that data under its privacy policy.

Microsoft Windows 10: Not all features are available in all editions or versions of Windows 10. Systems may require upgraded and/or separately purchased hardware, drivers, software or BIOS update to take full advantage of Windows 10 functionality. Windows 10 is automatically updated, which is always enabled. ISP fees may apply and additional requirements may apply over time for updates. See http://www.microsoft.com.

“Best All In One Printer” and “the easiest printer you’ve ever had to set up” from Wirecutter. ©2020 The Wirecutter, Inc.. All rights reserved. Used under license. https://www.nytimes.com/wirecutter/reviews/best-all-in-one-printer/

Get Marvel’s Avengers when you purchase HP gaming PCs with qualifying 9th gen or 10th gen Intel® Core™ i5, i7 and i9 processors. Redemption code will be sent out by email within 60 days of purchase. Limited quantities and while supply lasts. Offer valid thru 12/31/2020 only while supplies last. We reserve the right to replace titles in the offer for ones of equal or greater value. Certain titles may not be available to all consumers because of age restrictions. The Offer may be changed, cancelled, or suspended at any time, for any reason, without notice, at Intel’s reasonable discretion if its fairness or integrity affected whether due to human or technical error. The Offer sponsor is Intel Corporation, 2200 Mission College Blvd., Santa Clara, CA 95054, USA. To participate you must create an Intel Digital Hub Account, purchase a qualifying product during the redemption period, enter a valid Master Key, and respond to a brief survey. Information you submit is collected, stored, processed, and used on servers in the USA. For more information on offer details, eligibility, restrictions, and our privacy policy, visit https://softwareoffer.intel.com/offer/20Q3-19/terms.

© 2020 MARVEL. © Intel Corporation. Intel, the Intel logo, and other Intel marks are trademarks of Intel Corporation or its subsidiaries in the U.S. and/or other countries. Other names and brands may be claimed as the property of others.

The personal information you provide will be used according to the HP Privacy Statement (https://www8.hp.com/us/en/privacy/ww-privacy.html)