From owner-cvs-all Tue Oct 26 16:20:46 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6553814F89; Tue, 26 Oct 1999 16:20:44 -0700 (PDT) (envelope-from msmith@FreeBSD.org) Received: (from msmith@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id QAA99273; Tue, 26 Oct 1999 16:20:43 -0700 (PDT) (envelope-from msmith@FreeBSD.org) Message-Id: <199910262320.QAA99273@freefall.freebsd.org> From: Mike Smith Date: Tue, 26 Oct 1999 16:20:43 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/amr amr.c amr_disk.c amrvar.h src/sys/dev/mlx mlx.c mlx_disk.c mlx_pci.c mlxreg.h mlxvar.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk msmith 1999/10/26 16:20:43 PDT Modified files: sys/dev/amr amr.c amr_disk.c amrvar.h Log: Change the queueing model used by the controller to drastically reduce the time spent at splbio(). We now avoid it unless we are actually manipulating the command queues themselves. This doesn't improve performance noticeably, but should improve concurrency somewhat. Revision Changes Path 1.3 +48 -40 src/sys/dev/amr/amr.c 1.3 +1 -4 src/sys/dev/amr/amr_disk.c 1.2 +3 -3 src/sys/dev/amr/amrvar.h Modified files: sys/dev/mlx mlx.c mlx_disk.c mlx_pci.c mlxreg.h mlxvar.h Log: Move some hardware-related items to the hardware-related header. Shift to using the same queueing strategy that the amr driver uses. Some simple tests indicate that we use about 2% of the CPU at around 500tps with the controller completely saturated with I/O. Revision Changes Path 1.7 +57 -39 src/sys/dev/mlx/mlx.c 1.4 +2 -4 src/sys/dev/mlx/mlx_disk.c 1.3 +2 -1 src/sys/dev/mlx/mlx_pci.c 1.3 +127 -1 src/sys/dev/mlx/mlxreg.h 1.3 +2 -128 src/sys/dev/mlx/mlxvar.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message