Skip to main content

Newer Post or latest post

Li-Fi vs Wi-Fi: A Battle of Light and Waves

Li-Fi vs Wi-Fi: A Battle of Light and Waves Li-fi is a light fidelity device that supports only the infrared and other lighting systems to transfer the data to the device which is used to receive from the sender device. Wifi is a wireless fidelity device that supports the radio waves to transfer the data to the wifi device which is used to receive the wifi signals at the limited ranges due to the device version capacity. Introduction to the computer system and computer applications related topics are listed following below here: Li-Fi vs Wi-Fi: A Battle of Light and Waves Let’s discuss the computer system related topic and questions above listed and their answers are following below here: Li-Fi vs Wi-Fi: A Battle of Light and Waves There are some points on the computer system and data communication related to the topic of “Li-Fi vs Wi-Fi: A Battle of Light and Waves” following below here: Lifi based data communication system:- Li-Fi is a light based signal data transmission ...

What is cache memory? How is it different from primary memory?

What is cache memory? How is it different from primary memory?

Definition of cache memory

Cache memory is a high speed memory built in the processor and used between the main memory and the processor.

1. Cache is memory is placed between the CPU and the main memory.
Cache memory works between Central process unit and Main memory
fig: describe the cache works between CPU & main memory.

2. Cache memory is faster than the main memory.
cache memory is describe that is faster than main memory
fig: The Cache memory is faster than the main memory according to working performance.

3. Its access time is less than the main memory.
Cache memory is lower than main memory according to access time.
fig: Cache performance of access time lower than main memory.

4. According to measurement the cache memory access time is 10 to 30 nano second (ns) and the main memory access time is 80 (ns) nano second.
table of cache memory and main memory of the access time.
table of access time of both memory.

5. The Cache memory stores instructions and data that are immediately executed.
fig describes that cache memory stores Instructions & Data but sometimes it don't stores data.

6. Sometimes cache is used to store only instruction. In case that such type of cache is used in 68020 processor.
when the cache stores only instructions then it used in processor 68020
Fig describes that when cache is uses in processor 68020 it stores only Instructions

7. Cache has 256 byte instruction cache which allows it to fetching to instructions from the main memory and store them in the cache during its time period when the system bus would otherwise be idle.

Dependency of the cache memory according to the performance

1. Speed and size of the cache memory.
2. The logic used to read data around the memory area read by the CPU.
3. The logic used to guess next required data by the CPU.
4. With the new microprocessor you can also add external cache memory to increase the performance of the CPU.


Cache controller:

1. The cache controller kept the frequently information in the cache memory required by the processor.
2. The required data by the processor in the next memory access is available in the cache memory this process is ensured by the cache controller.
3. The cache controller is improves the CPU speed because if the required data is available in the cache memory and made available for the CPU without wait state.

What is ‘Hit’ in the cache memory?

1. When the required data is available in the cache memory it is called Hit.
2. The processor immediately reads and writes the data in the data cache line during in the cache hit.
3. The proportion of accesses of the results is called cache hit rate.


What is ‘Miss’ in the Cache memory?

1. When the required data is not available in the Cache memory it is called Miss.
2. Most caches allocate new entry which comprises the tag just missed and copy of the data from the main memory during Miss Condition.
3. Misses are slower than the Hits because they required data to be transferred from the main memory.


How cache memory different from the primary memory?

Primary Memory

1. The function of primary memory is to stores information.
2. Its stores the program along with the data to be executed.
3. It also stores the necessary programs of the operating system or system software.
4. The executable necessary programs for users stores in the primary memory.
5. The main memory or primary memory is directly addressed by the CPU.
6. RAM {Random Access Memory} is also used as main memory or primary memory.
7. It is not faster than the Cache memory.
8. Its access time of the main memory is 80 ns (Nano second) as comparatively slower than Cache memory.

Cache memory

1. Sometimes the used as to stores only instructions not program.
2. It stores data and instructions which is immediately executed.
Some points are written above as make the difference primary memory and cache memory.


Can cache memory increase the speed of the CPU?

Yes, it is true that the cache memory increases the speed of the CPU processing to increase the speed which means the cache memory store the loaded instructions and program that can be hold at some few seconds and the cpu needs to process those programs and instructions then the cpu process and access the cache memory to process programs and instructions.

The cache memory basically reduces the loads of the cpu which indirectly increases the cpu speed to process more other files quickly.


this image shows the diagram of cpu and cache memory to connected to each other and the share the data through the data bus and increases the speed due to continuously store and removes the data from cache memory for the cpu as according the cpu needs to process the program and instructions.


The cache memory is a temporary memory which removes the program when the cpu has been processed the hold programs or instruction then the cache memory continuously stores the new coming programs and instructions to hold up and waiting for processing it by the cpu and the cpu as according to schedule of the cpu can process the programs and instructions on the computer to execute it.




-----------------------------------------------------------------------------------------------------------------------------

Hello guys, I hope you can learn from this post easily  from “ What is cache memory? How is it different from primary memory?” and you get the right information from this post that I have posted related to information technology and computer science topics with questions and answers. Thanks for reading our content 🙂 👍

"I appreciate your attention to this topic! If you have any thoughts or questions, please feel free to share them in the comments below. Until next time, stay curious and keep learning!"



My latest post is here links below about the databases technology

What are the components of data model in [DBMS] Relational Database Management System?

There are five main components of data model... 👉 click here 👈

What is stability of the distributed database management system?

In the distributed database model there are.... 👉 click here👈


Comments

Popular posts from this blog

what are the function of the joystick and light pen?

Q 1. State the functions of a joystick and that of a light pen? Introduction to the joystick device, virtual or soft joystick tool, game controller, virtual or soft game controller and light pen topics are covered below here: Joystick What is the meaning of the joystick in computer? What is the joystick as a peripheral device in the computer system? What is main use of joystick in computer system peripheral devices? What is the purpose of the joystick in computer? What are the types of joysticks in the peripheral system for game purpose? What do you mean by analog joystick in peripheral system? What are the advantages of analog joystick device? What are the disadvantages or drawbacks of analog joystick device? What are the uses of joysticks? What are top 5 uses of joystick device in the computer system peripheral? Where is the use of joystick? How to connect the joystick for game in computer system? Can you connect the joystick to the laptop? Why do n...

Describe the different ways of mobile communication systems for users?

Describe the different ways of mobile communication systems for users? Mobile communication makes it easy to connect with many users through the different types of ways to provide the communication system, share the information to each other and make communication between two or more users through the mobile devices. Such as:- an internet service provides many ways to connect the users in the text, audio, image and video file or data connections sharing the information to each other using these data types to communicate to each other. The user needs to communicate with the other user on the data communication system application software provide the process the data to send the file or message to the user who is connected to the communication application software through their user ID name or email to communicate to share the text or audio file or video file or image file also can be shared into the application software to the user such as:- if the application software provide the chatt...

I am exploring the points on if data centers uses a SAN how it is bigger than SANs?

Is data centers using a SAN and how much are data centers bigger than SANs? The data centers are used to provide the big data analytics for the website and companies to provide the processed data for making different types of informed decisions at a large amount of data processing in the data centers because it is a very big area to install into the building and many buildings if it requires to install into many buildings. The large requirement of data centers installation is necessary because the data centers uses many types of computers, storage devices, network attached storages, network devices such as:- servers, switches, hubs, routers, bridges, repeaters, gateways etc. data cables and different types of network equipment to use in the data centers to make a large area of data processing for the companies uses and major projects for website at larger industrial area for website for data processing. The storage area network is used to provide the high performance of data processing...