Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2001 22:30:20 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        mjacob@feral.com
Cc:        arch@FreeBSD.ORG
Subject:   Re: remind me again, why is MAXPHYS only 128k ? 
Message-ID:  <89281.985210220@critter>
In-Reply-To: Your message of "Wed, 21 Mar 2001 13:25:17 PST." <Pine.LNX.4.21.0103211323490.12896-100000@zeppo.feral.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.LNX.4.21.0103211323490.12896-100000@zeppo.feral.com>, Matthew 
Jacob writes:
>
>Folks complained about some VM issues for trying to wire down a megabyte, etc.
>
>You sent me a suggestion as to how we could do specific device wiring w/o
>increasing MAXPHYS itself.
>
>That said, in NetBSD I've run 1024K MAXPHYS- you just have to make sure that
>the max buffer size doesn't track MAXPHYS 'coz you run out of memory rather
>quick.

Yeah, it's a mistake for struct buf/bio to use a fixed array of pages
(b->b_pages)  If we made that a ** instead we could have a variable
MAXPHYS...

--
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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