Replies: 1 comment 3 replies
-
We have a facility for scrutinizing combinations of blockdevs at pool creation, cache initialization, and block device addition. At this time, we only check for compatible sector sizes of individual block devices and we make these checks to prevent actual failure of the pool, rather than to enforce consistency of performance on the pool. We would not be averse to expanding this facility in the way you suggest. But to enforce what would be a policy we need to know the user's intent. We could, for example, rather than discovering the characteristics of a pool, ask the user to specify their intent, and make sure that the pool is constructed with devices that match that intent. Another angle is the questions of the cache. It would be foolish for a user to use, for their cache, devices that would prove slower than those in their data tier. At present, we do not enforce any restriction on the devices in the cache tier vis-a-vis the data tier, but that might be the most obvious place to start, when considering policy. |
Beta Was this translation helpful? Give feedback.
-
In the hope to bring a good user experience, I'm wondering if Stratis should refuse to create a pool with mixed-type devices. For instance a pool with HDD and SSD. It's probably best to have an SSD pool and an HDD pool instead of mixing both. Performance is the main driver for this request, it would be strange to have a pool with sporadic performance depending on which blockdev the fs ends up being created. One thing that we could benefit from is adding a 'type' or a 'class' to a pool to identify its performance characteristics or guess at a glance.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions