From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 23DE01381F3 for ; Sun, 21 Jul 2013 14:42:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D02A7E087D; Sun, 21 Jul 2013 14:42:14 +0000 (UTC) Received: from imap1-2.ox.registrar-servers.com (imap1-2.ox.registrar-servers.com [192.64.116.200]) by pigeon.gentoo.org (Postfix) with ESMTP id D73BFE0839 for ; Sun, 21 Jul 2013 14:42:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by oxmail.registrar-servers.com (Postfix) with ESMTP id 3D5ED20007E for ; Sun, 21 Jul 2013 10:42:13 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap1.ox.registrar-servers.com Received: from oxmail.registrar-servers.com ([127.0.0.1]) by localhost (imap1.ox.registrar-servers.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id jrKU6WsSLIv5 for ; Sun, 21 Jul 2013 10:42:13 -0400 (EDT) Received: from [192.168.1.100] (unknown [146.90.250.90]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by oxmail.registrar-servers.com (Postfix) with ESMTPSA id D0DF2200073 for ; Sun, 21 Jul 2013 10:42:12 -0400 (EDT) Message-ID: <51EBF343.4060905@p8952.info> Date: Sun, 21 Jul 2013 15:42:11 +0100 From: Peter Wilmott User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20130220 Thunderbird/10.0.11 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] more on SSD: swap References: <20130721113141.6be7f5ad@acme7.acmenet> In-Reply-To: <20130721113141.6be7f5ad@acme7.acmenet> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: e25d541e-ae2a-4e7a-a220-e6e6fbba5268 X-Archives-Hash: c0f70c2f8fb3b82c2c75ed9e54d8811d On 21/07/13 15:31, luis jure wrote: > OK, now i have my system successfully installed and running on my new SSD. > now i have to decide what to do with the rest of the disk (it's a 256MB > samsung). > > the first big question is: what about swap? i found some web pages > (perhaps old) stating that it's not wise to put swap on the SSD because of > all the read/writes. but apparently from what i read on the recent > thread on this list, that shouldn't be much of a concern now. > > i also read somewhere that if you have swap on the SSD and want to avoid > unnecessary read/writes, you can reduce swappiness. i have 12GB RAM and i > think normally i don't really need swap space on disk, so i thought that > could be a good idea. > > so what i'm planning to do now is: > > - put swap on the SSD > - reduce swappiness > - put /var/tmp/portage on tmpfs > > so, do you guys think that's a good setup? > TBH, unless you are really stressing your RAM usage (Lots of VMs or Java applications, stuff like that) I'd go without swap. I've been running swapless on 8GB of RAM for a number of years now with no issues. As for /var/tmp/portage on tmpfs, this is fine 95% of the time, however even with ~2GB I allocate some packages (Chromium, LibreOffice, ect) will fail to compile due to lack of space. In these cases I just un-mount /var/tmp/portage, do the compile on the disk, and then re-mount it.