All of lore.kernel.org
 help / color / mirror / Atom feed
* Markov models for Ceph
@ 2014-07-07 15:19 Koleos Fuscus
  2014-07-07 17:16 ` Loic Dachary
  0 siblings, 1 reply; 2+ messages in thread
From: Koleos Fuscus @ 2014-07-07 15:19 UTC (permalink / raw)
  To: Loic Dachary; +Cc: Kyle Bader, ceph-devel@vger.kernel.org, Sage Weil

Hello Loic,

You ask previously:
In other words, is there a place where one could set things like "disk
fail % of the time" and "network is X Gb/s" and "repairing a disk
failure requires disk require reading B bytes from M disks" ? As far
as I understand, such factors cannot be expressed with a single
formula and this is why a Markov model is useful.

I think we need to run simulations to have a more precise estimation
of the reliability of an erasure coded system. Markov models are not
as flexible as you may think. Besides, solving equations when the
number of components that may fail is large makes the problem not
trivial. Maybe standard simulation is enough. As observed by Greenan
in his thesis, standard simulations have problems with rare events
which may not be observed during simulation time. I don't know if we
should care about rare events for comparing methods..

Greenan released the software used for his thesis. It is completely
developed in Python.
http://www.kaymgee.com/Kevin_Greenan/Software.html

I found Greenan tool while trying to validate the results of ceph-tool
and the numbers are completely different:

For instance:

Parameters for ceph tool:
Disk type consumer, FIT1=2167, FIT2=2167
Size: 2000GiB
RAID-6
Replace 0h
Rebuild 6000MiB/s
Volumes:8
NRE model: ignore
Period: 10 years

(I used this numbers to compared with model 2DFT.disk.model of Greenan tool)

Parameters for  Greenan HFRS tool
python mm_solve.py -m 2DFT.disk.model -M

Results

CEPH:

    storage               durability    PL(site)  PL(copies)
PL(NRE)     PL(rep)    loss/PiB

    ----------            ----------  ----------  ----------
----------  ----------  ----------

    RAID-6: 6+2             11-nines   0.000e+00   1.318e-12
0.000e+00   0.000e+00   9.887e+02


HRFS:

Analytic MTTDL:  4.06111903031e+12
*********************
Analytic prob. of failure: 2.15660e-08
*********************

Could you check if the parameters for ceph are correct and equivalent
to HRFS model?Do you think it has sense to include Greenan tool.
Greenan has a number of models including nonMDS codes. I am not sure
yet how we can describe the LRC code in this platform but it might be
possible.

koleosfuscus

________________________________________________________________
"My reply is: the software has no known bugs, therefore it has not
been updated."
Wietse Venema

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-07 17:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-07 15:19 Markov models for Ceph Koleos Fuscus
2014-07-07 17:16 ` Loic Dachary

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.