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

Configuration for mbuffer buffer size #29

Open
ShaRose opened this issue May 11, 2019 · 1 comment
Open

Configuration for mbuffer buffer size #29

ShaRose opened this issue May 11, 2019 · 1 comment

Comments

@ShaRose
Copy link

ShaRose commented May 11, 2019

Can you add an option to configure the mbuffer size? At the moment it's hard-coded to 512M, which is fine in most cases, but I was using zfs on a VPS with a gig of ram (for the snapshotting and easy backup) and 512M might not always be available. On the other side of the spectrum, you might want to increase the buffer size.

Similarly, it might be a good idea to add a configuration option for the block size since both are effectively used in exactly the same spot.

@yboetz
Copy link
Owner

yboetz commented May 12, 2019

I will reduce the mbuffer size in the future anyway, as 512MB is almost never used, I think I will use something like 128MB. That is something any system using ZFS should be able to handle, as ZFS itself needs quite a bit of RAM already :). Adding more config options just adds code and makes it more complicated, so I hesitate about implementing something which almost noone will notice/use.

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

2 participants