SSD questions
Tim Darby
t+dfbsd at timdarby.net
Sat Mar 28 21:14:29 PDT 2015
On Sat, Mar 28, 2015 at 2:52 PM, Matthew Dillon <dillon at apollo.backplane.com
> wrote:
>
> :
> :> a: 1GB boot
> :> b: 32GB swap
> :> d: * hammer (root and everything else on one hammer
> filesystem)
> :
> :fur such a config there is no need to reserve 10% unused.
> :just add TRIMming b partition at every boot. swap would rarely be full.
>
> Yes, very true. swap can be TRIMmed on every boot and in most
> situations this will leave enough unallocated space.
>
> In my example I totally forgot to include an 'unused' partition to
> hold the reserved area, too, but just having a larger swap partition
> and TRIMming it on boot probably works even better.
>
> The -e option to swapon will trim swap. Hmm.... our rc scripts don't
> provide a way to override that to add the -e.
>
>
I like this idea. Would I have to use unencrypted swap for this to work?
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20150328/5b63efc9/attachment-0003.htm>
More information about the Users
mailing list