From owner-freebsd-questions@FreeBSD.ORG Wed Mar 5 18:15:43 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D7709EDC for ; Wed, 5 Mar 2014 18:15:43 +0000 (UTC) Received: from mail-pd0-x22a.google.com (mail-pd0-x22a.google.com [IPv6:2607:f8b0:400e:c02::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AD984AFF for ; Wed, 5 Mar 2014 18:15:43 +0000 (UTC) Received: by mail-pd0-f170.google.com with SMTP id v10so1365572pde.15 for ; Wed, 05 Mar 2014 10:15:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=bUwDN8chG7H1W3dGptF8KmTA/o8CHKyk+Ts0vVtPRTE=; b=RJLo8WZzKHwUnpLK6wAgAOnZ0LRjAj66vtO7Ir8Sy8PGNklTmHi153Lb8pb5hJ/Y/U Qcwyfs2Lqu+fy3ORImibXrUakWb1w/gjn2dYH/oMiUobV9+beJVtC0ZGym2wzcz4aKad jiUg/MWNjmHHaYKuCvYDdkeTf7iba/LWvKcNmGLuAkcmcPqPaOkyQpHVPlTDtnUdQhkf b2ciZBqWGQzq2TwCmCpAzGXAK5jOfpnt9wQ86fRK4jo2X/FC5c5VyycLXeIeTp1YoydR N5Co6RaO29AV8XZbAz+uG1bU8HgtF5wK4+eGY1DxHgRY/Sv69oWALWF/fpzCkIY2G5gr kJeg== X-Received: by 10.68.176.132 with SMTP id ci4mr228710pbc.30.1394043343420; Wed, 05 Mar 2014 10:15:43 -0800 (PST) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id cz3sm10935487pbc.9.2014.03.05.10.15.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Mar 2014 10:15:42 -0800 (PST) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: mdconfig via rc.conf From: aurfalien In-Reply-To: <20140305124837.426af1bb@gumby.homeunix.com> Date: Wed, 5 Mar 2014 10:15:40 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20140305124837.426af1bb@gumby.homeunix.com> To: RW X-Mailer: Apple Mail (2.1874) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Mar 2014 18:15:43 -0000 On Mar 5, 2014, at 4:48 AM, RW wrote: > On Tue, 4 Mar 2014 14:14:11 -0800 > aurfalien wrote: >=20 >> Hi, >>=20 >> Are there any other parameters I would need to setup a ram disk at >> boot time? >>=20 >> I have this in my rc.conf; >>=20 >> mdconfig_md100=3D?-t malloc -s 12G? >=20 > It's unlikely that you really want to be using -t malloc, which uses > wired kernel memory that's never released, and can cause kernel panics > if not reserved with the -o option. -t swap will use > swap-backed memory which is equivalent to an ordinary userland malloc. >=20 > However mdconfig has largely been obsoleted by tmpfs which has its own > integrated file-system and so doesn't waste memory on storing deleted > files. >=20 Thanks for this. I=92ll take this under advisement and adjust my = implementation. - aurf "Janitorial Services"