Computer Science, asked by akshatha9725, 9 months ago

Difference between swapping and overlays in operating system

Answers

Answered by vaibhavpatil551
4

Answer:

Overlaying is a programming method that allows programs to be larger than the computer's main memory. An embedded system would normally use overlays because of the limitation of physical memory, which is internal memory for a system-on-chip, and the lack of virtual memory

What is swapping in operating system?

Swapping. Swapping is a mechanism in which a process can be swapped temporarily out of main memory (or move) to secondary storage (disk) and make that memory available to other processes.

Answered by ayush7652051895sl
0

Explanation:

  • When overlay1 completes its execution, it is replaced by overlay2, which is then performed without having to load the entire program at once.
  • During the execution of a process, swapping is a scheme in which pages from main memory to secondary memory.
  • They are swapped in(rolled in) and swapped out(rolled out) as needed.
  • Increased data throughput and more efficient use of the central processing unit are achieved by overlapping I/O operations.

#SPJ2

Similar questions