Key objectives: Relocation, protections, sharing, logical organization, physical organization.
- efficiency
- speed
- multitasking
- stability
- security
- virtual memory
- resource sharing
- allocation and deallocation
- memory mapping
Virtual memory basically uses storage as memory. Not used in realtime systems to keep maximum speed.
#Memory Allocation Strategies
Fixed Partitioning
- sizes for partitioning (fragments) are all the same.
- Higher speed and extremely efficient. Maximum speed possible. You don’t wan’t fragments.
- When you have multiple instances of the same program. Dynamic Partitioning
- fragments have different sizes
(internal vs external fragmentation)? Paging and segmentation are solutions to fragmentation.