From owner-cvs-src@FreeBSD.ORG Thu Apr 17 16:35:52 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79D8B1065671; Thu, 17 Apr 2008 16:35:52 +0000 (UTC) (envelope-from niclas.zeising@gmail.com) Received: from mxf2.bahnhof.se (mxf2.bahnhof.se [213.80.101.26]) by mx1.freebsd.org (Postfix) with ESMTP id 374A18FC13; Thu, 17 Apr 2008 16:35:52 +0000 (UTC) (envelope-from niclas.zeising@gmail.com) Received: from localhost (mxf2.local [127.0.0.1]) by mxf2-reinject (Postfix) with ESMTP id 96F226BD0ED; Thu, 17 Apr 2008 18:35:50 +0200 (CEST) X-Virus-Scanned: by amavisd-new using ClamAV at bahnhof.se (MXF2) X-Spam-Score: 1.379 X-Spam-Level: * X-Spam-Status: No, score=1.379 tagged_above=-99 required=5 tests=[SPF_NEUTRAL=1.379] Received: from mxf2.bahnhof.se ([127.0.0.1]) by localhost (mxf2.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JjLZ-ZiI0+AY; Thu, 17 Apr 2008 18:35:46 +0200 (CEST) Received: from [10.0.0.3] (h-60-153.A163.cust.bahnhof.se [79.136.60.153]) by mxf2.bahnhof.se (Postfix) with ESMTP id 673C26BD0D3; Thu, 17 Apr 2008 18:35:46 +0200 (CEST) Message-ID: <48077C59.3070106@gmail.com> Date: Thu, 17 Apr 2008 18:35:37 +0200 From: Niclas Zeising User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: =?ISO-8859-1?Q?S=F8ren_Schmidt?= References: <200804171229.m3HCTaG4089203@repoman.freebsd.org> In-Reply-To: <200804171229.m3HCTaG4089203@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/ata ata-all.c ata-all.h ata-chipset.c ata-disk.c ata-dma.c ata-lowlevel.c ata-pci.c ata-queue.c ata-raid.c atapi-cam.c atapi-cd.c atapi-fd.c atapi-tape.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2008 16:35:52 -0000 Søren Schmidt wrote: > sos 2008-04-17 12:29:36 UTC > > FreeBSD src repository > > Modified files: > sys/dev/ata ata-all.c ata-all.h ata-chipset.c > ata-disk.c ata-dma.c ata-lowlevel.c > ata-pci.c ata-queue.c ata-raid.c > atapi-cam.c atapi-cd.c atapi-fd.c > atapi-tape.c > Log: > Go back to preallocating everything possible on init. > This avoids calling busdma in the request processing path which caused a traumatic performance degradation. > Allocation has be postponed to after we know how many devices we possible can have on portmulitpliers to save some space. > > Revision Changes Path > 1.285 +7 -58 src/sys/dev/ata/ata-all.c > 1.133 +27 -18 src/sys/dev/ata/ata-all.h > 1.217 +30 -26 src/sys/dev/ata/ata-chipset.c > 1.210 +6 -3 src/sys/dev/ata/ata-disk.c > 1.154 +139 -59 src/sys/dev/ata/ata-dma.c > 1.83 +4 -4 src/sys/dev/ata/ata-lowlevel.c > 1.126 +8 -8 src/sys/dev/ata/ata-pci.c > 1.72 +6 -4 src/sys/dev/ata/ata-queue.c > 1.130 +4 -2 src/sys/dev/ata/ata-raid.c > 1.57 +2 -1 src/sys/dev/ata/atapi-cam.c > 1.199 +6 -3 src/sys/dev/ata/atapi-cd.c > 1.114 +2 -1 src/sys/dev/ata/atapi-fd.c > 1.107 +2 -1 src/sys/dev/ata/atapi-tape.c Will this also remedy the panic I've had? panic: to many DMA segment entries. Regards! //Niclas