List one advantage and one disadvantage of having large block size.
Ans:
advantage
The advantage of using a large block of memory is accommodation of maximum processes resulting is less number of page faults.
Disadvantage
The disadvantage of using a large block of memory is occurrence of internal fragmentation i.e allocated memory may be slightly larger than requested memory. e.g., suppose memory is allocated in blocks of 4K, a 1K process will waste 3K of space in its partition, as will a 5K process.
advantage
The advantage of using a large block of memory is accommodation of maximum processes resulting is less number of page faults.
Disadvantage
The disadvantage of using a large block of memory is occurrence of internal fragmentation i.e allocated memory may be slightly larger than requested memory. e.g., suppose memory is allocated in blocks of 4K, a 1K process will waste 3K of space in its partition, as will a 5K process.
More question answers on operating systems are coming soon.
ReplyDelete