• Skip to main content
  • Skip to primary sidebar
  • Skip to secondary sidebar
  • Skip to footer

Computer Notes

Library
    • Computer Fundamental
    • Computer Memory
    • DBMS Tutorial
    • Operating System
    • Computer Networking
    • C Programming
    • C++ Programming
    • Java Programming
    • C# Programming
    • SQL Tutorial
    • Management Tutorial
    • Computer Graphics
    • Compiler Design
    • Style Sheet
    • JavaScript Tutorial
    • Html Tutorial
    • Wordpress Tutorial
    • Python Tutorial
    • PHP Tutorial
    • JSP Tutorial
    • AngularJS Tutorial
    • Data Structures
    • E Commerce Tutorial
    • Visual Basic
    • Structs2 Tutorial
    • Digital Electronics
    • Internet Terms
    • Servlet Tutorial
    • Software Engineering
    • Interviews Questions
    • Basic Terms
    • Troubleshooting
Menu

Header Right

Home » Fundamental » Memory » What is Associative Cache?
Next →
← Prev

What is Associative Cache?

By Dinesh Thakur

Associative Cache: A type of CACHE designed to solve the problem of cache CONTENTION that plagues the DIRECT MAPPED CACHE. In a fully associative cache, a data block from any memory address may be stored into any CACHE LINE, and the whole address is used as the cache TAG: hence, when looking for a match, all the tags must be compared simultaneously with any requested address, which demands expensive extra hardware. However, contention is avoided completely, as no block need ever be flushed unless the whole cache is full, and then the least recently used may be chosen.

A set-associative cache is a compromise solution in which the cache lines are divided into sets, and the middle bits of its address determine which set a block will be stored in: within each set the cache remains fully associative. A cache that has two lines per set is called two-way set-associative and requires only two tag comparisons per access, which reduces the extra hardware required. A DIRECT MAPPED CACHE can bethought of as being one-way set associative, while a fully associative cache is n-way associative where n is the total number of cache lines. Finding the right balance between associativity and total cache capacity for a particular processor is a fine art- various current cpus employ 2 way, 4-way and 8-way designs.

You’ll also like:

  1. What is Associative Memory?
  2. CPU Cache – What is Processor Cache ?
  3. PHP Arrays Numeric, Associative and Multi-Dimensional
  4. What is Cache Memory | Types of Cache Memory
  5. What is disk cache? – Definition
Next →
← Prev
Like/Subscribe us for latest updates     

About Dinesh Thakur
Dinesh ThakurDinesh Thakur holds an B.C.A, MCDBA, MCSD certifications. Dinesh authors the hugely popular Computer Notes blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps.

Dinesh Thakur is a Freelance Writer who helps different clients from all over the globe. Dinesh has written over 500+ blogs, 30+ eBooks, and 10000+ Posts for all types of clients.


For any type of query or something that you think is missing, please feel free to Contact us.


Primary Sidebar

Computer Memory

Computer Memory

    • Computer - Memory
    • Computer - Types of Memory
    • Computer - RAM
    • Computer - Types of RAM
    • Computer - ROM
    • Computer - RAM Vs ROM
    • Computer - Associative Memory
    • Computer - SemiConductor Memory
    • Computer - Primary Memory
    • Computer - Auxiliary Memory
    • Computer - Flash Memory
    • Computer - EPROM
    • Computer - Secondary Memory
    • Computer - Sequential Access Memory
    • Computer - EEPROM
    • Computer - Bubble Memory
    • Computer - DDRAM Vs FPMDRAM
    • Computer - SDRAM
    • Computer - DRAM
    • Computer - VRAM
    • Computer - ECC Memory
    • Computer - PC RAM
    • Computer - NVRAM
    • Computer - Register

Computer Devices

    • Computer - Input/Output Devices
    • Computer - Printer
    • Computer - Laser Printer
    • Computer - Hard Drive
    • Computer - Dot-Matrix Printer
    • Computer - Impact and Non-Impact
    • Computer - Storage Devices
    • Computer - Primary Storage
    • Computer - Types of Storage
    • Computer - Line Printer

Other Terms

    • Computer - Interrupt
    • Computer - Classify Storage Devices
    • Computer - CISC and RISC
    • Computer - Access Method
    • Computer - Memory Mapping
    • Computer - OMR
    • Computer - Access Time
    • Computer - Types of integrity
    • Computer - Buffer
    • Computer - Associative Cache
    • Computer - RAM Parity
    • Computer - Disk Cache
    • Computer - Disk Controller
    • Computer - Cycle Time
    • Computer - IDE
    • Computer - RAM Disk
    • Computer - Cartridge Hard Disk
    • Computer - DPI
    • Computer - Fatal Error
    • Computer - Install HDD/SSD
    • Computer - Input Technologies
    • Computer - OCR

Binary Number

  • CO - EBCDIC
  • CO - ASCII Code
  • CO - Bit
  • CO - ASCII
  • CO - BCD Numbers
  • CO - Binary Numbers
  • CO - Byte
  • CO - Bits and Bytes
  • CO - Machine Code

Other Links

  • Computer Memory - PDF Version

Footer

Basic Course

  • Computer Fundamental
  • Computer Networking
  • Operating System
  • Database System
  • Computer Graphics
  • Management System
  • Software Engineering
  • Digital Electronics
  • Electronic Commerce
  • Compiler Design
  • Troubleshooting

Programming

  • Java Programming
  • Structured Query (SQL)
  • C Programming
  • C++ Programming
  • Visual Basic
  • Data Structures
  • Struts 2
  • Java Servlet
  • C# Programming
  • Basic Terms
  • Interviews

World Wide Web

  • Internet
  • Java Script
  • HTML Language
  • Cascading Style Sheet
  • Java Server Pages
  • Wordpress
  • PHP
  • Python Tutorial
  • AngularJS
  • Troubleshooting

 About Us |  Contact Us |  FAQ

Dinesh Thakur is a Technology Columinist and founder of Computer Notes.

Copyright © 2023. All Rights Reserved.