SSD questions

Romick yellowrabbit2010 at gmail.com
Sat Mar 28 16:58:34 PDT 2015


On Sat, Mar 28, 2015 at 02:52:12PM -0700, Matthew Dillon 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.
> 

... and it can't trim swap that was set as /dev/serno/bla-bla-bla :(


-- 
  with best reagrds, Yellow Rabbit
  DragonFly 4.1-DEVELOPMENT x86_64



More information about the Users mailing list