News for hackers. Stuff that matters.
Re:BetrFS: An in-kernel file system that uses Bε trees to or... by loeg on Saturday October 13, 2018 @05:59PM (#18210233)
This isn't completely fair, although most of it is.

Some of the reasons for modifying Linux are performance enhancements to the filesystem layer that only make sense with a Bε-tree filesystem (and are not possible without patching Linux). They cover this in the hour-long talk at MS research linked elsewhere in this thread.[1] (Yes, it's long, but it's a pretty good presentation.)

E.g., they describe modifying the page cache to write-through small modifications to file data, rather than dirtying the entire page and writing it back later (a form of write amplification).

[1]: https://www.youtube.com/watch?v=fBt5NuNsoII

Re:BetrFS: An in-kernel file system that uses Bε trees to or... by wtallis on Saturday October 13, 2018 @06:34PM (#18210383)
> E.g., they describe modifying the page cache to write-through small modifications to file data, rather than dirtying the entire page and writing it back later (a form of write amplification).

Considering that all the storage on the market now has sectors at least as large as a 4k page, this isn't actually reducing write amplification. At most, in some cases it might save a tiny bit of bus traffic.

Re:BetrFS: An in-kernel file system that uses Bε trees to or... by loeg on Sunday October 14, 2018 @12:54AM (#18211436)
They batch small edits into a log. Many edits to one sector written.