Re: Using straw2 crush also with Hammer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/09/2015 05:27 PM, Vickey Singh wrote:
> Hello Ceph Geeks
> 
> Need your comments with my understanding on straw2.
> 
>    - Is Straw2 better than straw ?

It is not persé better then straw(1).

straw2 distributes data better when not all OSDs are equally sized/weighted.

>    - Is it straw2 recommended  for production usage ?
> 

I'm using it in multiple clusters and it works fine.

> I have a production Ceph Firefly cluster , that i am going to upgrade to
> Ceph hammer pretty soon. Should i use straw2 for all my ceph pools ?
> 

I would upgrade to Hammer first and make sure that ALL clients are updated.

In case you are using KVM/Qemu, you will have to stop those processes
first and start them again before they are using the new code.

> Also how can i change from straw to straw2. ( should i decompile crush map
> and replace all straw with straw2) ?
> 

Yes, that's it. Extract, decompile, replace, compile, inject.

$ ceph osd getcrushmap -o crushmap
$ crushtool -d crushmap -o crushmap.txt
$ <edit crushmap.txt>
$ crushtool -c crushmap.txt -o crushmap.new
$ ceph osd setcrushmap -i crushmap.new

In case stuff goes wrong, inject the original crushmap.

Wido

> Please suggest
> 
> Thank You in advance.
> 
> - Vickey -
> 
> 
> 
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 


-- 
Wido den Hollander
42on B.V.
Ceph trainer and consultant

Phone: +31 (0)20 700 9902
Skype: contact42on
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux