Chapter 30 Flashcards
What are 3 methods of memory management
- Dynamic Loading
- Dynamic Linking
- Overlays
What are 5 types of memory hierarchy
- Extremely fast, expensive (e.g. registers)
- Small, Very fast, expensive and volatile cache (e.g. cache)
- Hundreds of megabytes of medium-speed, medium-price, volatile main memory (e.g. main memory)
- Hundreds of gigabytes of slow, cheap and non-volatile secondary storage (e.g. secondary storage)
- Internet storage
What is memory management
Keeping track of free used memory space. It is also called free space management.
Who do swapping out and swapping in
Memory manager
What are the steps of making source code executable
Compile/assembly –> Link –> Load –> Execute
What is object code
It is in the form of instruction for machine language
What is address binding
Binding instructions and data to memory addresses
Does there can be load time, compile time and execution time binding
Yes
What is compile time binding
If we know at compile time where the process will reside in memory.
What is load time binding
If the location of a process in memory is not known at compile time then it will be load time binding.
What is execution time binding
If the process can be moved from one memory region to another during its execution, then it is execution time binding.
What is logical address
An address generated by the process/CPU; refers to an instruction or data in the process.
What is physical address
An address for a main memory location where instruction or data resides.
What is memory management unit (MMU) in CPU
The run-time mapping from logical to physical addresses is done by a piece of the CPU hardware, called the memory management unit (MMU).
What is logical address space
Set of logical addresses a process can generate, it lies on logical address space.