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

FAQ: snapper limits eg max number of subvols / configs supported #961

Open
danboid opened this issue Nov 22, 2024 · 1 comment
Open

FAQ: snapper limits eg max number of subvols / configs supported #961

danboid opened this issue Nov 22, 2024 · 1 comment
Labels

Comments

@danboid
Copy link

danboid commented Nov 22, 2024

I have already checked the snapper FAQ ( http://snapper.io/faq.html ) but it doesn't answer my question which is what is the max number of subvolumes that snapper is known to be able to handle?

I run a web server (ubuntu 22.04, 64 GB RAM, 16 xeon cores) that could have up to 1000 users each with their own btrfs subvol. If I configure snapper to allow up about 10 snapshots per subvolume, do you think snapper is going to be able to handle creating snapshots for 800 to ~1000 subvols/users?

What is the largest number off subvolumes / snapper configs per disk or system that snapper has been tested and is known to work with? Are there any snapper or btrfs mount options that I should use if attempting to use snapper with such a large number of subvols?

Thanks

@danboid danboid changed the title FAQ: snapper limits eg max number of subvols supported FAQ: snapper limits eg max number of subvols / configs supported Nov 22, 2024
@aschnell
Copy link
Member

I did a test and created 1000 snapper configs each with 10 snapshots. snapper itself can handle that, e.g. listing all snapshots (snapper list --all) takes 25s and creating a snapshot for all configs (snapper-timeline.service) takes 40s. That itself looks good. The btrfs is on a NVMe, quota is off.

But the filesystem and all snapshots are almost empty. So the next question is whether btrfs can handle this when the filesystem is filled. I cannot answer that and will have to ask btrfs maintainers. Can you give more information about the setup, e.g. NMVe, SSD or HDD and size?

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

No branches or pull requests

2 participants