swapfile question

thor thor at irk.ru
Sun May 13 04:04:04 UTC 2018

Partition is faster because it does not depend on all the file 
processor. But:

1) I had a setup where the swap was a md vnode on a geli partition. And 
it has some troubles, I didn't investigate why. The main trouble was a 
panic immediately after disk sync on shutdown. So in the future I am 
going to use a separate geli partition for swap.

2) Use of lots of RAM without swap is even faster. But there are some 
programs (notably compile libre office) that need lots of ram/swap per core.

On 05/12/18 23:39, Waitman Gobble wrote:
> On Sat, May 12, 2018 at 6:51 AM, tech-lists <tech-lists at zyxst.net> wrote:
>> Hi,
>> In a SSD/amd64/ufs2/freebsd-11 context, which is faster:
>> 1. swap as a partition on the ssd
>> 2. swap as a file on the ssd
>> If one is faster than the other, why? To what extent?
>> thanks,
>> --
>> J.
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> Don't swap. 1 and 2 are both slower.
> I use Warren Block's SSD setup and create swap file, seems to work A-OK.
> http://www.wonkity.com/~wblock/docs/

More information about the freebsd-questions mailing list