Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] To swap or not to swap? Is it really needed?
Date: Fri, 30 Dec 2011 14:13:54
Message-Id: 201112301411.47524.peter@humphrey.ukfsn.org
In Reply to: Re: [gentoo-user] To swap or not to swap? Is it really needed? by Paul Hartman
1 On Friday 30 December 2011 14:02:46 Paul Hartman wrote:
2 > On 12/30/2011 07:32 AM, Michael Mol wrote:
3 > > Hm. tmpfs defaults (at least on my system) to a capacity of about 3GB.
4 > > What do you have for mount options in fstab?
5 >
6 > You can set the size with size=XXXX parameter. For example I have mine
7 > set to 10G:
8 >
9 > none /dev/shm tmpfs defaults,size=10G 0 0
10 >
11 > It is shared memory, so that 10G is not actually used unless it is...
12 > well, actually used. :)
13
14 ...and you can set the size to be more than the RAM you have; any used
15 excess gets swapped out.
16
17 --
18 Rgds
19 Peter Linux Counter 5290, 1994-04-23

Replies

Subject Author
Re: [gentoo-user] To swap or not to swap? Is it really needed? Paul Hartman <paul.hartman+gentoo@×××××.com>