Some ideas for FreeBSD

Jerry McAllister jerrymc at msu.edu
Fri Feb 8 15:43:11 UTC 2008


On Thu, Feb 07, 2008 at 04:09:13PM -0800, Jason C. Wells wrote:

> Heiko Wundram (Beenic) wrote:
> >Am Donnerstag, 7. Februar 2008 07:32:16 schrieb Jason C. Wells:
> >>Norberto Meijome wrote:
> >>>But I agree with Wojciech..do you really want to use swap files?
> >>One could mount an md filesystem and then use that as swap.  That way
> >>you wouldn't need to use any disc space.  As a plus, the performance
> >>would be way better than disc.
> >
> >Ahem, sorry, that's just plain stupid. Either the md system is backed up 
> >by RAM (in which case you don't need the swap anyway; why'd you want to 
> >access RAM by putting it in a swap on an md in RAM?), or it's backed up by 
> >swap, in which case you have a chicken and egg problem.
> 
> Mmm, yes. That is quite a pickle.  But a chicken or an egg would still 
> be inferior to an md backed swap. :)

Huh?
md backed swap is just using memory which, if you hadn't wasted it 
by making it md, it might obviate the need for swap at all - anyway
it would not be a faster system if the md had to be swapped out.  It
just adds another layer of interferrence.

////jerry

> 
> Regards,
> Jason
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list