Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jul 2000 13:00:11 -0700 (PDT)
From:      Matthew Jacob <mjacob@feral.com>
To:        Zhihui Zhang <zzhang@cs.binghamton.edu>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Max DMA size
Message-ID:  <Pine.BSF.4.10.10007061257400.20481-100000@beppo.feral.com>
In-Reply-To: <Pine.SOL.4.21.0007061545020.7314-100000@sol.cs.binghamton.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10007061257400.20481-100000>