...
Derive mem_size and data_size components using percentage of available ramdisk and SSD capacity. The rationale for deriving space usage from ramdisk usage is that this is most likely to be the limiting factor as opposed to SSD usage.
Calculate mem_size as percentage of ramdisk/tmpfs free capacity.
Calculate meta_size as
mem_size/mem-ratio
.When calculating data_size in pool…pool taken from bdev scan where adjustments have already been made…
Subtract meta_size from free blobstore space if an SSD shares META+DATA roles
Subtract WAL sizefrom free blobstore space if an SSD shares WAL+DATA roles
Adjustments updated to take account of mem-ratio
Adjustments updated to take account of target striping across bdev tier
Take percentage of remainder
Summary of behaviour after changes:
...