From owner-freebsd-questions@freebsd.org Wed Sep 14 21:20:01 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 0C2DCB9639A for ; Wed, 14 Sep 2016 21:20:01 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (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 9C27D1241 for ; Wed, 14 Sep 2016 21:20:00 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wm0-x234.google.com with SMTP id k186so31909733wmd.0 for ; Wed, 14 Sep 2016 14:20:00 -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=tZ3WFchy0fnwIuXoDEZ5V74Jg23Co8Q0Vnb7VzZvRoc=; b=iQ1b3E0hjCM7aEg6oPEdjMGWytPIZn9D1hcpsD04CM7loQPorNVTaVRngYDmZUQa+8 qQcYXSAWcYJuCTqPpTTtWITT2HwQsrVcxr1wo+ur/ZQs3obfwJOkpF9/a9npE1YvfTN+ AvmVRnsBuB1sot2MKZQD4B39ROC08cLePAbpYmtsdPAStWB63lwAoG9VOnJSZHMBdPRm LO72j9Oy/n//yZSphDyi4BfrcvSAuhKjkWzAaWJ4j4vzIR5Gdjsi++VaSNA9UrAZzsz9 57TSSXGaPybKn3e0iHK/lIhEl+Oo7u2uWUT3FvI+BiP611/lenIebtO3n0r783ZUOgCJ 6Q2Q== 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=tZ3WFchy0fnwIuXoDEZ5V74Jg23Co8Q0Vnb7VzZvRoc=; b=gtc59TrOJkbgLeTYiAFSdkqDHxn3xMnYP51jIe9LBwnLXoYr5UnDcoOUu+knTiZouD /kjf2SsJAqLU7hnMZjn8Q6b/X27OUIZ92Q7G/3xbg7tSu8Vska3k/djSkMjEAfr51QHq hSuS+utTflgICHS9jIF/BJnlyVYuPc+3OoGfYf3jswprSzsKAEtYK4MUru9qPYd9ivpj cw/BVBBMjJvIC0cb1Nl0Vg9hEJINpCpPPSLBbvjGV6zgUxZv16j6uNHw5fMCkkVwpvFV DOfeEuXRNdFYDnJe4swkgZNobzLT5mhSjYDt00um6CvUzmqoUgF/C8SSu9i4LlI3FEJs 9kww== X-Gm-Message-State: AE9vXwP6RRpJPD0vbM0pDRIpQkFIpHuSLJRa+H/qLhkDdZM9hJlj6+y7Qx5hy6/P41BBMg== X-Received: by 10.194.29.7 with SMTP id f7mr4392692wjh.99.1473887998349; Wed, 14 Sep 2016 14:19:58 -0700 (PDT) Received: from gumby.homeunix.com ([81.17.24.158]) by smtp.gmail.com with ESMTPSA id ml1sm100487wjb.46.2016.09.14.14.19.56 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 14 Sep 2016 14:19:57 -0700 (PDT) Date: Wed, 14 Sep 2016 22:19:54 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: Best kind of hard drive for heavy use? Message-ID: <20160914221954.00fb1d56@gumby.homeunix.com> In-Reply-To: <20160914175449.185d12b0@archlinux.localdomain> References: <42.56.05022.D3A48D75@dnvrco-oedge02> <20160914120349.76a015cd@gumby.homeunix.com> <20160914175449.185d12b0@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: Wed, 14 Sep 2016 21:20:01 -0000 On Wed, 14 Sep 2016 17:54:49 +0200 Ralf Mardorf via freebsd-questions wrote: > On Wed, 14 Sep 2016 12:03:49 +0100, RW via freebsd-questions wrote: > >I do almost everything like that on tmpfs. > > That was my suggestion, too. However, it has got one pitfall, the size > of tmpfs. At least on Linux a swap doesn't help, if tmpfs should run > out of space. Swap helps in avoiding occasional problems. When I first started using tmpfs I had 1.5 GB of RAM and 4GB of swap and set a limit 4GB (the maximum for i386). I currently have 16GB of RAM and a tmpfs limit of 25GB I don't need that much, I never even come close to running out of memory for port building. I just means that I don't have worry about it. > Anyway, I nearly compile everything in tmpfs with just > 1.9 GiB, just sometimes I enlarge it to 3 GiB or directly use the hard > disk. A kernel not necessarily fails, but could fail to build with > just 1.9 GiB, something like Firefox fails with 1.9 GiB, but at the > moment I can't remember that 3 GiB ever was too small. I've got 4 GiB > or RAM, but a little bit less is available, so a modern machine with > much more than 4 GiB RAM should allow to chose a huge enough tmpfs. IIRC with 4 GiB RAM you can have up to 16 GiB of swap, so you could support up to about 19 GiB of tmpfs if you want.