|
INTERVIEW QUESTIONS
OPERATING SYSTEMS
WINDOWS OPERATING SYSTEM
DETAILS
Question: What is fragmentation? Different types of fragmentation?
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 Reduce external fragmentation by compaction ->Shuffle memory contents to place all free memory together in one large block. ->Compaction is possible only if relocation is dynamic, and is done at execution time.
|
|
|
Category |
Windows Operating System Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 8792 users |
Added on |
10/25/2009 |
Views |
70698 |
Rate it! |
|
|
Question:
What is fragmentation? Different types of fragmentation?
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 Reduce external fragmentation by compaction ->Shuffle memory contents to place all free memory together in one large block. ->Compaction is possible only if relocation is dynamic, and is done at execution time. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
Define Demand Paging, Page fault interrupt, and Trashing?
|
View Answer
|
|
Explain Segmentation with paging?
|
View Answer
|
|
Under what circumstances do page faults occur? Describe the actions taken by the operating system when a page fault occurs?
|
View Answer
|
|
What is the cause of thrashing? How does the system detect thrashing? Once it detects thrashing, what can the system do to eliminate this problem?
|
View Answer
|
|
Why are page sizes always powers of 2?
|
View Answer
|
|
On a system with paging, a process cannot access memory that it does not own; why? How could the operating system allow access to other memory? Why should it or should it not?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Windows Operating System Interview Questions & Answers - Exam Mode /
Learning Mode
|