What is Cache Memory in Computer - PRIMARY AND SECONDARY MEMORY

What is Cache Memory in Computer - PRIMARY AND SECONDARY MEMORY Cache Memory The data and instructions that are required during the processing of data are brought from the secondary storage devices and stored in the RAM.

What is Cache Memory in Computer - PRIMARY AND SECONDARY MEMORY



What is Cache Memory in Computer?


What is Cache Memory in Computer


The data and instructions that are required during the processing of data are brought from the secondary storage devices and stored in the RAM. For processing, it is required that the data and instructions are accessed from the RAM and stored in the registers. 

The time taken to move the data between RAM and CPU registers is large. This affects the speed of processing of computer and results in decreasing the performance of CPU.


  • Cache memory is a very high-speed memory placed in between RAM and CPU. Cache memory increases the speed of processing.

  • Cache memory is a storage buffer that stores the data that is used more often, temporarily, and makes them available to CPU at a fast rate. During processing, CPU first checks the cache for the required data. If data is not found in the cache, then it looks in the RAM for data.

  • To access the cache memory, CPU does not have to use the motherboard’s system bus for data transfer. (The data transfer speed slows to the motherboard’s capability when data is passed through a system bus. CPU can process data at a much faster rate by avoiding the system bus.)


Illustration of cache memory



Cache memory is built into the processor, and may also be located next to it on a separate chip between the CPU and RAM. Cache built into the CPU is faster than the separate cache, running at the speed of the microprocessor itself. However, a separate cache is roughly twice as fast as RAM.


  • The CPU has a built-in Level 1 (L1) cache and Level2 (L2) cache, as shown in Figure. In addition to the built-in L1 and L2 cache, some CPUs have a separate cache chip on the motherboard. This cache on the motherboard is called Level 3 (L3) cache. Nowadays, the high-end processor comes with built-in L3 cache, like in Intel core i7. The L1, L2 and L3 cache store the most recently run instructions, the next ones and the possible ones, respectively. Typically, CPUs have cache size varying from 256KB (L1), 6 MB (L2), to 12MB (L3) cache.
  • Cache memory is very expensive, so it is smaller in size. Generally, computers have a cache memory of sizes 256 KB to 2 MB.




What is Cache Memory in Computer



Primary Memory


  • Primary memory is the main memory of the computer. It is used to store data and instructions during the processing of data. Primary memory is a semiconductor memory.

  • Primary memory is of two kinds—Random Access Memory (RAM) and Read Only Memory (ROM).
  • RAM is volatile. It stores data when the computer is on. The information stored in RAM gets erased when the computer is turned off. RAM provides temporary storage for data and instructions.
  • ROM is non-volatile memory but is a read-only memory. The storage in ROM is permanent in nature and is used for storing standard processing programs that permanently reside in the computer. ROM comes programmed by the manufacturer.
  • RAM stores data and instructions during the execution of instructions. The data and instructions that require processing are brought into the RAM from the storage devices like the hard disk. CPU accesses the data and the instructions from RAM, as it can access it at a fast speed than the storage devices connected to the input and output unit.
  • The input data that is entered using the input unit is stored in RAM, to be made available during the processing of data. Similarly, the output data generated after processing is stored in RAM before being sent to the output device. Any intermediate results generated during the processing of program are stored in RAM.
  • RAM provides a limited storage capacity, due to its high cost.


Interaction of CPU with memory



  • The secondary memory stores data and instructions permanently. The information can be stored in secondary memory for a long time (years) and is generally permanent in nature unless erased by the user. It is a non-volatile memory.


  • It provides back-up storage for data and instructions. A hard disk drive, floppy drive and optical disk drives are some examples of storage devices.


  • The data and instructions that are currently not being used by CPU, but may be required later for processing, are stored in secondary memory.

  • Secondary memory has a high storage capacity than the primary memory.

  • Secondary memory is also cheaper than the primary memory.

  • It takes a longer time to access the data and instructions stored in secondary memory than in primary memory.

Magnetic tape drives, disk drives, and optical disk drives are the different types of storage devices.




I Hope You Like The What is Cache Memory in Computer
Stay Connected With NEtechy
Daily Updates.

No comments:

Name

Affiliate Marketing,1,Android Apps,9,Android Top Games 2019,1,Antivirus,1,Blogging,2,Cache Memory,2,Computer,16,Computer Assembling,1,Computer Generations,1,Computer Virus,1,CPU,1,Domain,1,Dropshipping Business,1,E Commerce,4,Ebook,1,Evolution of Microsoft windows,6,Facebook Marketing Tutorial,1,Fix Computer Overheating,1,Flipkart Affiliate Program,1,Games,7,Hardware,5,Hindi Computer,6,Hindi Hardware,6,Hindi SEO Tutorial,8,Hindi Software,1,Hindi YouTube,2,Hindi Zone,13,how to bootable pendrive,2,How To Do,2,Internet,7,Keyboard,1,Laptop,1,Latest,99,Make Money Selling used items,1,Memory,3,Monitor,1,Mouse,1,Online Money,27,Operating system,11,Operating system Hindi,1,PC Tricks,2,Sell Photos,1,Smartphone,1,Software,3,Technology,1,Top 10,1,Top Stories,12,Twitter,1,Usertesting,1,Web Browser,3,Website,2,WhatsApp,1,Widget for Blogger,1,
ltr
item
NEtechy: What is Cache Memory in Computer - PRIMARY AND SECONDARY MEMORY
What is Cache Memory in Computer - PRIMARY AND SECONDARY MEMORY
What is Cache Memory in Computer - PRIMARY AND SECONDARY MEMORY Cache Memory The data and instructions that are required during the processing of data are brought from the secondary storage devices and stored in the RAM.
https://4.bp.blogspot.com/-cKaDwY2Urrs/XDb1YlBsBlI/AAAAAAAAAsM/kAekSwh8q6srPxWI5yGiAWJgUqLMuylSACLcBGAs/s640/What-is-Cache-Memory-in-Computer.jpg
https://4.bp.blogspot.com/-cKaDwY2Urrs/XDb1YlBsBlI/AAAAAAAAAsM/kAekSwh8q6srPxWI5yGiAWJgUqLMuylSACLcBGAs/s72-c/What-is-Cache-Memory-in-Computer.jpg
NEtechy
https://www.netechy.com/2019/01/what-is-cache-memory-in-computer.html
https://www.netechy.com/
https://www.netechy.com/
https://www.netechy.com/2019/01/what-is-cache-memory-in-computer.html
true
751342609679224409
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy