Give as many ways as you can in which executing a program on a virtual memory system differs from executing the same program on a real memory system.
What will be an ideal response?
The key differences are that address translation must be performed dynamically on
virtual memory systems whereas addresses may be used directly on real memory systems.
Real memory systems tend to be contiguous allocation systems whereas virtual memory systems
allocate memory noncontiguously.A third difference is that with real memory systems
the entire programand its data tend to be in main memory at once, whereas in virtual memory
systems only subsets of all a program’s pages or segments are in main memory at once.
The potential effect on execution is not one of the advantages of virtual memory systems.
Programs execute at processor speeds in real memory systems. In virtual memory systems,
programs are frequently forced to wait for pages or segments to be brought in from secondary
storage. For most programs, this is of little concern, but it can be devastating in real-time
or time-sensitive applications.
You might also like to view...
Which VPN protocol is a poor choice for high-performance networks with many hosts due to vulnerabilities in MS-CHAP?
A. SSL B. L2TP C. IPsec D. PPTP
Where are data variables stored when a program is running?
What will be an ideal response?