From owner-freebsd-questions@FreeBSD.ORG Wed Apr 28 18:24:37 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABE7316A4CE for ; Wed, 28 Apr 2004 18:24:37 -0700 (PDT) Received: from lakermmtao10.cox.net (lakermmtao10.cox.net [68.230.240.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CA1043D45 for ; Wed, 28 Apr 2004 18:24:37 -0700 (PDT) (envelope-from istartedi@cox.net) Received: from henry ([68.100.127.80]) by lakermmtao10.cox.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20040429012436.DJQE18696.lakermmtao10.cox.net@henry> for ; Wed, 28 Apr 2004 21:24:36 -0400 From: "steve" To: Date: Wed, 28 Apr 2004 21:24:35 -0400 Message-ID: <000001c42d88$bb664360$507f6444@henry> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: 5.2.1 can't allocate large ammounts of memory in the kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2004 01:24:37 -0000 I have a KLD that allocates approximately 300 megs (or more) in the = kernel, mostly in 8k chunks. On 5.1 I was able to build a kernel with: options VM_KMEM_SIZE=3D(24*1024*1024) options VM_KMEM_SIZE_MAX=3D(768*1024*1024) options VM_KMEM_SIZE_SCALE=3D(1024*1024) This allowed plenty of room for both the module and some other items = that needed large amounts of kernel memory. On 5.2.1-RELEASE I get "kmem map = too small" panics after allocating only 90 megs. Has something changed? Perhaps there is something else I need to tweak? --Istartedi