Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /var/tmp on tmpfs
Date: Fri, 09 Feb 2018 01:35:21
Message-Id: a06fac03-9483-a511-f9c2-eab016ec7d85@gmail.com
In Reply to: Re: [gentoo-user] /var/tmp on tmpfs by gevisz
1 gevisz wrote:
2 > 2018-02-08 21:17 GMT+02:00 Dale <rdalek1967@×××××.com>:
3 >> gevisz wrote:
4 >>> I never used tmpfs for portage TMPDIR before and now decided to give it a try.
5 >>>
6 >>> I have 8GB of RAM and 12GB of swap on a separate partition.
7 >>>
8 >>> Do I correctly understood https://wiki.gentoo.org/wiki/Portage_TMPDIR_on_tmpfs
9 >>> that I can safely set in the fstab the size of my tmpfs to 12GB so
10 >>> that the chromium
11 >>> could be emerged in tmpfs (using the swap) without the need to set notmpfs.conf
12 >>> for chromium and the likes.
13 >>>
14 >>> And I am going to set the whole /var/tmp/ on tpmfs instead of just
15 >>> /var/tmp/portage
16 >>> Is it ok?
17 >> I have 16GBs of memory here and have /var/tmp/portage/ on tmpfs, no
18 >> ccache. With the growing size of packages, I've had to put several on
19 >> regular spinning rust to make sure enough space is available. This is
20 >> my list, so far.
21 >>
22 >> www-client/firefox
23 >> www-client/seamonkey
24 >> app-office/libreoffice
25 >> sys-devel/gcc
26 >> dev-qt/qtwebengine
27 >> dev-qt/qtwebkit
28 > Thank you for your reply and the notmpfs exception list.
29 > I think it would be helpfull not only for me.
30 >
31 >> Those are the ones that tend to run into space problems. Keep in mind,
32 >> I have twice the memory you have. As someone else pointed out, if you
33 >> start using swap, that generally defeats the purpose of tmpfs.
34 >>
35 >> While I'm sure plenty of packages will make good use of portage being on
36 >> tmpfs, there will be quite a few that will have space problems. You
37 >> will need to be ready to make exceptions for those as they show up but
38 >> those in my list are certainly ones that you may want to add before
39 >> trying. There could be exceptions to this based on your habits and
40 >> memory requirements for other things but that is my experience so far.
41 >>
42 >> Hope that helps.
43 >>
44 >> Dale
45 >>
46 >> :-) :-)
47 >>
48
49 You will likely find that you will get some interesting ideas from
50 several posts and then have to bring them together to work for you. 
51 Sometimes, you have to mix and match to find what works for you.  If
52 nothing else, sometimes I post something just in case it may give a
53 person a light bulb moment with a idea that no one even thought to post,
54 including me. 
55
56 Sometimes just having a start point helps.  Heck, we all started from
57 nothing when it comes to Gentoo.  Some of us have been around long
58 enough to learn a lot but forget what we learned.  ROFL 
59
60 Dale
61
62 :-)  :-)