Operating Systems – Memory Management
[Pages:100]Operating Systems ? Memory Management
ECE 344
ECE 344 Operating Systems
1
Memory Management
? Contiguous Memory Allocation ? Paged Memory Management ? Virtual Memory
ECE 344 Operating Systems
2
Binding of Instructions and Data to Memory
? Compile time:
? known memory location
? absolute code can be generated
? must recompile code if starting location changes.
? Load time:
? generate relocatable code if memory location is not known at compile time.
? Execution time:
? process can be moved during its execution from one memory segment to another.
? need hardware support for address mapping
ECE 344 Operating Systems
3
Logical vs. Physical Address Space
Logical 1
Physical
n
ECE 344 Operating Systems
4
Logical vs. Physical Address Space
? A logical address space that is bound to a separate physical address space
? Logical address ? generated by the CPU; also referred to as virtual address.
? Physical address ? address generated by the memory management unit.
? Logical and physical addresses are the same in compile-time and load-time addressbinding schemes.
? Logical (virtual) and physical addresses differ in execution-time address-binding scheme.
ECE 344 Operating Systems
5
Memory-Management Unit (MMU)
? Hardware device that maps logical/virtual to physical address.
? In MMU the value in the relocation register is added to every address generated by a program at the time the address is sent to memory.
? The program deals with logical addresses; it never sees the real physical addresses.
ECE 344 Operating Systems
6
Dynamic relocation/binding using a relocation register
ECE 344 Operating Systems
7
Memory Allocation
ECE 344 Operating Systems
8
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- linux memory management
- lecture 7 memory management
- 9 5 memory allocation techniques
- operating systems memory management
- internals chapter 8 virtual memory
- understanding the linux virtual memory manager
- lecture 10 memory management
- memory management thrashing segmentation and paging
- memory management university of california davis
- operating systems memory management wpi
Related searches
- operating system memory management
- memory management in operating system
- memory management operating system ppt
- operating system memory management pdf
- computer operating systems ppt
- memory management techniques operating system
- operating systems william stallings pdf
- free operating systems for computers
- evolution of operating systems pdf
- memory management operating system
- free operating systems 32 bit
- operating systems downloads