From owner-freebsd-questions@FreeBSD.ORG Thu May 31 12:57:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 35E03106564A for ; Thu, 31 May 2012 12:57:20 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id E70208FC08 for ; Thu, 31 May 2012 12:57:19 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q4VCvJQZ082201; Thu, 31 May 2012 06:57:19 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q4VCvJkB082198; Thu, 31 May 2012 06:57:19 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 31 May 2012 06:57:19 -0600 (MDT) From: Warren Block To: Victor Sudakov In-Reply-To: <20120531025206.GA11699@admin.sibptus.tomsk.ru> Message-ID: References: <20120531025206.GA11699@admin.sibptus.tomsk.ru> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Thu, 31 May 2012 06:57:19 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: 9.0 on SSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2012 12:57:20 -0000 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.