dynamically calculating NKPT [was: Re: huge ktr buffer]

Konstantin Belousov kostikbel at gmail.com
Tue Feb 5 17:18:20 UTC 2013


On Tue, Feb 05, 2013 at 09:12:41AM -0800, Neel Natu wrote:
> Hi Konstantin,
> 
> Sounds fine. I can bump it up to 8 pages.
> 
> Also, wrt your comment about scaling this number based on available
> memory, I wonder if it makes sense to optimize for 16KB of additional
> space.
If it boots on 128MB as is, I am completely fine with the existing patch
(after slack increase) as well.

> 
> I would much rather work with you and Alan to fix pmap_growkernel() so
> we don't need to care about this slack in the first place :-)

Sure, if you consider this important enough.  I do agree with mdf that
having this happen without any user intervention is good. But having
just a tunable for the slack might be much less labor-intensive and
good enough.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20130205/5e662cfc/attachment.sig>


More information about the freebsd-hackers mailing list