From owner-freebsd-arch@FreeBSD.ORG Sun Jan 18 08:48:29 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 41BFB106566B for ; Sun, 18 Jan 2009 08:48:29 +0000 (UTC) (envelope-from pho@holm.cc) Received: from relay03.pair.com (relay03.pair.com [209.68.5.17]) by mx1.freebsd.org (Postfix) with SMTP id D28788FC17 for ; Sun, 18 Jan 2009 08:48:28 +0000 (UTC) (envelope-from pho@holm.cc) Received: (qmail 62689 invoked from network); 18 Jan 2009 08:21:47 -0000 Received: from 87.58.145.190 (HELO x2.osted.lan) (87.58.145.190) by relay03.pair.com with SMTP; 18 Jan 2009 08:21:47 -0000 X-pair-Authenticated: 87.58.145.190 Received: from x2.osted.lan (localhost.osted.lan [127.0.0.1]) by x2.osted.lan (8.14.2/8.14.2) with ESMTP id n0I8LkDo018256 for ; Sun, 18 Jan 2009 09:21:46 +0100 (CET) (envelope-from pho@x2.osted.lan) Received: (from pho@localhost) by x2.osted.lan (8.14.2/8.14.2/Submit) id n0I8Lk6W018255 for freebsd-arch@freebsd.org; Sun, 18 Jan 2009 09:21:46 +0100 (CET) (envelope-from pho) Date: Sun, 18 Jan 2009 09:21:45 +0100 From: Peter Holm To: freebsd-arch@freebsd.org Message-ID: <20090118082145.GA18067@x2.osted.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: 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 08:48:29 -0000 The Kernel Stress Test Suite (stress2) is now in svn: svn://svn.freebsd.org/base/projects/stress2 The purpose of the test suite is to expose design and implementation problems in the kernel, which may lead to panics or deadlocks. 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. This very simple idea is implemented in the "run" test program, which controls the behavior of all the other test programs. To simplify writing test programs, a test harness is implemented as a library that handles running the test programs. All the creator of new test programs has to implement are three procedures: setup(), cleanup() and test(). Usage should be straight forward: cd projects/stress2 make sh ./run.sh The "run.sh" script accepts an optional configuration file in order to test specific areas. For example: ./run.sh vfs.sh More details in projects/stress2/README. Documentation may be found in projects/stress2/doc. Please have me in mind when you find a problem that can panic the kernel, as I collect regression test scenarios in projects/stress2/misc. - Peter