Development and Implementation of a File System for Gannet Virtual ...
Development and Implementation of a File System for Gannet Virtual ...
Development and Implementation of a File System for Gannet Virtual ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Figure above shows the percentage <strong>of</strong> overhead process over different size <strong>of</strong> file.<br />
However, there is trade<strong>of</strong>f between space efficiency <strong>and</strong> time efficiency. Having a<br />
large allocation unit tends to waste space as even a small file, a byte <strong>of</strong> file <strong>for</strong><br />
instance, will consume a single unit. However, the larger its size, the faster time<br />
required to access each block as there is few blocks to proceed.<br />
On the other side, having a small allocation unit means that a file will have many<br />
blocks. Reading <strong>and</strong> writing operations quite slow as accessing each block requires a<br />
processing time. Especially <strong>for</strong> writing operation, as there is a high overhead to<br />
allocate blocks be<strong>for</strong>e writing data to the blocks.<br />
The size <strong>of</strong> inode also has influence to the per<strong>for</strong>mance <strong>of</strong> read <strong>and</strong> write operations.<br />
As discussed on section 2.1 , <strong>Gannet</strong>FS file system is configurable. If the size <strong>of</strong> inode<br />
is increased, the size <strong>of</strong> array <strong>of</strong> direct block on inode also increases. Hence, inode<br />
can maintain more direct data blocks. This condition decreases the overhead which<br />
resulted by indirect block.<br />
53