From owner-freebsd-questions@FreeBSD.ORG Tue Sep 9 15:20:28 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0E246465 for ; Tue, 9 Sep 2014 15:20:28 +0000 (UTC) Received: from mail-wg0-x22d.google.com (mail-wg0-x22d.google.com [IPv6:2a00:1450:400c:c00::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 99AC1A25 for ; Tue, 9 Sep 2014 15:20:27 +0000 (UTC) Received: by mail-wg0-f45.google.com with SMTP id z12so2892263wgg.16 for ; Tue, 09 Sep 2014 08:20:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=rZ5RlwpO86tOV7J4Vd7Pn0wyVW6aN6eQlZKIQ9Ky0v4=; b=xfKrYbQ65UiEJVuOxGby+tulquHbe2x/7tg9BBDryW7QfpSY7BwviaLaM++5eh1TDG HpyFRPDPjsMErAKpUsJvTju7xyZKpzCruwdC+1SgiWw9LoK5hOKTu80tflHgam8xqtcs i+AS7zKYf41wZuo4bcNUcbndkgy/vHLSPAoaUoBsUUutOzONmLs4weNf1hZWsQ/mhs3f ktKOGPitGmFT1zSQAQUf+jrcfUNdV5U/gOJAt1dvZn/Zx5mzOo88bzKzHRfU+9VLYpj1 qChxiOIHV5F1SCu5X3HYcT40BZMvJbvhWeZvKNzz4YTfBZ+w25vlN4aYP3oXB4p1AwmG liZQ== X-Received: by 10.195.13.34 with SMTP id ev2mr42126399wjd.55.1410276025487; Tue, 09 Sep 2014 08:20:25 -0700 (PDT) Received: from gumby.homeunix.com (2e40c581.skybroadband.com. [46.64.197.129]) by mx.google.com with ESMTPSA id pk9sm15267819wjb.16.2014.09.09.08.20.24 for (version=SSLv3 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Sep 2014 08:20:24 -0700 (PDT) Date: Tue, 9 Sep 2014 16:20:23 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: A litmus check request Message-ID: <20140909162023.3f0cb6d7@gumby.homeunix.com> In-Reply-To: <540E21A0.4070103@comcast.net> References: <540E21A0.4070103@comcast.net> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2014 15:20:28 -0000 On Mon, 08 Sep 2014 15:37:36 -0600 Dave Babb wrote: > I am about to do a lot of compiling. My copy of FreeBSD10.0 x64 P7 > runs on a 1TB Samsung EVO. I used wblock's excellent articles to set > it all up so that trim was utilized. > > I am asking that someone please review this attached fstab and > validate for me, that at no time will any compilation intermediate > files, or ".o" files will be written to the SSD. I am trying to > protect the SSD. If you haven't already done so I'd suggest you have a look at the output of smartctl -a (from sysutils/smartmontools) and see if Samsung have added an attribute to track total writes into the NAND flash. I recently installed an SSD, and found buildworld produced 6 GB of writes and buildkernel a further 6 GB. It's a substantial overhead, but not ruinous if you occasionally want to install world by rebooting into single-user mode. An alternative might be to build with MAKEOBJDIRPREFIX set to /tmp/obj and then copy /tmp/obj to /usr/obj.