Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Nov 2009 11:19:51 -0800 (PST)
From:      Trever <anti_spamsys@yahoo.com>
To:        freebsd-hackers@freebsd.org
Subject:   Why is default value of NKPT so small?  mfsroot
Message-ID:  <761362.20406.qm@web113204.mail.gq1.yahoo.com>

next in thread | raw e-mail | index | archive | help
Does anyone know what the thinking is behind the default value of NKTP in /usr/src/sys/i386/include/pmap.h?

It seems to me that it's too small, though I'm wondering if there are some considerations in changing it's value that I should know about.

Too small because: making it a little more than twice as large (so you can get about a 300MB mfsroot to boot) means you can (by default) boot a standard FreeBSD system into memory, and I know I can't be the only one who would value that a great deal for many reasons.  As it stands you have to ax things out (like depenguinator does, for example).  Or you have to recompile the kernel.  

Does it have to be like this?

Which leads me to two more questions:
- is it possible to change the NKTP value without recompiling the kernel?  I think there isn't but I'll ask.
- is it possible to change the NKTP value without editing pmap.h (can I pass a variable into the kernel build process)?


Thanks,

Trever


      



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