On Wed, 25 May 2011, Fyodor Ustinov wrote:
> Hi!
> 
> Again few questions.
> 
> 1. What is the difference between "uniform | list | tree | straw" bucket type?

There is a full discussion in the CRUSH paper linked from the publications 
tab on the web site.  Basically, use uniform if the bucket has fixed size 
and equally weighted items.  The rest of the time you're probably best off 
with straw.

> 2. Replication chunk can not be placed on different devices on the same host
> and on different hosts on the same rack? Or only rack? Or only host?
>
> 3. What isthe difference between host and rack except nesting levels?

It depends on how you structure your crush map and rules.  You can name 
the bucket types whatever you want and make the placement rule separate 
replicas across whatever level of the hierarchy you want.  Grouping by 
host and then rack probably makes the most sense for most installations.  
Then separate across either hosts or racks (depending on how big the 
cluster is).  

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to