Deterministic thrashing
Hi Ceph,
It would be nice to have a way to replay the random events injected by stanzas such as
- thrashosds:
chance_pgnum_grow: 2
chance_pgpnum_fix: 1
When a teuthology workload (such as tracker.ceph.com/issues/7914#note-34) crashes once a week and the error is not obvious, it would increase the probability to reproduce the crash. Instead of the "trashosds" we could have something like "recorded-trashosds: trashosd.events" and instead of being random they would happen more deterministically (same number of events and same number of seconds between events ?).
I realize this is non trivial to implement but maybe someone already thought about that and has a better idea ?
Cheers
Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre
This would be really nice but there are unfortunately even more hiccups than you've noted here:
1) Thrashing is both time and disk access sensitive, and hardware differs
2) The teuthology thrashing is triggered largely based on PG state events (eg, "all PGs are clean, so restart an OSD")
3) The actual failures tend to involve a combination of PG state and inbound client operations, and I can't think of any realistic way to coordinate those.
Those problems look technically insurmountable to me, but maybe I'm missing something?
-Greg
Software Engineer #42 @ http://inktank.com | http://ceph.com
Quoted 8 lines · Loic Dachary
Hi Ceph,
It would be nice to have a way to replay the random events injected by stanzas such as
- thrashosds:
chance_pgnum_grow: 2
chance_pgpnum_fix: 1
Quoted 9 lines
When a teuthology workload (such as tracker.ceph.com/issues/7914#note-34) crashes once a week and the error is not obvious, it would increase the probability to reproduce the crash. Instead of the "trashosds" we could have something like "recorded-trashosds: trashosd.events" and instead of being random they would happen more deterministically (same number of events and same number of seconds between events ?).
I realize this is non trivial to implement but maybe someone already thought about that and has a better idea ?
Cheers
--
Loïc Dachary, Artisan Logiciel Libre
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 11 lines · Gregory Farnum
This would be really nice but there are unfortunately even more hiccups than you've noted here:
1) Thrashing is both time and disk access sensitive, and hardware differs
2) The teuthology thrashing is triggered largely based on PG state events (eg, "all PGs are clean, so restart an OSD")
3) The actual failures tend to involve a combination of PG state and inbound client operations, and I can't think of any realistic way to coordinate those.Those problems look technically insurmountable to me, but maybe I'm missing something?
There is no easy way to use the logs / events to significantly reduce the randomness of the workload ? I honestly have no clue ;-)
Cheers
Quoted 22 lines
-Greg
Software Engineer #42 @ http://inktank.com | http://ceph.comQuoted 17 lines · Loic Dachary
Hi Ceph,
It would be nice to have a way to replay the random events injected by stanzas such as
- thrashosds:
chance_pgnum_grow: 2
chance_pgpnum_fix: 1When a teuthology workload (such as tracker.ceph.com/issues/7914#note-34) crashes once a week and the error is not obvious, it would increase the probability to reproduce the crash. Instead of the "trashosds" we could have something like "recorded-trashosds: trashosd.events" and instead of being random they would happen more deterministically (same number of events and same number of seconds between events ?).
I realize this is non trivial to implement but maybe someone already thought about that and has a better idea ?
Cheers
--
Loïc Dachary, Artisan Logiciel Libre
Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre
Quoted 12 lines · Loic Dachary
Quoted 9 lines · Gregory Farnum
This would be really nice but there are unfortunately even more hiccups than you've noted here:
1) Thrashing is both time and disk access sensitive, and hardware differs
2) The teuthology thrashing is triggered largely based on PG state events (eg, "all PGs are clean, so restart an OSD")
3) The actual failures tend to involve a combination of PG state and inbound client operations, and I can't think of any realistic way to coordinate those.
Quoted 4 lines
Quoted 2 lines
Those problems look technically insurmountable to me, but maybe I'm missing something?
There is no easy way to use the logs / events to significantly reduce the randomness of the workload ? I honestly have no clue ;-)
I don't think so, no. :( We'd have to somehow order every event in the system while not losing any of the system race conditions that were previously triggered!
-Greg
Software Engineer #42 @ http://inktank.com | http://ceph.com