Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] SDD strategies...
Date: Tue, 17 Mar 2020 09:16:08
Message-Id: 5597188.lOV4Wx5bFT@peak
In Reply to: Re: [gentoo-user] SDD strategies... by "Petr Vaněk"
1 On Tuesday, 17 March 2020 09:04:55 GMT Petr Vaněk wrote:
2
3 > I use tmpfs to reduce compilation writes [1].
4 >
5 > tmpfs /var/tmp/portage/
6 > tmpfs uid=portage,gid=portage,mode=0775,size=2G,noatime 0 0
7 > tmpfs /tmp/ tmpfs
8 mode=0777,size=1G,noexec,nosuid,noatime 0 0
9 >
10 > 2G is usually enough for most of packages.
11 >
12 > [1] https://wiki.gentoo.org/wiki/Portage_TMPDIR_on_tmpfs
13
14 Do you need to specify a size? I just let the kernel juggle the allocation of
15 memory to tmpfs and everything else. That is what it's for, no? :)
16
17 --
18 Regards,
19 Peter.

Replies

Subject Author
Re: [gentoo-user] SDD strategies... "Petr Vaněk" <arkamar@×××××.cz>