Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 2014 10:15:40 -0800
From:      aurfalien <aurfalien@gmail.com>
To:        RW <rwmaillists@googlemail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mdconfig via rc.conf
Message-ID:  <B7166D79-4832-43AA-8ED3-B3B3E109B084@gmail.com>
In-Reply-To: <20140305124837.426af1bb@gumby.homeunix.com>
References:  <A2D8BD58-D9D8-4E16-B84D-25D37E195ADE@gmail.com> <20140305124837.426af1bb@gumby.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 5, 2014, at 4:48 AM, RW <rwmaillists@googlemail.com> 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"







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B7166D79-4832-43AA-8ED3-B3B3E109B084>