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

Re: Device detection?



Rob Browning writes:
> Try using binary search.

Clever.

> This is a nice approach because it makes things quite fast when there are
> no problems, and guarantees no more than log_2(n) reboots per bad device,
> where N is the initial number of tests between checkpoints.

But it guarantees at least two reboots per bad devices, which users will
find baffling and irritating no matter how much you explain it.

> Presuming that most people won't have lockups, the overall inconvenience
> might be less this way, particularly if it dramatically cuts the time to
> run successful tests.

I'm not sure I see why checkpointing every test should be particularly
slow.
-- 
John Hasler
john@dhh.gt.org (John Hasler)
Dancing Horse Hill
Elmwood, WI


Reply to: