From owner-freebsd-arch@FreeBSD.ORG Sun Jan 18 22:05:35 2009 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6531106566B; Sun, 18 Jan 2009 22:05:35 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from dhcp-172-28-76-187.eur.corp.google.com (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 648D28FC21; Sun, 18 Jan 2009 22:05:34 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <4973A7AD.8050106@FreeBSD.org> Date: Sun, 18 Jan 2009 22:05:33 +0000 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Alfred Perlstein References: <20090118082145.GA18067@x2.osted.lan> <86iqocstjm.fsf@ds4.des.no> <49733419.5000407@FreeBSD.org> <20090118203134.GF60686@elvis.mu.org> In-Reply-To: <20090118203134.GF60686@elvis.mu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Dag-Erling Sm??rgrav , freebsd-arch@freebsd.org Subject: Re: stress2 is now in projects X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2009 22:05:36 -0000 Alfred Perlstein wrote: > * Kris Kennaway [090118 05:52] wrote: >> Dag-Erling Sm??rgrav wrote: >>> Peter Holm writes: >>>> The key functionality of this test suite is that it runs a random >>>> number of test programs for a random period, in random incarnations >>>> and in random sequence. >>> In other words, it's non-deterministic and non-reproducable. >>> >>> You should at the very least allow the user to specify the random seed. >>> >>> DES >> I doubt this will help at all since the test suite is (by design) >> massively parallel, so you're at the mercy of small timing changes. > > If the start and stop times of the scripts were recorded one could > synch with the original potentially between runs, at least on the > same hardware it ran. > > Basically, replay the suite based on time instead of random. > > -Alfred > > Since the goal of the stress test is effectively to exploit race conditions, I'm still skeptical there is a way to make that happen deterministically. Anyway as Kostik says, problems discovered by stress2 do tend to be reproducible given suitable runtime. Kris