From owner-freebsd-arch Mon Feb 5 9:31:19 2001 Delivered-To: freebsd-arch@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id 559B037B503; Mon, 5 Feb 2001 09:31:02 -0800 (PST) Received: (from dillon@localhost) by earth.backplane.com (8.11.1/8.9.3) id f15HUIU21219; Mon, 5 Feb 2001 09:30:18 -0800 (PST) (envelope-from dillon) Date: Mon, 5 Feb 2001 09:30:18 -0800 (PST) From: Matt Dillon Message-Id: <200102051730.f15HUIU21219@earth.backplane.com> To: Randell Jesup Cc: Matthew Jacob , "Justin T. Gibbs" , Mike Smith , Dag-Erling Smorgrav , Dan Nelson , Seigo Tanimura , arch@FreeBSD.ORG Subject: Re: Bumping up {MAX,DFLT}*PHYS (was Re: Bumping up {MAX,DFL}*SIZ in i386) References: <200102040026.f140QuD12547@earth.backplane.com> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :> (1) have the SCSI tape device code not convert raw reads and writes :> to VOP_STRATEGY calls and instead manage the KVA for the I/O via some :> other mechanism. : : This seems rather painful and makes support for large IO's very :driver-dependant and confusing. :... :> :> Then the physio code could be adjusted to dynamically MALLOC the :> necessary pages array if the static one in the supplied buffer is :> insufficient. : : So, how reasonable is this? It seems like a pretty good solution, :but I'm far from up-to-speed on the internals here. : :-- :Randell Jesup, Worldgate Communications, ex-Scala, ex-Amiga OS team ('88-94) :rjesup@wgate.com I think what's reasonable is to wait until someone - Poul maybe, puts a better I/O buffering subsytem in place. Anything we do right now will be a bad hack. The funny thing about all of this is that we go to great pains to make things contiguous in KVM, but the bus dma code has to then break things up into page-by-page DMAs anyway. I'd much rather just hand the I/O subsystem a list of vm_page_t's without bothering to map them into KVM. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message