On Wed, 22 Aug 2012 21:24:47 -0700
Michael Sierchio wrote:

> On Wed, Aug 22, 2012 at 7:17 PM, RW <rwmailli...@googlemail.com>
> wrote:
> 
> >  tmpfs and "swap" md devices don't actually need swap. I don't seen
> > any advantage in your way of creating an md device for /tmp.
> 
> Then you don't understand. ;-)  The advantage of my approach is
> avoiding a kernel panic when writing to the tmpfs 

md device

> when you haven't
> pre-allocated all the filesystem space at creation time.  If that
> happens to matter to you...

It's the other way around, "malloc" md devices can cause kernel
panics.  "swap" md device use ordinary VM memory. If you set the limit
too high without swap you can slow performance, but it shouldn't
cause a kernel panic.

The default of 2MB isn't going to make a significant difference on any
normal install.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to