Compiling Swap space

John Levine johnl at iecc.com
Tue Feb 27 05:23:48 UTC 2018


In article <20180227040015.7d2fb579.freebsd at edvax.de> you write:
>On Mon, 26 Feb 2018 19:46:34 -0700, The Doctor wrote:
>> I notice the default swap is 4G.  
>> 
>> How can that be increased to 32G or 64G?
>
>By repartitioning your drive.

You can also use mdconfig to make an md device backed by a file and
swap on that.  That's slower than a swap partition since it has to
find the blocks using the filesystem, but you don't have to
repartition, just make a big file for it to swap to.



More information about the freebsd-questions mailing list