Question

What is the difference between internal and external fragmentation? How does the use of virtual memory...

  1. What is the difference between internal and external fragmentation?
  2. How does the use of virtual memory improve system utilization?

Homework Answers

Answer #1

Difference between Internal fragmentation and External fragmentation :

1. In internal fragmentation fixed-sized blocks of memory is given to a process. Whereas, in external fragmentation, variable-sized memory blocks is allocated to a process.

2. Internal fragmentation occured when the memory that is assigned to a process is slightly larger than the memory requested by the process , and hence it created some free space. Whereas, External fragmentation occured when a process is removed from the memory, and then it creates some free space in the memory.

3.The solution of internal fragmentation is best-fit block. Whereas, the solution of External fragmentation is Compaction, paging and segmentation.

The Use of virtual memory improve system utilization :

Virtual memory is a memory management technique where secondary memory can be used and can be addressed as a part of main memory.Virtual memory is essential for improving system utilization and system performance, it performs multitasking, using large programs .

Virtual Memory improves utilization by following techniques :

1. Demand Paging :

Demand Paging is the  process of loading the page into main memory only when the process needs that page ( On Demand).

As the virtual memory is large as compared to main memory , then More efficient use of main memory can be done hence, no limit on degree of multiprogramming is there. Hence, it increases system utilization.

2. Swapping :

Swapping is a memory management scheme in which any process can be swapped temporarily from main memory into the virtual memory , so that the Main memory at that time , can be used for other process.

Swapping affects the performance of the system, as it helps to run larger programs and more than one process at a time . Hence, It is used to improve main memory utilization.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
What is the difference between internal and external audits?
What is the difference between internal and external audits?
what are the difference between Internal and External Benchmarking ? please type all the difference that...
what are the difference between Internal and External Benchmarking ? please type all the difference that you know.
Show how much virtual memory and physical memory is in use by the Windows operating system....
Show how much virtual memory and physical memory is in use by the Windows operating system. Use the Resource monitor manager or the CMD command. <<Show screenshot>> [Hint : You can research it on the web. One such web page is here] [ 5 pts] https://www.techrepublic.com/article/how-to-use-windows-10s-resource-monitor-to-track-memory-usage/
What is the difference between an internal check and an external check for a numerical solution?...
What is the difference between an internal check and an external check for a numerical solution? Give an example of an external check.
what is the difference between the internal rate of return (IRR) and the external rate of...
what is the difference between the internal rate of return (IRR) and the external rate of return (ERR)
Briefly explain the difference between Internal auditing and External auditing
Briefly explain the difference between Internal auditing and External auditing
In the context of green engineering, what is the difference between internal and external costs? Which...
In the context of green engineering, what is the difference between internal and external costs? Which type is easier to estimate and quantify, and why? 2.29 from Engineering Economic Analysis - Jerome P. Lavelle - 13th edition.
Problem 8 Given five memory partitions of 100 KB, 200 KB, 600 KB, 450 KB, and...
Problem 8 Given five memory partitions of 100 KB, 200 KB, 600 KB, 450 KB, and 400 KB (in order - shown in figure below), how would the first-fit, best-fit, and worst-fit algorithms place processes of 100 KB, 75 KB, 380 KB, 555 KB and 326 KB (in order)? If one process will not fit you can list their partition as NULL. Which algorithm makes the most efficient use of memory? To make this decision, calculate the total fragmentation (external...
Describe the replacement algorithms: LRU, FIFO, and Clock. What types of support does virtual memory management...
Describe the replacement algorithms: LRU, FIFO, and Clock. What types of support does virtual memory management required?
difference between sociological and non-sociological perspective why do people commit suicide? internal and external perspective and...
difference between sociological and non-sociological perspective why do people commit suicide? internal and external perspective and where do you think there are more suicides? why? developed countries or developing? both with internal and external ?
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT