Date: Wed, 5 Mar 2014 12:48:37 +0000 From: RW <rwmaillists@googlemail.com> To: freebsd-questions@freebsd.org Subject: Re: mdconfig via rc.conf Message-ID: <20140305124837.426af1bb@gumby.homeunix.com> In-Reply-To: <A2D8BD58-D9D8-4E16-B84D-25D37E195ADE@gmail.com> References: <A2D8BD58-D9D8-4E16-B84D-25D37E195ADE@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 4 Mar 2014 14:14:11 -0800 aurfalien wrote: > 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? 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. 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140305124837.426af1bb>