Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use block group tree for btrfs volumes on HDDs larger than 2TB #2455

Open
C0rn3j opened this issue Apr 12, 2024 · 0 comments
Open

Use block group tree for btrfs volumes on HDDs larger than 2TB #2455

C0rn3j opened this issue Apr 12, 2024 · 0 comments

Comments

@C0rn3j
Copy link
Contributor

C0rn3j commented Apr 12, 2024

Enable a dedicated b-tree for block group items, this greatly reduces mount time for large filesystems due to better data locality that avoids seeking. On rotational devices the large size is considered starting from the 2-4TiB. Can be used on other types of devices (SSD, NVMe, …) as well.

With Linux 6.1(2022-12), btrfs gained a block-group-tree feature, which greatly reduces mount times on large HDDs.
It shrinked my mount times from 30s+ to less than a second.

I would consider asking users creating btrfs volumes on HDDs larger than 2TB if they want to enable this, or just outright do it for them because the difference is that large.

I presume btrfs will enable this by default at some point in the future, but until then it would be nice if archinstall took care of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant