4,835 views
2 votes
2 votes
Consider a disk with the following specification disk block size is 'S' bytes; Disk Block address id 'D' bits, Disk size is 'B' bytes. 'K' of the total blocks are in use. What is the total space consumption under free list and bit map methods.

 

a) (B(1+D) - KDS)/S

b) (B(1+D) - DS)/S

c) B/S + ((B-K)/S).D

d) B/S + K.D

1 Answer

6 votes
6 votes
Answer : (a)

Space taken by bitmap= (total Number of blocks)  i.e 1 bit per block

                                        = B/S bits

Space taken by free list= (total number of free blocks)*address pointer size in bits

                                          = (B/S - K) *D         (total number of free blocks = total blocks - used blocks)

 

Total space = B/s + (B/S - K)*D = (B(1+D)-KDS)/S

Option a is correct answer

Related questions

2 votes
2 votes
1 answer
1
Manoj Majumdar asked Oct 10, 2016
1,105 views
In a class B find which one of the below subnet mask is incorrect. This network has 200 subnets. and 225 hosts in each subnet.a) 255.255.255.0b) 255.255.240.240c) 255.255...
3 votes
3 votes
1 answer
4
Ashwani Kumar 2 asked Nov 16, 2017
3,772 views
No. of seek distances with C-SCAN and C-LOOK?