From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b75,ee0a9566a4262cc7 X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,1f3c2a608dce465a X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-03-31 18:31:04 PST Xref: sparky comp.arch:4629 comp.sys.dec:2354 Newsgroups: comp.arch,comp.sys.dec Path: sparky!uunet!decwrl!pa.dec.com!e2big.mko.dec.com!cvg.enet.dec.com!pettengill From: pettengill@cvg.enet.dec.com () Subject: Re: Use of "crashme" Message-ID: <1992Apr1.023104.23047@e2big.mko.dec.com> Sender: guest@e2big.mko.dec.com (Guest (DECnet)) Reply-To: pettengill@cvg.enet.dec.com () Organization: Digital Equipment Corporation References: <28953@skye.dcs.ed.ac.uk> <1992Mar18.033221.15285@hfrd.dsto.oz.au> <30532@skye.dcs.ed.ac.uk> Date: Wed, 1 Apr 92 02:31:04 GMT In article <30532@skye.dcs.ed.ac.uk>, dhd@dcs.ed.ac.uk (Damon Hart-Davis) writes: |>This is not a flame, but just HOW do you systematically test for |>spurious |>errors. |>Better to try to avoid them with formal h/w & s/w design. |> |>Damon |> I think that everyone who has thought about testing would agree with you, but over and over, monte carlo test methodology of the crudest kind, ie., crashme, have turned up significant bugs within hours if not minutes. I've got two good examples from my experience: 1. execute a quasi-random set of instructions on two implementations of the same architecture and compare the results. In the case of AXE, the tool for doing this for the VAX, a problem was found within a very short time in its very first run years and years ago. 2. copy a file, compare it to the original, delete the copy, and repeat. This trivial test proves to be very effective in finding problems in systems when there are many copies running concurrently; a good rule of thumb is that you should run enough so that the system isn't usable, but not so many that you can't stop the test. We actually had a group of people who researched formal methods by working with an existing architecture and implementations, and they did find problems. But in the same amount of time and with the same resources, the above two tests found many times as many problems in both architecture and implementation. mulp DEC