* CRUSH again
@ 2011-05-25 12:17 Fyodor Ustinov
2011-05-25 16:03 ` Sage Weil
0 siblings, 1 reply; 2+ messages in thread
From: Fyodor Ustinov @ 2011-05-25 12:17 UTC (permalink / raw)
To: ceph-devel
Hi!
Again few questions.
1. What is the difference between "uniform | list | tree | straw" bucket
type?
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?
WBR,
Fyodor.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: CRUSH again
2011-05-25 12:17 CRUSH again Fyodor Ustinov
@ 2011-05-25 16:03 ` Sage Weil
0 siblings, 0 replies; 2+ messages in thread
From: Sage Weil @ 2011-05-25 16:03 UTC (permalink / raw)
To: Fyodor Ustinov; +Cc: ceph-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-25 16:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-25 12:17 CRUSH again Fyodor Ustinov
2011-05-25 16:03 ` Sage Weil
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.