* disk failure prediction @ 2015-02-18 23:20 Sage Weil 2015-02-19 8:56 ` [ceph-calamari] " John Spray 0 siblings, 1 reply; 4+ messages in thread From: Sage Weil @ 2015-02-18 23:20 UTC (permalink / raw) To: ceph-devel, ceph-calamari Interesting paper at FAST: https://www.usenix.org/system/files/conference/fast15/fast15-paper-ma.pdf Short version: reallocated sectors correllates with impending disk failures (this sounds like what Sandon has been telling us for ages) and by preemptively replacing disks with impending failures reduced EMC's rate of triple-failures by 80%, and looking at the joint failure probability within each raid set reduces the failure rate by 98%. We wouldn't see quite the same results since our "raid sets" are effectively entire pools, but this seems like a strong case for adding smart monitoring to the osds or to calamari already and doing some preemptive disk replacement. sage ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ceph-calamari] disk failure prediction 2015-02-18 23:20 disk failure prediction Sage Weil @ 2015-02-19 8:56 ` John Spray 2015-02-19 14:58 ` Sage Weil 0 siblings, 1 reply; 4+ messages in thread From: John Spray @ 2015-02-19 8:56 UTC (permalink / raw) To: Sage Weil, ceph-devel, ceph-calamari On 18/02/2015 23:20, Sage Weil wrote: > We wouldn't see > quite the same results since our "raid sets" are effectively entire pools I think we could do better than pool-wide, e.g. if multiple drives in one chassis are at risk (where PG stores at most one copy per chassis), we can identify that as less severe than the general case where multiple at-risk drives might be in the same PG. Making it CRUSH-aware like this would be a good hook for users to take advantage of the ceph/calamari SMART monitoring rather than rolling their own. John ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ceph-calamari] disk failure prediction 2015-02-19 8:56 ` [ceph-calamari] " John Spray @ 2015-02-19 14:58 ` Sage Weil 2015-02-19 15:59 ` Gregory Meno 0 siblings, 1 reply; 4+ messages in thread From: Sage Weil @ 2015-02-19 14:58 UTC (permalink / raw) To: John Spray; +Cc: ceph-devel, ceph-calamari On Thu, 19 Feb 2015, John Spray wrote: > > On 18/02/2015 23:20, Sage Weil wrote: > > We wouldn't see > > quite the same results since our "raid sets" are effectively entire pools > > I think we could do better than pool-wide, e.g. if multiple drives in one > chassis are at risk (where PG stores at most one copy per chassis), we can > identify that as less severe than the general case where multiple at-risk > drives might be in the same PG. Making it CRUSH-aware like this would be a > good hook for users to take advantage of the ceph/calamari SMART monitoring > rather than rolling their own. Yeah, sounds good. The big question in my mind is whether we should try to pull this into the osd/mon or have calamari do it. It seems like a good fit for calamari... BTW, a bit more color on the original paper (after talking to Paul): the EMC workload in the paper was backup/archival with heavy heavy write, and any time there was a read failure it triggered a rewrite and triggered a relocated sector. Other studies have shown some pretty different results. For example, one showed that the best preditor was actually not SMART at all but (carefully measured) read latency. In any case, it seems like the bits that are gathering and aggregating SMART should be general, and we should make it easy to plug in various policies (or delegate to an external agent) for responding to that data. sage ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ceph-calamari] disk failure prediction 2015-02-19 14:58 ` Sage Weil @ 2015-02-19 15:59 ` Gregory Meno 0 siblings, 0 replies; 4+ messages in thread From: Gregory Meno @ 2015-02-19 15:59 UTC (permalink / raw) To: Sage Weil; +Cc: John Spray, ceph-calamari, ceph-devel ----- Original Message ----- > From: "Sage Weil" <sweil@redhat.com> > To: "John Spray" <john.spray@redhat.com> > Cc: ceph-calamari@ceph.com, ceph-devel@vger.kernel.org > Sent: Thursday, February 19, 2015 9:58:21 AM > Subject: Re: [ceph-calamari] disk failure prediction > > On Thu, 19 Feb 2015, John Spray wrote: > > > > On 18/02/2015 23:20, Sage Weil wrote: > > > We wouldn't see > > > quite the same results since our "raid sets" are effectively entire pools > > > > I think we could do better than pool-wide, e.g. if multiple drives in one > > chassis are at risk (where PG stores at most one copy per chassis), we can > > identify that as less severe than the general case where multiple at-risk > > drives might be in the same PG. Making it CRUSH-aware like this would be a > > good hook for users to take advantage of the ceph/calamari SMART monitoring > > rather than rolling their own. > > Yeah, sounds good. The big question in my mind is whether we should try > to pull this into the osd/mon or have calamari do it. It seems like a > good fit for calamari... I agree that calamari is a good place for this. We have the ability to target nodes by capability and the ability to distribute modules/install packages to run checks. What is missing in my opinion is a service that aggregate the data and easy routing to the api. Also we should be able to connect more dots for the consumer of this data now that calamari is beginning to understand CRUSH and how it maps to the physical entities that make up a cluster. > > BTW, a bit more color on the original paper (after talking to Paul): the > EMC workload in the paper was backup/archival with heavy heavy write, and > any time there was a read failure it triggered a rewrite and triggered a > relocated sector. Other studies have shown some pretty different results. > For example, one showed that the best preditor was actually not SMART at > all but (carefully measured) read latency. > > In any case, it seems like the bits that are gathering and aggregating > SMART should be general, and we should make it easy to plug in various > policies (or delegate to an external agent) for responding to that data. Allowing an easy way to add specific checks and alerting in calamari would be easier to manage than making it part of ceph. We had discussed a plugin system for calamari in the past. it may be easier to just document how to do it with a good example and then iterate to make it easier. I want to focus on more data gathering and alerting in calamari in general going forward. -Gregory ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-02-19 15:59 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-02-18 23:20 disk failure prediction Sage Weil 2015-02-19 8:56 ` [ceph-calamari] " John Spray 2015-02-19 14:58 ` Sage Weil 2015-02-19 15:59 ` Gregory Meno
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox