Question

In: Computer Science

Memory refers to the physical devices used to store programs or data. Main memory is used...

Memory refers to the physical devices used to store programs or data. Main memory is used for the information in physical systems which function at high speed (i.e. RAM), as compared to secondary memory, which are physical devices for program and data storage which are slow to access but offer higher memory capacity.

The cache memory is an intermediate level between the main memory and the processor. The goal is to store the most frequently and most recently accessed data in the upper-level unit (cache) to make returning to it much faster. Can this concept be used in any real life applications? If so, discuss its use and advantages.

Solutions

Expert Solution

Answer:

Memory heirachy techniques are used in Building search Engines.

  • Search Engines keep track of addresses of frequently used pages to improve response time. That to meet the need of users the frequently used page addresses are placed in processor registers or in cache memory in order to acces them quickly .

  • Also the pages accessed together or browsing patterns are analysed to imporve the speed of search engines.

  • In operating system, page replacement algorithms also use this approach to access frequently used pages quickly to improve the speed of computations.

  • The items which are not frequently used are stored in secondary storage , when ever they are needed then are brought to main memory and then they are restored after the use.

  • While implementing splay tree, for storing file indices the frequently used file indices are brought near to the root to improve the speed of next access.

Advantages:

  • Improve the speed of computation.

  • Improve the throughput and response time.

  • Improve the requirement of the users who are using search engines.

Thank you.


Related Solutions

Direct memory access is used for high-speed I/O devices in order to avoid increasing the CPU's...
Direct memory access is used for high-speed I/O devices in order to avoid increasing the CPU's execution load. (a) What does the CPU do to interface with the device to coordinate the transfer? (b) How does the CPU know when the memory operations are complete? (c) The CPU is allowed to execute other programs while the DMA controller is transferring data. Does DMA interfere with the execution of the other programs? If so, describe what form of interference are caused.
Suppose that a system uses DMA for data transfer from disk controller to main memory. Further...
Suppose that a system uses DMA for data transfer from disk controller to main memory. Further assume that it takes t1 nsec on average to acquire the bus and t2 nsec to transfer one word over the bus (t1 >> t2). After the CPU has programmed the DMA controller, how long will it take to transfer 1000 words from the disk controller to main memory, if (a) word-at-a-time mode is used? (b) burst mode is used? Assume that commanding the...
1)Name 4 physical phenomena that light can have on some devices, so these devices can be...
1)Name 4 physical phenomena that light can have on some devices, so these devices can be used as light sensor. 2)What is the LDR sensor and what is the effect of light on this device? 3)What is the main difference in structure of PIN Photodiode and standard PN photodiode (photovoltaic cell)? What is the advantage of PIN over PN? 4) Which kind of sensors, is the characteristics of the PIN photodiode similar to? 5) If we increase voltage in a...
what are the three main stages of memory, as well as the main processes that occur...
what are the three main stages of memory, as well as the main processes that occur within each stage. There are a number of different types of memory. how are they define and what are examples of them. What types of retrieval exist? What factors/strategies might improve the odds of successful retrieval? How can memory go wrong? What research has been done that supports the fact that these memory errors exist?
The main difference between implicit and explicit memory?
The main difference between implicit and explicit memory?
List Various Techniques and Data Collection Methodologies Used to Evaluate Hand Tools and Devices.
List Various Techniques and Data Collection Methodologies Used to Evaluate Hand Tools and Devices.
The following problems are related to PIC18F46K22 data memory: (a) What is the data memory space...
The following problems are related to PIC18F46K22 data memory: (a) What is the data memory space and actual implemented size? (b) What does direct addressing mean? (c) What does indirect addressing mean? (d) What is the Access Bank used for? (e) What is the address range for Bank 6? (f) What is the purpose of the registers FSR0, FSR1, FSR2 for?
1. Explain "physical projects" and "regulatory programs". What is the challenge regarding the regulatory programs? 2....
1. Explain "physical projects" and "regulatory programs". What is the challenge regarding the regulatory programs? 2. Name two possible discount rate. Also, explain the difference between nominal and real rate
1. Explain "physical projects" and "regulatory programs". What is the challenge regarding the regulatory programs? 2....
1. Explain "physical projects" and "regulatory programs". What is the challenge regarding the regulatory programs? 2. Name two possible discount rate. Also, explain the difference between nominal and real rate if you do not know the answers please do not answer and i just want short answers not too long. thank you
The IBM System/370 architecture uses a two-level memory structure and refers to the
The IBM System/370 architecture uses a two-level memory structure and refers to the two levels as segments and pages, although the segmentation approach lacks many of the features described earlier in this chapter. For the basic 370 architecture, the page size may be either 2 Kbytes or 4 Kbytes, and the segment size is fixed at either 64 Kbytes or 1 Mbyte. For the 370/XA and 370/ESA architectures, the page size is 4 Kbytes and the segment size is 1...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT