38. Why is memory management necessary in a system that uses hard disks?
What will be an ideal response?
Without memory management, all logical addresses from the processor would be mapped onto the same
physical addresses in memory. Memory management makes it possible to map any logical address space onto
any physical address space, making it easy to provide memory space protection and shared data or program
space (for example, two different tasks could share the same library of functions).
However, the main use of memory management is to integrate the disk space into memory space. This allows
gigantic memory spaces. Suppose the logical address space is very much larger than the physical address space
of the DRAM. If a logical address is generated and the corresponding data is on disk, the operating system can
read the disk and transfer a page into DRAM and then map that page onto the logical address space. As long as
pages are not swapped in too frequently, memory management can effectively hide a hard disk’s latency.
You might also like to view...
It is best when designing a query to add all the fields from a table in case you need them later
Indicate whether the statement is true or false
A high school student is searching for a bathing suit online using a school computer. While selecting a specific website, a message appears the site has been blocked. What is the most likely cause of this issue?
A) Content filtering B) ACL C) Antivirus software D) VPN
The word shown in bold is spelled correctly in the following sentence.Colcannon is made with mashed potatos and cabbage.?
Answer the following statement true (T) or false (F)
Which of the following commands will display the number of seconds that have elapsed since January 1, 1970?
A. date +%s B. date --epochdiff C. datetime --epoch D. datetime -s