Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volkerarmin@××××××××××.com>
To: gentoo-user@l.g.o
Cc: luis jure <ljc@××××××××××××.uy>
Subject: Re: [gentoo-user] more on SSD: swap
Date: Sun, 21 Jul 2013 19:39:42
Message-Id: 1631634.OetLsR6QRN@localhost
In Reply to: [gentoo-user] more on SSD: swap by luis jure
1 Am Sonntag, 21. Juli 2013, 11:31:41 schrieb luis jure:
2 > OK, now i have my system successfully installed and running on my new SSD.
3 > now i have to decide what to do with the rest of the disk (it's a 256MB
4 > samsung).
5 >
6 > the first big question is: what about swap? i found some web pages
7 > (perhaps old) stating that it's not wise to put swap on the SSD because of
8 > all the read/writes. but apparently from what i read on the recent
9 > thread on this list, that shouldn't be much of a concern now.
10 >
11 > i also read somewhere that if you have swap on the SSD and want to avoid
12 > unnecessary read/writes, you can reduce swappiness. i have 12GB RAM and i
13 > think normally i don't really need swap space on disk, so i thought that
14 > could be a good idea.
15 >
16 > so what i'm planning to do now is:
17 >
18 > - put swap on the SSD
19
20 don't make a swap partition, use a swapfile.
21
22 > - reduce swappiness
23
24 only swapon if you really need it.
25
26 > - put /var/tmp/portage on tmpfs
27
28 good, but also put /tmp on tmpfs.
29
30 And maybe /var on a harddisk.
31
32 >
33 --
34 #163933

Replies

Subject Author
Re: [gentoo-user] more on SSD: swap Neil Bothwick <neil@××××××××××.uk>