Thursday, 15 August 2013

How to conserve wastage of storage space in terms of # of blocks used when designing a file system

How to conserve wastage of storage space in terms of # of blocks used when
designing a file system

As a part of my thesis, I'm working on designing a storage sub-system. I
have to create an inode like structure (like ext3 indirect block usage
etc.). On the same lines as ext3 but I have 2 different page/block sizes -
16k and 512k (for direct block accesses). I can have 36 blocks total. My
question is how many blocks of each size should be used to minimize
internal fragmentation or wasted storage space. Someone suggested keeping
32, 16k blocks since 16k * 32 = 512k and that would avoid space wastage
but I didn't follow the argument much. Please help me understand the
logic.

No comments:

Post a Comment