Poor SMB write speeds

@lexxa Thanks for the update and glad you got it sorted.

Running balances can affect performance but that is definitely more the case once there are more snapshots, however upstream btrfs has made some major improvements in that area so we should get them in time. Plus we have some inefficiencies that have been mostly removed in a pending pull request that should improve our end responsiveness wise (due in 3.9.2-49), but only really a problem when slow downs are in effect.

You might want to keep in mind that when Rockstor convert balances it is rather opinionated with it’s data / metadata levels. I.e. we enforce set metadata raid levels according to the data raid levels. It helps with keeping things flexible and avoiding complicated corner cases such as raid1 metadata not allowing a ‘single’ data level to reduce below 2 disks: where as the expectation in that case is that if the pool is single it can be shrunk to a single drive. Just a though as if you specifically wanted raid1 metadata on multi disk data single pool you may want to appreciate that it might not, after a balance, be the same metadata raid level.

The associated code is:

which is called by:

There are plans to surface in the Web-UI the metadata raid level also and hopefully, in time, also allow specifying the metadata raid level independently. This would be nice for such things as raid6 data and raid1 metadata (once the parity raids are better anyway), but currently we hard wire metadata levels according to data levels.

Hope that doesn’t spoil your plans, it’s just with so much flexibility in btrfs itself we have to simplify / abridge some what. At least in this stage of our development.

You may also be interested in a recent posting re the current status of our update channels: see the Intro section of:

Hope that helps.

1 Like