From owner-freebsd-questions@FreeBSD.ORG Thu Jun 28 08:26:16 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 77A0B16A41F for ; Thu, 28 Jun 2007 08:26:16 +0000 (UTC) (envelope-from soconnor@falconknight.com) Received: from oasis.falconknight.com (oasis.falconknight.com [66.160.163.2]) by mx1.freebsd.org (Postfix) with ESMTP id 6628B13C43E for ; Thu, 28 Jun 2007 08:26:16 +0000 (UTC) (envelope-from soconnor@falconknight.com) Received: (qmail 9621 invoked from network); 28 Jun 2007 00:59:44 -0700 Received: from unknown (HELO ?192.168.1.3?) (71.189.127.178) by oasis.falconknight.com with SMTP; 28 Jun 2007 00:59:44 -0700 Mime-Version: 1.0 (Apple Message framework v752.2) To: freebsd-questions@freebsd.org Message-Id: <4D15FF0C-0531-4455-9631-F60D939F9EB2@falconknight.com> From: Shawn O'Connor Date: Thu, 28 Jun 2007 00:59:34 -0700 X-Mailer: Apple Mail (2.752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: mdconfig using malloc() X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jun 2007 08:26:16 -0000 Guys, I'm trying to do the following: mdconfig -a -t malloc -o reserve -s 2g Which fails saying it can't: mdconfig: ioctl(/dev/mdctl): Cannot allocate memory I saw some old post advocated using -t swap instead, saying that swap probably wouldn't be used until real memory was consumed. But, on my 6.2 machine that immediately raises the swap usage to 2GB and does use disk instead of RAM when I test using it. Is there any way I can get 2GB of physical memory actually allocated? As a last resort, would upgrading to -CURRENT get this to work? Many thanks! -Shawn