From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 5 14:58:30 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 055031065670 for ; Thu, 5 Apr 2012 14:58:30 +0000 (UTC) (envelope-from gljennjohn@googlemail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 86EEE8FC0C for ; Thu, 5 Apr 2012 14:58:29 +0000 (UTC) Received: by eekd17 with SMTP id d17so531983eek.13 for ; Thu, 05 Apr 2012 07:58:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :x-mailer:mime-version:content-type:content-transfer-encoding; bh=5AoWYqKTaNi48qXbc/VEqy+/YAnma3XydeJ6uOGqWN8=; b=gqhB8gheNqO44Rgh0UukpYWhGyhqxpBgyHwqV9+bXrBQtGmaQJKo/d30xCAdBoSdUR 3vGU5ykaTYI3vgiL5p0PWcY714n0eykCkcDSnQysd/SHXSQR9GEcvJKUtEnt/Qn+sX/O FR0SYIzYesgCuUHSQ2GS1X8gx2K+zbn9DrbnEybEnaUBQYU1ENBWO0/pxHjjghYVHeoS XTMvAgDLaIPzHAzAhUU8iL945nMBIIbs9d+r/BwSl2Pf9nfwZr2ntiFhG+VS7UnNkizt ochiyNxJxIxmlI+zsjYz8DnJBp+GzG46KCrGbdwMg8pFDaZQFBtzsnVTyCTWvnIi/LG0 4WSA== Received: by 10.213.112.197 with SMTP id x5mr447727ebp.57.1333637903500; Thu, 05 Apr 2012 07:58:23 -0700 (PDT) Received: from ernst.jennejohn.org (p54895F57.dip.t-dialin.net. [84.137.95.87]) by mx.google.com with ESMTPS id y11sm14054627eem.3.2012.04.05.07.58.21 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Apr 2012 07:58:22 -0700 (PDT) Date: Thu, 5 Apr 2012 16:58:20 +0200 From: Gary Jennejohn To: Alexander Leidinger Message-ID: <20120405165820.38698f1f@ernst.jennejohn.org> In-Reply-To: <20120405052246.00002c53@unknown> References: <20120403193124.46ad9de9@ernst.jennejohn.org> <20120405052246.00002c53@unknown> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-hackers , Jerry Toung Subject: Re: CAM disk I/O starvation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gljennjohn@googlemail.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Apr 2012 14:58:30 -0000 On Thu, 5 Apr 2012 05:22:46 +0200 Alexander Leidinger wrote: > On Tue, 3 Apr 2012 14:27:43 -0700 Jerry Toung > wrote: > > > On 4/3/12, Gary Jennejohn wrote: > > > > > It would be interesting to see your patch. I always run HEAD but > > > maybe I could use it as a base for my own mods/tests. > > > > > > > Here is the patch > > This looks fair if all your disks are working at the same time (e.g. > RAID only setup), but if you have a setup where you have multiple > disks and only one is doing something, you limit the amount of tags > which can be used. No idea what kind of performance impact this would > have. > > What about the case where you have more disks than tags? > > I also noticed that you do a strncmp for "da". What about > "ada" (available in 9 and 10), I would assume it suffers from the same > problem. > It seems to. All my disks are ada. -- Gary Jennejohn