Chapter 31 Flashcards
What is MFT
Multiprogramming with fixed number of tasks. Memory is divided into several fixed-size partition at boot time. These partitions can not be changed at run-time. If we need to change them then a reboot of system required.
What is MVT
Multiprogramming with variable number of processes. Both the numbers and size of partitions change with time.
Process will be contiguous and memory size will according to process size. Where in MFT, if there is such a process that memory does not have much space then process can not be executed. Process can be move from one region of memory to another region.
Does executable code also known as executable binary image or executable binary
Yes
Where we put first instruction of process as it resides in main memory
Base register / relocation register / segment register
What 2 things happened when stub execute
- Load library code in main memory
2. Its address is replaced by the stub
What are overlays
Overlays allow a process to be larger than the amount of memory allocated to it. This is the same concept behind virtual memory. Overlays do so by keeping in memory only those instructions and data that are needed at any given time.
What is virtual memory
Virtual memory allows us to run a program that are larger than a main memory.
Who implements overlays. OS or programmer
Programmer
What is role of overlay driver
It loads parts of overlay
What is 2 pass assembler/compiler
The single pass compiler goes through the code only once and if compiler or assembler scans code 2 times then it is called 2 pass compiler.
What is swapping
Swap in and swap out
What is major part of swap time
Transfer time
What should be the maximum quantum switch time
No more than 10%
What are 2 parts of memory
- Kernel space: Where kernel occupies
2. User space: Where applications occupies
Does base and limit registers are used to point to the smallest memory address of a process and its size respectively
Yes