From owner-svn-src-projects@FreeBSD.ORG Tue Jan 20 19:06:10 2009 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFF171065680; Tue, 20 Jan 2009 19:06:10 +0000 (UTC) (envelope-from pho@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id AF8468FC0A; Tue, 20 Jan 2009 19:06:10 +0000 (UTC) (envelope-from pho@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n0KJ6AkJ053926; Tue, 20 Jan 2009 19:06:10 GMT (envelope-from pho@svn.freebsd.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n0KJ6AIH053925; Tue, 20 Jan 2009 19:06:10 GMT (envelope-from pho@svn.freebsd.org) Message-Id: <200901201906.n0KJ6AIH053925@svn.freebsd.org> From: Peter Holm Date: Tue, 20 Jan 2009 19:06:10 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r187479 - projects/stress2 X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2009 19:06:11 -0000 Author: pho Date: Tue Jan 20 19:06:10 2009 New Revision: 187479 URL: http://svn.freebsd.org/changeset/base/187479 Log: Added comment about the non-deterministic feature of the test. Approved by: kib Modified: projects/stress2/README Modified: projects/stress2/README ============================================================================== --- projects/stress2/README Tue Jan 20 19:01:59 2009 (r187478) +++ projects/stress2/README Tue Jan 20 19:06:10 2009 (r187479) @@ -37,3 +37,23 @@ The following sub-directories exists: The name stress2 indicates that this is the second generation of the Kernel Stress Test Suite. The first version (stress) was based mostly on scripts. + + +20090120: des@ pointed out it would be nice to be able to set the + random seed in order to be able to reproduce errors in time. + A test of this show that the occurrence of panics are still + non-deterministic even with a fixed seed. The known broken + unionfs was used to test this: + http://people.freebsd.org/~pho/stress/log/marcus006.txt. + First panic occurred after 29 loops and the second after 8 + with a seed of "123". + + The randomness that is provided by lack of synchronization + with timer interrupt, disk block layout and disk access + latencies caused by platter and heads speed changes, disk + firmware internal operations, and so on are _much_ bigger + then the undeterminism caused by the non-repeatable random + seed. + + Anyway, I have always view the this issue as only a slight + inconvenience.