From owner-freebsd-hackers@FreeBSD.ORG Fri Nov 6 19:19:52 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65E811065670 for ; Fri, 6 Nov 2009 19:19:52 +0000 (UTC) (envelope-from anti_spamsys@yahoo.com) Received: from web113204.mail.gq1.yahoo.com (web113204.mail.gq1.yahoo.com [98.136.165.125]) by mx1.freebsd.org (Postfix) with SMTP id 3A8A68FC23 for ; Fri, 6 Nov 2009 19:19:52 +0000 (UTC) Received: (qmail 20493 invoked by uid 60001); 6 Nov 2009 19:19:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1257535191; bh=uo4QdrN+Fy4rE7Sc07oZHbK75BE6W3Qpa8hC3k4MUmc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=LZTuzHGx4JEymKstvF2WUA/MzKLQRWb3kcKzA8EB0XQh4aQgqAOzUv03KxpwHcmjRWgQjI+mllCmwbXlGnsiqfuB0mS3pHBBcyKbO7XiQYijAwWUtv1cf7D9X77CDm2Hd47S9R0bmcP7iBA5YE1mHCsEtO2SGJVCPeUpCLUqaAg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=PB78vxugJYdRiVDrdEQJNCLqP3gjVniYH4u0/rnnlvAKzItr2K+FaT7mHzdhMfm86mXPFX9Z1eIhD8WXMNtNXNCf13Mh19Maq68dnVIAKc/QtAQtyXIcNShPF7A0W+DTZuRhOooG80se+jHEkfYFqJOMzHEoCWQ72lTMq6l4b7A=; Message-ID: <761362.20406.qm@web113204.mail.gq1.yahoo.com> X-YMail-OSG: Ni7qblcVM1nH6lf4b0xzqOEavyYDS5QY4gPFP5_xUUcVHg9oEJ0HS3WY660zVWFG0aGzbJCqwHEJEcykiEtDb50JyjcCIbP2EK82iRVrBpUPdVHoYi33EdTMmI0dEGUkQIuumJmAA3NXy8.tjst5s5C4vB8nDr9ZshQ9Jv3F4.uL.hO7gaUFPQdASw0H7FeNE0qwYjJYuU1.tugOL2d1IwdeWOp8xY8lmoNKMOsDvFO.9A0qF3.bFps_VQExzkwt.yc- Received: from [128.55.19.49] by web113204.mail.gq1.yahoo.com via HTTP; Fri, 06 Nov 2009 11:19:51 PST X-Mailer: YahooMailClassic/8.1.6 YahooMailWebService/0.7.361.4 Date: Fri, 6 Nov 2009 11:19:51 -0800 (PST) From: Trever To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Why is default value of NKPT so small? mfsroot X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2009 19:19:52 -0000 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