answersLogoWhite

0


Best Answer

Fragmentation occurs in a dynamic memory allocation system when many of the free blocks are too small to satisfy any request.

External Fragmentation: External Fragmentation happens when a dynamic memory allocation algorithm allocates some memory and a small piece is left over that cannot be effectively used. If too much external fragmentation occurs, the amount of usable memory is drastically reduced. Total memory space exists to satisfy a request, but it is not contiguous.

Internal Fragmentation: Internal fragmentation is the space wasted inside of allocated memory blocks because of restriction on the allowed sizes of allocated blocks. Allocated memory may be slightly larger than requested memory; this size difference is memory internal to a partition, but not being used

Another Definition:

Internal Fragmentation is the area in a region or a page that is not used by the job occupying that region or page. This space is unavailable for use by the system until that job is finished and the page or region is released.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

8y ago

To illustrate the difference between internal and external fragmentation, let's consider the system registry or some other database. It can be externally fragmented in that an entire file as a whole is what is fragmented. So the SYSTEM hive of the system registry might be split up into a number of chunks on the hard drive. So regular disk fragmentation is what causes this.

Using the same example, it could also be fragmented internally. The system registry contains many keys, and the keys are constantly being added and deleted. So the registry might have "holes" in it between the entries. These holes make the registry longer than it needs to be. The way to eliminate this is to rebuild the database from scratch. In the specific example of the system registry, there is a program called NTREGOPT which can recreate all the hives, copying only the valid data and leaving the holes or any invalid data behind.


The filesystem itself is a database, and files in it can be fragmented in relation to it. That is external fragmentation. In addition, database files can be stored within that filesystem, and while they can become fragmented in relation to the filesystem, they can also have entries inside in a less than optimal order with spaces from deleted entries between the records.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between external and internal fragmentation?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is Difference between internal and external indicators?

what is the difference between the external & internal indicator


What is the difference between external and internal communications?

What is the difference between external and internal communications


What is the difference between external and internal indicator?

what is the difference between the external & internal indicator


What is the difference between internal and external fragmentation in OS?

Internal Fragmentation is the area in a region or a page that is not used by the job occupying that region or page. This space is unavailable for use by the system until that job is finished and the page or region is released.


What is the difference between external and internal stimuli?

internal is in and external is out


Difference between internal fragmentation and external fragmentation in operating system?

Fragmentation occurs in a dynamic memory allocation system when many of the free blocks are too small to satisfy any request. External Fragmentation: External Fragmentation happens when a dynamic memory allocation algorithm allocates some memory and a small piece is left over that cannot be effectively used. If too much external fragmentation occurs, the amount of usable memory is drastically reduced. Total memory space exists to satisfy a request, but it is not contiguous. Internal Fragmentation: Internal fragmentation is the space wasted inside of allocated memory blocks because of restriction on the allowed sizes of allocated blocks. Allocated memory may be slightly larger than requested memory; this size difference is memory internal to a partition, but not being used


What is the difference between internal and external reproduction?

its internal and then its external. DEERRR


What is the db internal and external frontier?

difference between external and internal frontier


Difference between internal dtd and extrenal dtd?

difference between internal and external dtd


What is the difference between internal and external customer in hospitality industry?

What is internal and external customer?


What is the difference between internal and external validity?

The difference between internal and external validity is in their nature. Internal validity indicates if a study depicts relation between two variables. External validity on the other hand generalizes the study of the variables.


Difference between internal and external stock holders?

internal holder is within while the external is outside