Re: ChunkFS - measuring cross-chunk references
From: Karuna sagar K
Date: Sat May 19 2007 - 18:49:24 EST
On 4/25/07, Suparna Bhattacharya <suparna@xxxxxxxxxx> wrote:
On Wed, Apr 25, 2007 at 05:50:55AM +0530, Karuna sagar K wrote:
One more set of numbers to calculate would be an estimate of cross-references
across chunks of block groups -- 1 (=128MB), 2 (=256MB), 4 (=512MB), 8(=1GB)
as suggested by Kalpak.
Here is the tool to make such calculations.
Result of running the tool on / partition of ext3 file system (each
chunk is 4 times a block group):
./cref.sh /dev/hda1 dmp /mnt/test 4
-------------------------------------------------------
Number of files = 221763
Number of directories = 24456
Total size = 8193116 KB
Total data stored = 7179200 KB
Size of block groups = 131072 KB
Number of inodes per block group = 16288
Chunk size = 524288 KB
No. of cross references between directories and sub-directories = 869
No. of cross references between directories and file = 584
Total no. of cross references = 13806 (dir ref = 1453, file ref = 12353)
-------------------------------------------------------
Once we have that, it would be nice if we can get data on results with
the tool from other people, especially with larger filesystem sizes.
Thanks,
Karuna
Attachment:
cref.tar.bz2
Description: BZip2 compressed data