Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 May 2012 06:57:19 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Victor Sudakov <vas@mpeks.tomsk.su>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: 9.0 on SSD
Message-ID:  <alpine.BSF.2.00.1205310652350.81499@wonkity.com>
In-Reply-To: <20120531025206.GA11699@admin.sibptus.tomsk.ru>
References:  <20120531025206.GA11699@admin.sibptus.tomsk.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 31 May 2012, Victor Sudakov wrote:

> Colleagues,
>
> 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).

> There is one thing that worries me, why is TRIM not shown as enabled in
> camcontrol output?
>
> [root@vas ~] tunefs -p /dev/ada0p2 | & grep -i trim
> tunefs: trim: (-t)                                         enabled
> [root@vas ~] camcontrol identify ada0 | egrep '^Fea|TRIM'
> Feature                      Support  Enabled   Value           Vendor
> data set management (TRIM)     yes
> [root@vas ~]

I think that no value there means it cannot be enabled or disabled; it's 
always on.



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