On 11/25/16 6:18 AM, Carlos Maiolino wrote:
> > Regarding thing-provisioning, there are a couple things that you should keep in
> > mind.
> >
> > - AGs segment the metadata across a whole disk, and increase parallelism in the
> > filesystem, but, thin-provisioning will make such allocations sequential,
> > despite where in the block device the filesystem tries to write, this is the
> > nature of thin-provisioning devices so, I believe you should be more careful
> > planning your DM-thin structure than the filesystem itself.
>
> So it sounds like I should used striping for my logical volume to assure
> that data is distributed across the whole physical array?
I'm not sure if I understand you question here, what kind of architecture you
have in your mind. All thin-provisioning allocation are sequential, block
requested, next block available served (although with the recent dm-thin versions
it will serve blocks in bundles, not on a block-by-block granularity anymore,
but it is still a sequential alignment.
I am really not sure what you have in mind to 'force' the distribution across
the whole physical array. The only thing I could think was to have 2 dm-thin
devices, on different pools, and use them to build a stripped LVM. I don't know
if it is possible tbh, I never tried such configuration, but it's a setup bound
to have problems IMHO.
Currently I have 4 LVM PVs that are mapped to explicit groups of
physical disks (RAID 5) in my array. I would either stripe or
concatenate them together and create a single large DM-Thin LV and
format it for XFS.
If the PVs are concatenated it sounds like DM-Thin would fill up the
first PV before moving to the next. It seems that DM-Thin on striped
PVs would assure that disk activity is spread across all of the PVs and
thus across all of the physical disks. Without DM-Thin, an XFS on
concatenated PVs would probably tend to organize an AGs into single PVs
which would spread disk activity across all of the physical disks, just
in a different way.
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html