[Gluster-users] New architecture: some advice needed

Gandalf Corvotempesta gandalf.corvotempesta at gmail.com
Tue Dec 23 10:08:01 UTC 2014

2014-12-22 13:56 GMT+01:00 Jeff Darcy <jdarcy at redhat.com>:
> The key tradeoffs here are storage utilization vs. performance.  In
> general, erasure codes (disperse) will give better storage utilization
> than replication for the same level of performance.  However, this might
> not be the case for N=3.  With replication, that will protect against
> two failures.  However, from the admin guide section on disperse:
> "redundancy_ must be greater than 0, and the total number of bricks must
> be greater than 2 * _redundancy_"
> I interpret this to mean that for two-failure protection you would need
> at least five bricks.  With three bricks disperse can only offer
> one-failure protection.  In this case it's roughly equivalent to RAID-5,
> with only a 50% storage penalty vs. 100% for replica 2 offering the same
> protection.
> The other issue is performance.  With disperse, all writes *and reads*
> must be done to all bricks, and at a stripe size equal to 512 times the
> number of bricks (minus those used for redundancy).  This means more
> data transfer, especially for reads, and also more write contention than
> with replication.  This being new code, some optimizations that already
> exist for replication do not yet exist for disperse even though they're
> applicable.

Thank you for the response.
So, if I understood properly, disperse is space-optimized but has a
performance penalty compared
to a standard 'replication'

What I would like is to get a RAID-6 equivalent, so, replica 2 should
be used to get
performance and redudancy, right ?

More over, with replication, in case of issue, I can always read raw
files from disks, this
would not be possible in case of disperse, where each file is splitted
in multiple chuncks, right?

Any hardware suggestions for my environment ?

More information about the Gluster-users mailing list