Chapter 8: Memory Management Essay
In this chapter, the student will:
1. Explain what memory management is and why it is important.
2. Be able to identify different memory management schemes and the processes they use to manage memory.
Operating systems manage the …show more content…
The types of memory in a computer system are: high speed cache, main memory (also known as physical memory), and secondary memory. High speed cache is relatively small amounts of memory that is available to the central processing unit (CPU) through the fastest connections. Cache controllers predict which pieces of data the CPU will need next and move it from main memory into high-speed cache in order to speed up system performance. Main memory is RAM and is measured in megabytes (MB). Secondary memory is where programs and data are kept on a long-term basis. A common secondary memory device is the hard disk. Secondary storage is only one of the memory types that must be managed by the operating system; it is also the slowest.
In order for a program to execute, it must be moved into main memory at a particular location and placed inside a process. This process moves between disk and memory during execution. The input queue is used to place the processes that are ready to be moved into the memory. The instructions that use addresses in a program must have address space in the main memory. Many instructions use fixed addresses that must be bound to fixed locations in the memory. With this in mind, address binding can be thought of as a mapping from one address space to another.