Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2018 01:22:44 +0100
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: swapfile question
Message-ID:  <20180514012244.74822866@gumby.homeunix.com>
In-Reply-To: <CAFuo_fxUspphdS3eiX99gzkesDxuZw%2BVbxHbfZj7phEPvr-C_w@mail.gmail.com>
References:  <09eab1d4-3dd8-3530-bdbf-b436ec6aeeed@zyxst.net> <CAFuo_fxUspphdS3eiX99gzkesDxuZw%2BVbxHbfZj7phEPvr-C_w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 12 May 2018 08:39:52 -0700
Waitman Gobble wrote:


> I use Warren Block's SSD setup and create swap file, seems to work
> A-OK.
> 
> http://www.wonkity.com/~wblock/docs/

Swap files are certainly more flexible, but I think the argument about
TRIM is wrong. My understanding is that to UFS the swap activity on a
swap file is just reads and writes in the file. Short of deleting the
file I don't think you would get any trims. From that perspective swap
files are slightly worse because when you create the file with dd you
are telling the SSD that all of it holds data.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180514012244.74822866>