From owner-freebsd-current@FreeBSD.ORG Thu Jun 16 09:46:05 2005 Return-Path: X-Original-To: freebsd-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 F324B16A41C for ; Thu, 16 Jun 2005 09:46:04 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 747F943D4C for ; Thu, 16 Jun 2005 09:46:04 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: by zproxy.gmail.com with SMTP id 18so312181nzp for ; Thu, 16 Jun 2005 02:46:03 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Vps1+FggmQ7YimaVhN5isqbE6zKgtuVbIN7+1n90I6sFELniT/+MzJGQaAcuzbxBh/8wQXHbw0zrINIBDz1k0OtZ8cFihkBfFDyJu7AYZjwQKKvbg/b6va7+wGWY9tS3RWG1TYAk07Dk+uG8qGE1hIGK6awamU0E73GKn78zNI4= Received: by 10.36.43.9 with SMTP id q9mr364023nzq; Thu, 16 Jun 2005 02:46:03 -0700 (PDT) Received: by 10.36.88.8 with HTTP; Thu, 16 Jun 2005 02:46:03 -0700 (PDT) Message-ID: Date: Thu, 16 Jun 2005 17:46:03 +0800 From: Jiawei Ye To: delphij@delphij.net In-Reply-To: <1118912651.860.17.camel@spirit> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1118912651.860.17.camel@spirit> Cc: freebsd-current@freebsd.org Subject: Re: Recent VFS locking vs kqueue X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jiawei Ye List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 09:46:05 -0000 On 6/16/05, Xin LI wrote: > Hi, Jeff and -current@, >=20 > With a fresh -CURRENT kernel (today's source) I got the following > messages from console and /var/log/messages on my laptop, with a "cvs -R > up -PdA 2>/dev/null" running on one console (which results in disk/fs > activities) and "tail -F /var/log/messages" (which uses kqueue events). >=20 > The kernel is built with ULE scheduler, PREEMPTION+FULL_PREEMPTION > enabled, and all debugging options, like INVARIANTS and WITESS turned > on. >=20 > BTW. I have found something that can lead to panic: Negative nice > count, which indicates that there are some races in our code, but it > seems that the bug is not easy to exercise. Will report more > information/patches once I got some findings. >=20 > Thanks in advance! Perhaps you could try compling Apache2 with KQUEUE and THREADS support, then try exercise the httpd server with 'webbench -c 1000'. I got several panics (alas, not dump available) during the last week with such setup. After turning off KQUEUE and THREADS support in Apache2, things calmed down. Jiawei --=20 "Without the userland, the kernel is useless." --inspired by The Tao of Programming