From owner-freebsd-arch@FreeBSD.ORG Fri Jul 1 14:11:41 2005 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F06616A446 for ; Fri, 1 Jul 2005 14:11:41 +0000 (GMT) (envelope-from peadar.edwards@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4691643D49 for ; Fri, 1 Jul 2005 14:11:41 +0000 (GMT) (envelope-from peadar.edwards@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so168257nzo for ; Fri, 01 Jul 2005 07:11:40 -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=fC0tNAwvJdr0T3gBEC97gx7puUUvRAxLRL0Dr3Hmkj2hua3uCt3LZATKL3MqxnaftB0OSNnYFf8LAFnED1CuMSuxKFIDy/K78drFGu2vSsOLpzj2ETvyD9HA26/JLOF4p030/uBfWHXfy+vhtcO1lvLbP4oXN/H4/5KGw+FEDNU= Received: by 10.36.222.33 with SMTP id u33mr810409nzg; Fri, 01 Jul 2005 07:11:40 -0700 (PDT) Received: by 10.36.68.15 with HTTP; Fri, 1 Jul 2005 07:11:40 -0700 (PDT) Message-ID: <34cb7c8405070107112ac9de26@mail.gmail.com> Date: Fri, 1 Jul 2005 15:11:40 +0100 From: Peter Edwards To: John Baldwin In-Reply-To: <200507011005.21343.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050701132104.GA95135@freefall.freebsd.org> <200507011005.21343.jhb@FreeBSD.org> Cc: Peter Edwards , arch@freebsd.org Subject: Re: ktrace and KTR_DROP X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Peter Edwards List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jul 2005 14:11:41 -0000 On 7/1/05, John Baldwin wrote: > On Friday 01 July 2005 09:21 am, Peter Edwards wrote: > > Y'all, > > > > Ever since the introduction of a separate ktrace worker thread for > > writing output, there's the distinct possibility that ktrace output > > will drop requests. For some proceses, it's actually inevitable: > > as long as the traced processes can sustain a rate of generating > > ktrace events faster than the ktrace thread can write them, you'll > > eventually run out of ktrace requests. >=20 > The patch looks good to me, and I'd even be ok with having neverdrop on b= y > default. FWIW, that would also be my preference, I was just being conservative.