Phoronix: Btrfs Gets New Features In Linux 3.7
Chris Mason sent in a large Btrfs file-system pull request for the Linux 3.7 kernel...
http://www.phoronix.com/vr.php?view=MTIwMzI
Phoronix: Btrfs Gets New Features In Linux 3.7
Chris Mason sent in a large Btrfs file-system pull request for the Linux 3.7 kernel...
http://www.phoronix.com/vr.php?view=MTIwMzI
I'm guessing that hole punching leads to better compression, faster file copying and improve performance on ssd with trim support?
Hi Michael,
the see subject.
Thanks,
Martin
I wonder if the fsync patch will help with VM performance. Honestly the only things keeping me from using Btrfs as my main FS are 2 things:
1) I really don't understand how defragmentation works with Btrfs, with EXT4 I just forget about it, but I know that with Btrfs, because of COW, defragging will be important. And running the defrag command on the root directory will only defrag metadata not the contents (source: https://btrfs.wiki.kernel.org/index....doesn.27t_work) and running:
seems really excessiveCode:find -xdev -type f -exec btrfs fi defrag '{}' \;
2) I do run VM's sometimes and from what I've heard and seen...Btrfs TANKS with VM's cuz its a lot of small writes.
Hole punching is a (very simple) compression method; it marks certain parts of a file as "unused", so that the filesystem knows that those parts don't have to be stored.
It represents the location of a file on the physical somewhat like this:
- part 1 of the file: list of used disk sectors
- part 2 of the file: marked as unused (this is the "hole" punched into the file)
- part 3 of the file: list of used disk sectors
I'm not sure if file copying will be faster when using it (and it might depend on the software doing the copy supporting it), but theoretically it could be faster, especially if both source & destination filesystem support it.
Since you're in for a big FS test which does even include Reiser4, please don't forget ZoL (ZFS on Linux).
Any voices from users to the real performance and functionality gains? Expectations are only sorts of wrap...