Posts

Showing posts with the label Cache memory

Cache Memory and its types (L1,L1,L3 Cache ) केश मेमोरी एवं इसके प्रकार एल1 एल2 एवं एल3

Image
Cache Memory – कैश मेमोरी | Types, Levels, Features & CPCT Complete Notes Introduction – परिचय Cache Memory is a small, high-speed memory that stores frequently or recently used data and instructions so that the CPU can access them more quickly. Cache Memory (कैश मेमोरी) एक छोटी और बहुत तेज memory होती है, जो CPU द्वारा बार-बार उपयोग किए जाने वाले data और instructions को temporarily store करती है। इसका मुख्य उद्देश्य CPU और main memory (RAM) के बीच access time को कम करना और system performance को improve करना है। 🧠 CPCT Trick > Cache = Fast Memory + Frequently Used Data --- 1. Why Do We Need Cache Memory? CPU की speed बहुत अधिक होती है, जबकि main memory (RAM) तक access करने में CPU registers की तुलना में अधिक समय लग सकता है। इस speed gap को कम करने के लिए cache memory का उपयोग किया जाता है। Simple Example मान लीजिए CPU किसी program में एक ही data को बार-बार use कर रहा है। Without Cache: CPU → RAM → Data CPU → RAM → Data CPU → RAM → Data With Cache: CPU → Cache → Data...