From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 78EA91382C5 for ; Thu, 8 Feb 2018 19:17:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A1BCE0B47; Thu, 8 Feb 2018 19:17:17 +0000 (UTC) Received: from mail-yw0-x22c.google.com (mail-yw0-x22c.google.com [IPv6:2607:f8b0:4002:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DEBF3E0B33 for ; Thu, 8 Feb 2018 19:17:16 +0000 (UTC) Received: by mail-yw0-x22c.google.com with SMTP id c78so3400158ywb.13 for ; Thu, 08 Feb 2018 11:17:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=25p03R8MIi12v7w9eLs9abDvdY9BdpyA3mHhjlxITXA=; b=Vrr7mbZBTQjrCvATOPxPP4KlUTUljSqx83mP/tOQzHXfuOdwvuplbO8R1iqZDUU5yb O5wwIMD0vxiBJlkmAZcv5VGmCD/DxkGStnWbyhYg9CwWlpq6N9Ehi4A3wAwWnmiAiXYL TtCSe+okadG5AVflyXZWyqZLa/qc2cgqauGTE0C2Jzz6CLua9w/pPjEiMSs3sAnI926j pDVbfAlmYTqPThL9YSI1i9LK5qb8vNt6CqXUqfZctWS5D2xlM89jX8DKIaYhk3EtSB/G IoJbemr8dKuL2JTVYUAta2jFeRsZAe2hFBtD1g6o+vf/XEXekZiAnj4TVYb4MnfsB+on vsDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=25p03R8MIi12v7w9eLs9abDvdY9BdpyA3mHhjlxITXA=; b=Ab187JkGAI7ChD6fFmK7RyET8y4mVGKvp2ge4lSh4kzK7BGCeO+ezmg6hqT9O7P4Zz /fqkrXgjN/8CpKFF6XlBslHlvnZbzpsYxHMXX6RWRtRdtGpeNTQgg3ArgZZsvUsHfKEx VcnXTCiALAffOhvM2BttX3y7B4X8nrM93Y+AngdmQ5W19PyzitjLLlfJBHJiJpIUtSCH I1Wn4r/Gnub6VKuaIpGFdjcfOUMyThU6Z/8tlWx+M7h3KDvOgZ7961GuIlivjT4zYdpC kCVNK779CYsOMuolgGAF9vk96RNAuuhX37qG7DhVIUFfyl0R/iis79EiUInepeY25PIP LZ2g== X-Gm-Message-State: APf1xPAQnM3jcCddRH3m/d1dXDXd0ymeiLsXAiMh2l82uTdRv/iSKRAw 2yyY0KoFgArwO+QbRi39XCg= X-Google-Smtp-Source: AH8x227PXiaXRKT/hHfqyNZnxJ7cc2qmbyA+InUPGmsqJJjVnSNhC/R6a+pnFjq6TzYA2YjnelOrrA== X-Received: by 10.37.90.134 with SMTP id o128mr89817ybb.226.1518117436055; Thu, 08 Feb 2018 11:17:16 -0800 (PST) Received: from [192.168.2.5] (adsl-65-0-93-225.jan.bellsouth.net. [65.0.93.225]) by smtp.gmail.com with ESMTPSA id e130sm228874ywc.53.2018.02.08.11.17.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Feb 2018 11:17:14 -0800 (PST) Subject: Re: [gentoo-user] /var/tmp on tmpfs To: gentoo-user@lists.gentoo.org References: From: Dale Message-ID: <886dc935-5bef-e683-6780-bdaf0b66c500@gmail.com> Date: Thu, 8 Feb 2018 13:17:13 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.6.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: a6c2086c-06c1-477c-9c11-ad90bc7d1c05 X-Archives-Hash: 9b5be53ccd1a166a091577e6c610a54f gevisz wrote: > I never used tmpfs for portage TMPDIR before and now decided to give it a try. > > I have 8GB of RAM and 12GB of swap on a separate partition. > > Do I correctly understood https://wiki.gentoo.org/wiki/Portage_TMPDIR_on_tmpfs > that I can safely set in the fstab the size of my tmpfs to 12GB so > that the chromium > could be emerged in tmpfs (using the swap) without the need to set notmpfs.conf > for chromium and the likes. > > And I am going to set the whole /var/tmp/ on tpmfs instead of just > /var/tmp/portage > Is it ok? > > I have 16GBs of memory here and have /var/tmp/portage/ on tmpfs, no ccache.  With the growing size of packages, I've had to put several on regular spinning rust to make sure enough space is available.  This is my list, so far. www-client/firefox www-client/seamonkey app-office/libreoffice sys-devel/gcc dev-qt/qtwebengine dev-qt/qtwebkit  Those are the ones that tend to run into space problems.  Keep in mind, I have twice the memory you have.  As someone else pointed out, if you start using swap, that generally defeats the purpose of tmpfs.  While I'm sure plenty of packages will make good use of portage being on tmpfs, there will be quite a few that will have space problems.  You will need to be ready to make exceptions for those as they show up but those in my list are certainly ones that you may want to add before trying.  There could be exceptions to this based on your habits and memory requirements for other things but that is my experience so far.  Hope that helps. Dale :-)  :-)