From owner-freebsd-current@FreeBSD.ORG Thu Jul 14 19:45:12 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 431BB16A41C for ; Thu, 14 Jul 2005 19:45:12 +0000 (GMT) (envelope-from pho@holm.cc) Received: from relay01.pair.com (relay01.pair.com [209.68.5.15]) by mx1.FreeBSD.org (Postfix) with SMTP id 9D28643D53 for ; Thu, 14 Jul 2005 19:45:10 +0000 (GMT) (envelope-from pho@holm.cc) Received: (qmail 97247 invoked from network); 14 Jul 2005 19:45:09 -0000 Received: from unknown (HELO peter.osted.lan) (unknown) by unknown with SMTP; 14 Jul 2005 19:45:09 -0000 X-pair-Authenticated: 80.161.118.233 Received: from peter.osted.lan (localhost.osted.lan [127.0.0.1]) by peter.osted.lan (8.13.1/8.13.1) with ESMTP id j6EJj8Wa048213; Thu, 14 Jul 2005 21:45:08 +0200 (CEST) (envelope-from pho@peter.osted.lan) Received: (from pho@localhost) by peter.osted.lan (8.13.1/8.13.1/Submit) id j6EJj8d9048212; Thu, 14 Jul 2005 21:45:08 +0200 (CEST) (envelope-from pho) Date: Thu, 14 Jul 2005 21:45:08 +0200 From: Peter Holm To: Gleb Smirnoff Message-ID: <20050714194508.GA48176@peter.osted.lan> References: <20050713083756.GA3728@cell.sick.ru> <20328.193.162.192.11.1121244715.squirrel@webmail2.pair.com> <20050714111043.GA17494@cell.sick.ru> <20050714183932.GA46344@peter.osted.lan> <20050714191042.GA21991@cell.sick.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050714191042.GA21991@cell.sick.ru> User-Agent: Mutt/1.4.2.1i Cc: maxim@freebsd.org, sam@freebsd.org, current@freebsd.org Subject: Re: http://www.holm.cc/stress/log/cons141.html X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 19:45:12 -0000 On Thu, Jul 14, 2005 at 11:10:42PM +0400, Gleb Smirnoff wrote: > On Thu, Jul 14, 2005 at 08:39:32PM +0200, Peter Holm wrote: > P> > On Wed, Jul 13, 2005 at 10:51:55AM +0200, Peter Holm wrote: > P> > P> > how often the panic in subject fires? I guess it is related to the problem > P> > P> > discussed in this thread [1], and may be even the patch I've posted there > P> > P> > will help. > P> > P> > > P> > P> > P> > P> The panic is almost instantanious if I run the stress test while doing > P> > P> an "arp -d xxx". > P> > > P> > The attached WIP patch helps me. The [1] script can't drop my box to panic > P> > anymore, when running in 15 instances on 4-x CPU box. > P> > P> Yes, works for me! I've been testing for three hours without any > P> problems and then ran into another unrelated livelock. > > Were you running it with WITNESS or without? How many CPUs does your box have? > I've got a hard panic without access to ddb when running without WITNESS. > I think WITNESS slowness can hide some races. I'll continue to work on this > tomorrow. > Single CPU + WITNESS: $ diff GENERIC PHO 68a69 > options BREAK_TO_DEBUGGER 295a297,303 > > options DEBUG_LOCKS > options DEBUG_VFS_LOCKS > options KTR > options KTR_ENTRIES=4096 > options KTR_MASK=(KTR_BUF|KTR_VFS) > options KTR_COMPILE=(KTR_BUF|KTR_VFS) - Peter > -- > Totus tuus, Glebius. > GLEBIUS-RIPN GLEB-RIPE