Date: Thu, 17 Apr 2008 18:35:37 +0200 From: Niclas Zeising <niclas.zeising@gmail.com> To: =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos@FreeBSD.org> 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 Message-ID: <48077C59.3070106@gmail.com> In-Reply-To: <200804171229.m3HCTaG4089203@repoman.freebsd.org> References: <200804171229.m3HCTaG4089203@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48077C59.3070106>