From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 20:50:36 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02E801065671 for ; Fri, 15 Aug 2008 20:50:36 +0000 (UTC) (envelope-from barney_cordoba@yahoo.com) Received: from web63901.mail.re1.yahoo.com (web63901.mail.re1.yahoo.com [69.147.97.116]) by mx1.freebsd.org (Postfix) with SMTP id 9847F8FC1C for ; Fri, 15 Aug 2008 20:50:35 +0000 (UTC) (envelope-from barney_cordoba@yahoo.com) Received: (qmail 95590 invoked by uid 60001); 15 Aug 2008 20:50:35 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=GoOO+gULE+c2/qfWJF7ciIO7Vm0bbymjl1phM5VGX8xRc46VJi0wD7y4wXxqrLPlVkf7XmvPiSyJ1KoHvQJnU+TUwwIXghFLS9tHyP8zhu2xvCAt525gUypD0qWVueNj5h7YvWqEC+yJJIE7Y5ytNF2BrATBo+fnxGse4qFqieg=; Received: from [98.203.28.38] by web63901.mail.re1.yahoo.com via HTTP; Fri, 15 Aug 2008 13:50:34 PDT X-Mailer: YahooMailWebService/0.7.218 Date: Fri, 15 Aug 2008 13:50:34 -0700 (PDT) From: Barney Cordoba To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <976425.95447.qm@web63901.mail.re1.yahoo.com> Cc: Subject: Max Kernel Memory? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: barney_cordoba@yahoo.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 20:50:36 -0000 Setting vm.kmem_size to what seem to be usable values causes all kinds of memory allocations on boot. For example setting it to 1GB with 2GB installed results in a failure. What is the maximum amount of memory that can be allocated to the kernel, and why can't 1/2 of the system's memory be allocated safely? We have a module with a potentially very large dynamic lookup table, with little going on in userland, so we want to allocate as much as possible to the kernel. Barney