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 – configuring a RAID array installation

Having performed the preparatory tasks and physically connected the hard disk drives, we're now ready to configure the RAID array. Insert the Windows XP CD-ROM in the CD-ROM drive and power-on the system. Press Ctrl-G to enter the GigaRAID BIOS when so directed. The Setup Utility's … [Read More...]

Site Navigation

There are several methods of navigating the site, including the main menu, side menu, and a crumb trail. There are also context menus and previous/next links within guides, articles and tutorials, and finally a site map giving an overall site image. There were a number of principle aims … [Read More...]

Top 4 Free Online Design Tools that Use Machine Learning

A few months ago, we told you about a series of free online image editing tools. In practice, these are simple alternatives to Adobe Photoshop that are often used for common actions such as cropping an image, placing a frame or adding brightness to a photograph. However, all these tools, including … [Read More...]

Comments

  1. george says

    May 16, 2012 at 2:17 am

    very helpful contrast

Gaming Laptop Security Guide: Protecting Your High-End Hardware Investment in 2025

Since Jacob took over PC Tech Guide, we’ve looked at how tech intersects with personal well-being and digital safety. Gaming laptops are now … [Read More...]

20 Cool Creative Commons Photographs About the Future of AI

AI technology is starting to have a huge impact on our lives. The market value for AI is estimated to have been worth $279.22 billion in 2024 and it … [Read More...]

13 Impressive Stats on the Future of AI

AI technology is starting to become much more important in our everyday lives. Many businesses are using it as well. While he has created a lot of … [Read More...]

Graphic Designers on Reddit Share their Views of AI

There are clearly a lot of positive things about AI. However, it is not a good thing for everyone. One of the things that many people are worried … [Read More...]

Redditors Talk About the Impact of AI on Freelance Writers

AI technology has had a huge impact on our lives. A 2023 survey by Pew Research found that 56% of people use AI at least once a day or once a week. … [Read More...]

11 Most Popular Books on Perl Programming

Perl is not the most popular programming language. It has only one million users, compared to 12 million that use Python. However, it has a lot of … [Read More...]

Guides

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

Recent Posts

Electron Beam Monitors

If the electron beam is not lined up correctly with the shadow mask or aperture grille holes the … [Read More...]

Celeron Tualatin

The first Celeron based on Intel's 0.13-micron Tualatin core debuted at the beginning of 2002 at 1.2GHz. Given that the … [Read More...]

What is AGP and AGP Pro?

As fast and wide as the PCI bus was, there was one task that threatened to consume all its bandwidth: displaying graphics. Early in the era of the … [Read More...]

[footer_backtotop]

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