From owner-freebsd-questions@FreeBSD.ORG Sat Jun 2 05:25:47 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 1795B1065674 for ; Sat, 2 Jun 2012 05:25:47 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (relay2.tomsk.ru [212.73.124.8]) by mx1.freebsd.org (Postfix) with ESMTP id 518E58FC14 for ; Sat, 2 Jun 2012 05:25:46 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.93.1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPSA id 26758422 for freebsd-questions@freebsd.org; Sat, 02 Jun 2012 12:25:38 +0700 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.5/8.14.5) with ESMTP id q525Pbfp042503 for ; Sat, 2 Jun 2012 12:25:38 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.5/8.14.5/Submit) id q525PbKk042502 for freebsd-questions@freebsd.org; Sat, 2 Jun 2012 12:25:37 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Sat, 2 Jun 2012 12:25:37 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Message-ID: <20120602052537.GA42456@admin.sibptus.tomsk.ru> References: <20120531025206.GA11699@admin.sibptus.tomsk.ru> <20120531170035.GA29456@admin.sibptus.tomsk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.livejournal.com/pubkey.bml?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.21 (2010-09-15) 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: Sat, 02 Jun 2012 05:25:47 -0000 Warren Block wrote: [dd] > >>> 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@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) > > That is not aligned, either with 4K or 1M: > (162*512)/4096 = 20.25 > > If the performance is good enough, leave it alone. Use > # diskinfo -tv /dev/ada0p2 > to get an optimistic version, or do some in-depth benchmarking with > benchmarks/bonnie++. > > To get it aligned, back up and repartition: [dd] Warren, Thank you very much for the useful tips. One more question regarding SSD. The FreeBSD installer enabled journaled soft-updates on the filesystem which resides on the SSD. Is it good, bad or irrelevant for the SSD ? /dev/ada0p2 on / (ufs, local, noatime, journaled soft-updates, nfsv4acls) -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru