Skip to main content

Cache Memory

cache memory diagram

 

Hello Readers,

Today I will discuss Cache Memory and its importance.

Importance

• It Is Small faster Memory which stores copies of the data from the most frequently used by main memory location

• Actually it is placed between Microprocessor & RAM.

• It stored the address of memory location by which the microprocessor doesn’t need to cache its address again and again. Once Cache Memory Cached That Address then RAM and Microprocessor Directly Operate it rapidly.

Uses

• Due to cache memory, average latency memory is increases

• and also It gives faster access to currently needed data

• It also reduces the average time of accessing memory for RAM and Microprocessor

• It is a special type of memory which is used to fast access to microprocessor

Types:

1. Level 1 (L1) cache or Primary Cache – L1 is the primary type cache memory. The Size of the L1 cache very small compared to others that are between 2 KB to 64 KB.

2. Level 2 (L2) cache or Secondary Cache – L2 is a secondary type cache memory. The Size of the L2 cache is more than L1 that is between 256 KB to 512 KB. It resides on the computer microprocessor.

 
3. Level 3 (L3) cache or Main Memory – The L3 cache is larger in size but also slower in speed than L1 and L2, it’s size ranges between 1 MB to 8 MB.

 

If you have any questions regarding this article. Then please do let me know. I would be happy to help you. 

Thanks For reading

Comments

Popular posts from this blog

Automation - Update Naukri Profile Using Selenium

Recently one of my friend came to me with a problem. He is looking out for new job but he feels quite boring to update  his profile on daily basis. As some people says updating profile in the morning gives you more calls as it keeps the newly updated profile on top (Although i don’t know whether naukri works this way or not 😀 ). As i was more interested to solve his problem.  After listening his problem i came to solution that instead of updating it manually lets make this job automatic. And it is quite interesting how we can automate our daily boring task with automation. Another day i came with the solution . And the solution was to make it automatic using selenium (Those who are not aware about selenium do check this link) In short, Selenium is a Testing automation Framework. And it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should) also be automated as well....

Shut Down the Computer using notepad

Open notepad >> Write @echo off msg * I am tired. shutdown -c “So, Bye Bye dear” -s >> Save the File as AnyName.bat When you will open this file, your Computer will Shut down on its own after showing the message in it. NOTE: FOR EDUCATIONAL PURPOSE ONLY.I AM NOT RESPONSIBLE FOR IF ANYTHING GOES WRONG…. 

Android - Show A Dialog From Service

In this article, I will be discussing how you can create a dialog from service. As we all know that service in android does not have any UI and it is intended for long-running background tasks. But sometimes it is required to show some information to the user when your app is running in the background. Today I will show you how you can implement this type of functionality in your application. Before starting the tutorial let me tell you about the special permission that we are going to use. Permission AndroidManifest.xml<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/> This permission allows the app to use the system level window. AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.app.dialogfromservice"> <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/> <appl...