Remix.run Logo
LeFantome a day ago

Whenever Phoronix runs benchmarks, bcachefs does very poorly. It often gets attributed to the small 512 bytes instead of 4096 other file systems use.

Why is 512 the default and, if 4096 is better, why is this not the default instead?

koverstreet a day ago | parent [-]

The default should be the device's native blocksize, and some devices misreport. You also lose performance if you use a larger blocksize than necessary.

If we can, I'd like to get a quirks list in place, but there have been higher priorities.

ajb 12 hours ago | parent [-]

Do each of the other filesystems have their own quirks list? That seems suboptimal. Oh, I guess it's because it's in the user space mkfs tool of each, not the kernel.

koverstreet 12 hours ago | parent [-]

ZFS is the only filesystem I know of with one, and theirs is pretty incomplete. It does need to be a shared project.