pctechguide.com

  • Home
  • Guides
  • Tutorials
  • Articles
  • Reviews
  • Glossary
  • Contact

What is Level 1 (L1) Cache Memory?

The Level 1 cache, or primary cache, is on the CPU and is used for temporary storage of instructions and data organised in blocks of 32 bytes. Primary cache is the fastest form of storage. Because it’s built in to the chip with a zero wait-state (delay) interface to the processor’s execution unit, it is limited in size.

Level 1 cache is implemented using Static RAM (SRAM) and until recently was traditionally 16KB in size. SRAM uses two transistors per bit and can hold data without external assistance, for as long as power is supplied to the circuit. The second transistor controls the output of the first: a circuit known as a flip-flop – so-called because it has two stable states which it can flip between. This is contrasted to dynamic RAM (DRAM), which must be refreshed many times per second in order to hold its data contents.

SRAM is manufactured in a way rather similar to how processors are: highly integrated transistor patterns photo-etched into silicon. Each SRAM bit is comprised of between four and six transistors, which is why SRAM takes up much more space compared to DRAM, which uses only one (plus a capacitor). This, plus the fact that SRAM is also several times the cost of DRAM, explains why it is not used more extensively in PC systems.

Intel’s P55 MMX processor, launched at the start of 1997, was noteworthy for the increase in size of its Level 1 cache to 32KB. The AMD K6 and Cyrix M2 chips launched later that year upped the ante further by providing Level 1 caches of 64KB. 64Kb has remained the standard L1 cache size, though various multiple-core processors may utilise it differently.

For all L1 cache designs the control logic of the primary cache keeps the most frequently used data and code in the cache and updates external memory only when the CPU hands over control to other bus masters, or during direct memory access by peripherals such as optical drives and sound cards.

Some chipsets, such as the Pentium based Triton FX (and later), support a write back cache rather than a write through cache. Write through happens when a processor writes data simultaneously into cache and into main memory (to assure coherency). Write back occurs when the processor writes to the cache and then proceeds to the next instruction. The cache holds the write-back data and writes it into main memory when that data line in cache is to be replaced. Write back offers about 10% higher performance than write-through, but cache that has this function is more costly. A third type of write mode, write through with buffer, gives similar performance to write back.

  • What is Level 1 (L1) Cache Memory?
  • What is L2 (Level 2) cache memory?
  • RAM or Main Memory – PC / computer memory (DIMM, DRAM, SDRAM)
  • DRAM – Dynamic Random Access Memory
  • FPM DRAM
  • EDO (Extended Data Out) and BEDO (Burst Extended Data Out) DRAM
  • SDRAM
  • PC133 SDRAM
  • DDR SDRAM explained
  • DDR2 DRAM
  • Dual Channel DDR Memory
  • 1T SRAM
  • Direct DRAM
  • SIMMs
  • DIMM Memory
  • RIMMs Memory
  • Memory Presence Detection
  • Parity Memory
  • ECC Memory
  • Memory Upgrades
  • The Evolution of Memory
  • Flash Memory
  • Magnetic RAM

Filed Under: Computer Memory Tagged With: cache memory, L1 cache, Level 1 cache

Latest Articles

RAID tutorial – connecting the hard drives

We're going to be setting up two identical hard disk drives as a single mirrored RAID 1 array. Power the system down, remove the case and fit and connect up the hard disk drives. Refer to the How to install a second hard disk drive tutorial for detailed instructions on how to go about … [Read More...]

An Overview of ADSL – What It Is and How It Works

ADSL has several similarities to ISDN. Both technologies require that copper phone lines be electrically clean and both can operate only a limited distance away from the phone company's local exchange. In most cases, ADSL can operate over … [Read More...]

Hard Disk MR Technology

In 1991, IBM's work on AMR technology led to the development of MR (magnetoresistive) heads capable of the areal densities required to sustain the disk drive industry's continued growth in capacity and performance. These circumvented the … [Read More...]

Comments

  1. george says

    May 16, 2012 at 2:17 am

    very helpful contrast

AI-Driven Software Improves Trading Strategies for Investors

Artificial intelligence technology is changing the state of modern finance. A growing number of investors are utilizing AI to improve the … [Read More...]

What You Need to Know When Choosing the Best VPN for an iPhones

Today millions of people have smartphones; most use them to access the Internet. Research shows that more than 50% of Internet users access it with … [Read More...]

Must-Have Software and Apps Every Remote Worker Should Have on Their PC in 2023?

In the last few years, the future of work has changed permanently. In a survey conducted near the end of 2020, 72% of people were fully remote, with … [Read More...]

Cloud Technology Changes the Calculus of Risk Management in a Global Economy

Cloud technology has changed the state of the global economy in previously unimaginable ways. Ninety-four percent of enterprises utilize some form of … [Read More...]

Risk Management Considerations in an Artificial Intelligence Environment

Risk management is about identifying, assessing, evaluating, and prioritizing risk. Although risk management has been practiced in some ways since … [Read More...]

New Software and GPS Tools Help Parents Monitor their Children

More parents are using technology to keep their children safe. One survey from Pew Research in 2016 showed that 30% of parents use technology to block … [Read More...]

Guides

  • Computer Communications
  • Mobile Computing
  • PC Components
  • PC Data Storage
  • PC Input-Output
  • PC Multimedia
  • Processors (CPUs)

Recent Posts

MozyHome Online Backup Review

PROS: MozyHome Online Backup is a simple way to backup data on your computer. CONS: This program that is easy to use and serves the purpose of … [Read More...]

Hard Drive Upgrade Reasons

There are an number of reasons why you may wish to install a second hard drive: you simply need more hard disk space you want to use it for … [Read More...]

Input Device Interfaces

Like the original IBM PC, 1984's IBM PC AT keyboard used a full-size 5-pin DIN connector. IBM's second-generation PS/2 … [Read More...]

[footer_backtotop]

Copyright © 2023 About | Privacy | Contact Information | Wrtie For Us | Disclaimer | Copyright License | Authors