From owner-freebsd-questions@freebsd.org Thu Sep 15 15:10:42 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13DD6BDB8EF for ; Thu, 15 Sep 2016 15:10:42 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-lf0-x233.google.com (mail-lf0-x233.google.com [IPv6:2a00:1450:4010:c07::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 885C6A84 for ; Thu, 15 Sep 2016 15:10:41 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-lf0-x233.google.com with SMTP id h127so41841157lfh.0 for ; Thu, 15 Sep 2016 08:10:41 -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-transfer-encoding; bh=MYnhrMF8g+JFZRtkWayLqYf7CGZoOw3O4xk08LTLDnI=; b=NUpsowhqDNdEgP3iYXI7d2Q9l7xDsYAiaFFnuA2f3DLx9dLIOlGEyNWoZca/yq1zQQ PsQolzjw6F8+/h10lVfzYfLslAHqltCdJ/zhBdctD7k+EkYwysUMkCpV3p2hZNHxsp1I ZQWAX/GcWVgfFp5D5SmMq5KLF/XdkWhaqc7Ccff6M7ml/2gBil9yPMYzGAc3+ozmb0fJ OpMi2Fc97DmxtnzsHgK+u0MUf96rbX/IdBRrWmC3W9LFTDXjXkUMjxuPTLITYoL+Dc6Q UiaRvu1VCwfupqSZe+oew8ePYh5HMZutz4Fe1ukjqE6sqreOk9OfaCwKvUU5MzT1ngEe So0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MYnhrMF8g+JFZRtkWayLqYf7CGZoOw3O4xk08LTLDnI=; b=S1zYskAAE2K44000okWsEACcy+UPYfBqqLMCrZGAUgJz0NVO7dBSdDsyK/XCEXN/BY LJpV13xX9WZuLyF/Mt7+RyZobiAfovjybSteKtKXBI+VtJMzZIYa45YHHfIGoaHCbbod 8Oax12oYaaotHOopHF2DNqMvOqk6QqmypxHCWKc1/NFdk5SVszk4U56pYqb9S76uPciK mHwKkSdBjfsrwUNqwM2ieWnBoN1NerYQPLUI7LHa2D5Bzud6tYAsRu10pUYo7BCVhtQV uw86c1IBX8pHYJdfI0IS60ooPmXzK5Sb0sBw5uBsk8ljiZxu1NtIu9qgbMIQLMaLlJmv IG7A== X-Gm-Message-State: AE9vXwP3BK/S6BYoZN7gPVIuJKICWBUbsopbCL0Wa9qfPErZg83TRUWvusD4ys6g5kANyg== X-Received: by 10.28.91.11 with SMTP id p11mr3545670wmb.98.1473952239193; Thu, 15 Sep 2016 08:10:39 -0700 (PDT) Received: from gumby.homeunix.com ([81.17.24.158]) by smtp.gmail.com with ESMTPSA id o5sm2876253wmg.16.2016.09.15.08.10.36 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Sep 2016 08:10:38 -0700 (PDT) Date: Thu, 15 Sep 2016 16:10:26 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: Best kind of hard drive for heavy use? Message-ID: <20160915161026.62dffff7@gumby.homeunix.com> In-Reply-To: <20160915155254.768f6f70@archlinux.localdomain> References: <42.56.05022.D3A48D75@dnvrco-oedge02> <20160914120349.76a015cd@gumby.homeunix.com> <20160914175449.185d12b0@archlinux.localdomain> <20160914221954.00fb1d56@gumby.homeunix.com> <20160915013848.5564c238@archlinux.localdomain> <20160915140856.24af27ca@gumby.homeunix.com> <20160915155254.768f6f70@archlinux.localdomain> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.29; amd64-portbld-freebsd10.3) 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2016 15:10:42 -0000 On Thu, 15 Sep 2016 15:52:54 +0200 Ralf Mardorf via freebsd-questions wrote: > On Thu, 15 Sep 2016 14:08:56 +0100, RW via freebsd-questions wrote: > >There's no such thing, you can specify the maximum size of a tmpfs, > >but not how much is kept in RAM. It doesn't matter though, because > >the VM system will handle it better than a simple limit. > > That might be true, but not necessarily is true. It is if you're using UFS and set a sensible tmpfs limit. ZFS does complicate this because it's not well integrated into VM, and I think it still has some problems with swap. > If the handling would > be that good, then I wonder why on Linux the default without an fstab > entry usually is half of the RAM and not the complete RAM. That default doesn't take account of swap, and in the absence of swap you cannot use 100% of the RAM for tmpfs. The important thing is that everything that can't (or shouldn't) be discarded has to fit into swap+ram. Most desktops/workstations have much more memory than they need, in which case you can safely allocate swap plus most of the ram to tmpfs, if you want to.