9.0 on SSD

Victor Sudakov vas at mpeks.tomsk.su
Thu May 31 17:00:40 UTC 2012


Warren Block wrote:
> >
> > I have installed 9.0-RELEASE on a SSD drive with the following
> > tweaking so far:
> >
> > 1. tmpmfs="YES" (WRKDIRPREFIX etc will go there too).
> >
> > 2. mount -o noatime
> >
> > 3. tunefs -t enable
> >
> > I have not done any tricky partition alignment, do I really need to? Is
> > anything else advisable?
> 
> If it's not aligned, there can be a pretty significant performance 
> drop.  Please show the output of 'gpart show' on that drive if it's GPT 
> (gpart show ada0) or drive and slice if it's MBR/bsdlabel (gpart show 
> ada0 && gpart show ada0s1).

It was created by the "Auto" option of the new FreeBSD installer:

[sudakov at vas ~] gpart show ada0
=>       34  117231341  ada0  GPT  (55G)
         34        128     1  freebsd-boot  (64k)
        162  111148928     2  freebsd-ufs  (53G)
  111149090    5861376     3  freebsd-swap  (2.8G)
  117010466     220909        - free -  (107M)

[sudakov at vas ~]

> 
> > There is one thing that worries me, why is TRIM not shown as enabled in
> > camcontrol output?
> >
> > [root at vas ~] tunefs -p /dev/ada0p2 | & grep -i trim
> > tunefs: trim: (-t)                                         enabled
> > [root at vas ~] camcontrol identify ada0 | egrep '^Fea|TRIM'
> > Feature                      Support  Enabled   Value           Vendor
> > data set management (TRIM)     yes
> > [root at vas ~]
> 
> I think that no value there means it cannot be enabled or disabled; it's 
> always on.

Oh. Thanks.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov at sibptus.tomsk.ru


More information about the freebsd-questions mailing list