From owner-freebsd-hackers Thu Jul 6 13: 0:23 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 25C6737B61A for ; Thu, 6 Jul 2000 13:00:21 -0700 (PDT) (envelope-from mjacob@feral.com) Received: from beppo.feral.com (beppo [192.67.166.79]) by feral.com (8.9.3/8.9.3) with ESMTP id NAA13756; Thu, 6 Jul 2000 13:00:12 -0700 Date: Thu, 6 Jul 2000 13:00:11 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: Zhihui Zhang Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Max DMA size In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Can anyone tell me what factors determine the max DMA size (DMA counter on > each controller or PCI bus related)? What is the typical max DMA size for > a SCSI disk connected to a PCI bus? It seems to be much larger than > MAXPHYS (128K). If so, does it mean we are not using full potential of > DMA? So what's the problem if we enlarge MAXPHYS? You can enlarge MAXPHYS, but watch out that you don't also then make MAXBSIZE so big that the creation of buffers eats up all of your memory. IMO MAXPHYS is way too small, but there are a number of current VM implementation reasons why making it larger by default is not right. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message