From owner-freebsd-questions@FreeBSD.ORG Mon Sep 8 23:43:51 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 D0A71522 for ; Mon, 8 Sep 2014 23:43:51 +0000 (UTC) Received: from qmta04.emeryville.ca.mail.comcast.net (qmta04.emeryville.ca.mail.comcast.net [IPv6:2001:558:fe2d:43:76:96:30:40]) by mx1.freebsd.org (Postfix) with ESMTP id B031D827 for ; Mon, 8 Sep 2014 23:43:51 +0000 (UTC) Received: from omta08.emeryville.ca.mail.comcast.net ([76.96.30.12]) by qmta04.emeryville.ca.mail.comcast.net with comcast id onVx1o0040FhH24A4njqTP; Mon, 08 Sep 2014 23:43:50 +0000 Received: from Curly-Sr.dbis.net ([50.183.226.175]) by omta08.emeryville.ca.mail.comcast.net with comcast id onjp1o0073nhSLa8UnjpTG; Mon, 08 Sep 2014 23:43:50 +0000 Message-ID: <540E3F32.8050404@comcast.net> Date: Mon, 08 Sep 2014 17:43:46 -0600 From: Dave Babb User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: A litmus check request References: <540E21A0.4070103@comcast.net> <540E33BB.9000606@FreeBSD.org> In-Reply-To: <540E33BB.9000606@FreeBSD.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1410219830; bh=KDdolZljdo8ghXlO5jZC7MbqDH5yU1KjUq6p2ITuWd4=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=uqmQuK6rGIZnM48goMDEtce5V0xn9rGZG8U07oLbcpSunDE8srutvXxNQq60+2piS PEKtw6gvBeZOg1s8x5LG+6vJ8k4rp22jg82qZMcGO4jfgchDkbO03isWVJQ35XVdMT 0au68RGF0W7sb3rNPWlQsZXRoLLAUtBdF1mlDpJ6+ck9z8UVALfPS/K2azyfzmTDxU DUSxey1anaxUCD5tOubqXiHGGn/wR95GoYF6nbYJoBRKekNPKsQs2HVIW9rcCzM03Y 0S26OdGBauYevp3EPaXljv4fXCdsZoAnVk+mAy29C3b6jVwa520I6LQv0/L3xR0dD7 5fh4Zpta41U0Q== Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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: Mon, 08 Sep 2014 23:43:52 -0000 Hello Matthew, I have no swap defined....and so far have only used ~ 2GB of RAM when I did the latest C++Project for a client.... I am not worried about the size, I am worried about the number of writes. I tend to write my software modularly...so I don;t think this latest project is going to be too heavy on the ram either. I'll add the noatime flag to the tmpfs mounts.....I wasn't aware that you could have additional flags on their mounts..... Thank You very much for the reply...I really appreciate it. Sincerely and respectfully, Dave On 09/08/14 16:54, Matthew Seaman wrote: > On 08/09/2014 22:37, Dave Babb wrote: >> 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. > That should work pretty well. However what's your swapinfo say? If you > do happen to fill up RAM with your tmpfs, you'll end up swapping a bunch > of memory pages out to the swap area, and if your swap is on the SSD, > then you've pretty much defeated the object of the whole exercise. > > That aside, it looks good. If it's possible, adding noatime to the > tmpfs mount flags will help with performance. > > Cheers, > > Matthew >