python-crush to experiment with crush

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

 



Hi,

While researching the crush multipick anomaly[1], Pedro López-Adeva Fernández-Layos came up with a problem statement and a python implementation[2]. It is work in progress and it seemed useful to have a python module implementing crush to help with experimentations. The python-crush[3] module was written for that purpose last week and published on PyPI. It proposes an API with two functions (parse the crushmap & map an object). The crushmap is a python object and is fully documented[4].

Although python-crush is usable as it is, noone should depend on it right now because two important aspects need to be discussed:

  - should the API be different ?
  - is the crushmap format ok ?

In other words, the current python-crush module is a basis for discussion and there is a good chance both the API and the crushmap are completely different in a few weeks.

Cheers

[1] crush multipick anomaly http://marc.info/?l=ceph-devel&m=148539995928656&w=2
[2] https://github.com/plafl/notebooks/blob/master/converted/replication.pdf
[3] python-crush http://crush.readthedocs.io/
[4] crushmap documentation http://crush.readthedocs.io/en/latest/api.html#crush.Crush.parse

-- 
Loïc Dachary, Artisan Logiciel Libre
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux