Tool to calc. 4k / 16k utilization / overhead

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

When having a non-btrfs fs and want to migrate to btrfs, it is hard to
know which sector size to choose in terms of disk utilization and
speed.

So I would like to make a script that scans the non-btrfs fs's
directory structure to find all file sizes and calculate how much
space these would take on btrfs 4k and 16k sector size.

Can anyone help me with a formulae to calculate this for a file?

It doesn't have to be exact, just enough to make a decision between 4k and 16k.

Best regards,
Sandra
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux