How main and virtual memory solve memory management issues
In the memory management diagram, the base and limit
registers are used to provide the range of legal addresses the process may
access (Silberschatz et al. 2014). The hardware address protection diagram
shows how addresses are compared with registers, with a trap to capture any
programs attempting to access the operating system in user mode. The multistep
processing diagram displays steps a user program may go through before being
executed (Silberschatz et al. 2014). Dynamic relocation diagram shows how “the
value in the relocation register is added to every address generated by a user
process at the time the address is sent to memory” (Silberschatz et al. 2014).
Virtual memory can provide many benefits to the system
and user by providing larger address space, allowing more programs to be run at
the same time, and using less I/O to load or swap user programs into memory
(Silberschatz et al. 2014).
Comments
Post a Comment