answersLogoWhite

0


Best Answer

Ans) In computer storage, fragmentation is a phenomenon in which storage space is used inefficiently, reducing capacity and often performance. Fragmentation leads to storage space being "wasted", and the term also refers to the wasted space itself.

There are three different but related forms of fragmentation: external fragmentation, internal fragmentation, and data fragmentation, which can be present in isolation or conjunction. Fragmentation is often accepted in return for improvements in speed or simplicity.

Internal fragmentation: Due to the rules governing memory allocation, more computer memory is sometimes allocated than is needed. For example, memory can only be provided to programs in chunks divisible by 4, 8 or 16, and as a result if a program requests perhaps 23 bytes, it will actually get a chunk of 24. When this happens, the excess memory goes to waste. In this scenario, the unusable memory is contained within an allocated region, and is thus termed internal fragmentation. Slack space is a very important source of evidence in computer forensic investigation.

External fragmentation

External fragmentation arises when free memory is separated into small blocks and is interspersed by allocated memory. It is a weakness of certain storage allocation algorithms, when they fail to order memory used by programs efficiently. The result is that, although free storage is available, it is effectively unusable because it is divided into pieces that are too small individually to satisfy the demands of the application. The term "external" refers to the fact that the unusable storage is outside the allocated regions. External fragmentation also occurs in file systems as many files of different sizes are created, change size, and are deleted. The effect is even worse if a file which is divided into many small pieces is deleted, because this leaves similarly small regions of free spaces.

0x0000

0x1000

0x2000

0x3000

0x4000

0x5000

Comments

Start with all memory available for allocation.

A

B

C

Allocated three blocks A, B, and C, of size 0x1000.

A

C

Freed block B. Notice that the memory that B used cannot be included for an allocation larger than B's size.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the two types of fragmentation Illustrate them with block diagrams?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the 3 types of electronic diagrams?

pictorial, schematic and block diagram.


What two types of fragmentation can arise on a hard disk drive?

Fisk fragmentation, and A.I.R.Y fragmentation.


Words that illustrate types of music?

Words that illustrate types of music


What are the three types of electronic diagram?

what are the 3 kinds of electonic diagrams ..the three kinds are layout or block diagram, schematic diagram and pictorial diagram


What types of chemical system of sand?

is it fragmentation


How uml diagrams for social networking site will be made?

See examples of different types of UML diagrams, select which diagrams you need, find a tool to draw UML diagrams.


What are some Organisms that use fragmentation?

bacteria


what is data modeling?

A data model is a conceptual frame work that outlines how data is structured, organized, and stored with in a database or information system. It defines relationships between different data types and specifies rules and constraints for data access and manipulation. Visual representations such as entity-relationship diagrams or UML diagrams, are often used to illustrate data model structures.


Which types of bombs are primarily fragmentation weapons that contain submunitions?

Typically, a Cluster Bomb.


How many total diagrams in UML?

UML 2.4 has 14 types of diagrams: 7 structure diagrams and 7 behavior diagrams. See the overall hierarchy and description of each type in the provided link.


Which types of bombs are primarily fragmentation weapons that contain sub munitions?

CBU


What is fragmentation in OS?

fragmentation is as a process which are loaded or removed from memory. the free memory space is broken into Little pieces, such types of pieces may or may not be of any use to be allocated individually to any process. this may give rise to term memory waste or fragmentation.