From owner-freebsd-hackers@FreeBSD.ORG Fri May 25 21:12:55 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D80991065783 for ; Fri, 25 May 2012 21:12:55 +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 918BC8FC08 for ; Fri, 25 May 2012 21:12:55 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q4PLCsID063292; Fri, 25 May 2012 15:12:54 -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 q4PLCsBX063289; Fri, 25 May 2012 15:12:54 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 25 May 2012 15:12:54 -0600 (MDT) From: Warren Block To: Matthias Apitz In-Reply-To: <20120525183006.GA1259@tiny> Message-ID: References: <4fb7dfd6.736a980a.186d.ffff902f@mx.google.com> <20120519180901.GA1264@tiny> <20120525183006.GA1259@tiny> 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]); Fri, 25 May 2012 15:12:54 -0600 (MDT) Cc: 'User Wojtek' , rozhuk.im@gmail.com, freebsd-hackers@freebsd.org Subject: Re: proper newfs options for SSD disk X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2012 21:12:55 -0000 On Fri, 25 May 2012, Matthias Apitz wrote: > Talking about another question, related to file systems on SSD: > > My netbook with the two SSD has file systems mounted as: > > $ df -kh > Filesystem Size Used Avail Capacity Mounted on > /dev/ada0s1a 3.7G 567M 3.1G 15% / > /dev/ada1s1a 14G 8.7G 5.9G 60% /usr/local > /dev/md0 125M 88k 115M 0% /tmp > > Below /usr/local is also my (one and only) HOME dir; > > I'm on the way to reinstall all with 10-CURRENT and I'd like to crypt the > partition /dev/ada1s1a with geli(8). > > Any objections against running geli(8) on SSD? Not that I know of. The encryption happens before the write, so it won't (shouldn't) cause any extra writes. Be prepared for a performance drop. If you have a CPU with AESNI, it helps. > Should I split /dev/ada1 into two separate partitions, one for real > /usr/local and one for my HOME and only crypt this with geli(8)? Hard to say, but I think that encrypting only the necessary data would be better for netbooks with relatively slow CPUs.