Using mdconfig for swap space

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Wed Sep 9 15:11:44 UTC 2009


Peter Steele <psteele at maxiscale.com> writes:

>>Nowadays having swap twice as RAM is not necessary. If your system
>>wasn't swapping much in the past you can safely stay with 4G in my
>>opinion... extending it to 16G would be waste of space :)
>
> I won't bore you with the details but in fact our application *does*
> require this much swap space, but not for the typical reasons. It's a
> side effect of how our application works and we thought we could make
> use of an image file for the extra swap rather than repartitioning,
> but I've read too many warnings against going this route so I've
> decided to stick with increasing the size of the swap partition.

It's easy to *try* the swap files.  Then measure the performance.  
If the behaviour is really as specific to your custom application 
as you indicate, then general advice may not apply either.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
		http://be-well.ilk.org/~lowell/


More information about the freebsd-questions mailing list