From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QCXJA-0005xL-Am for garchives@archives.gentoo.org; Wed, 20 Apr 2011 13:19:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26AA41C034; Wed, 20 Apr 2011 13:17:12 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id CD0471C034 for ; Wed, 20 Apr 2011 13:17:11 +0000 (UTC) Received: by wwj40 with SMTP id 40so769948wwj.10 for ; Wed, 20 Apr 2011 06:17:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=Bo82oegMPmjPXZGlhGpxg4/a9KagZ4YUOV+VNJ3FLRU=; b=cFPuyzbNrDkxXwSZTaTCdZdNzi7ayjsC76VczyCdRb2GBQMkVymZpAxp1rQUMqoWcw AxGyOCV636jAf1d/xPYhCk1+EP0Jdi/3wdE4B5M8cor3uBe8VF0VgV57AZKYpdOIlfDZ ytrsiAx5/vwZZl11jgGrd/PYtXYgG5XpJPZdM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=H3FXQkKSDUEQ509TcPVeh+5PrY9jeWmX0tVzMlcADpwTXdHsXQroqMbUjgeOikV0pc 12VjF6QE8e+0Agerdyz6v+nM3Kij8suvP6rpKNeBMA14LrjEf07OgeBv0i4k04zrdMVc jYFGwGK1WFgUmmFvUsFA1lWRUqASEhQoMR2I8= Received: by 10.216.134.230 with SMTP id s80mr7181795wei.74.1303305430997; Wed, 20 Apr 2011 06:17:10 -0700 (PDT) Received: from nazgul.localnet (196-215-19-231.dynamic.isadsl.co.za [196.215.19.231]) by mx.google.com with ESMTPS id n2sm451894wej.46.2011.04.20.06.17.08 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 20 Apr 2011 06:17:10 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Howzat! Date: Wed, 20 Apr 2011 15:16:40 +0200 User-Agent: KMail/1.13.6 (Linux/2.6.38-ck; KDE/4.6.2; x86_64; ; ) References: <201104180228.59487.peter@humphrey.ukfsn.org> <20110420092619.48AF730E9@data.antarean.org> <20110420123833.C496B30E9@data.antarean.org> In-Reply-To: <20110420123833.C496B30E9@data.antarean.org> 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 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201104201516.40996.alan.mckinnon@gmail.com> X-Archives-Salt: X-Archives-Hash: b8b623f2ebafad5044bf50a47a331e33 Apparently, though unproven, at 14:37 on Wednesday 20 April 2011, Joost Roeleveld did opine thusly: > On Wednesday 20 April 2011 11:25:27 Joost Roeleveld wrote: > > On Wednesday 20 April 2011 03:42:13 Dale wrote: > > > Joost Roeleveld wrote: > > > > On Tuesday 19 April 2011 17:54:02 Dale wrote: > > > >> Kfir Lavi wrote: > > > >>> I do a lot of compiling on my laptop using Catalyst for > > > >>> embedded. > > > >>> I upgraded my RAM to 8GB (2x4GB = 90$ ebay). > > > >>> I mount /var/tmp as tmpfs. > > > >>> Thats how I keep my SSD ;) > > > >>> > > > >>> Kfir > > > >>> > > > >>> -- > > > >>> Poison [BLX] > > > >>> Joshua M. Murphy > > > >> > > > >> I got 16Gbs in my rig and I mounted portages work directory on > > > >> tmpfs, > > > >> it > > > >> was actually slower. That is likely a good idea to keep from > > > >> wearing > > > >> out the SSD but it doesn't seem to make anything compile faster. > > > > > > > > Strange, it actually got faster on mine when doing that. > > > > Did you mount with "noatime"? :) > > > > > > > > -- > > > > Joost > > > > > > Yep. It actually took a few seconds longer compiling in memory. I > > > thought that was weird to tho. It doesn't make much sense to me. > > > > > > Dale > > > > > > :-) :-) > > > > Hmm... > > Will be doing some timing-tests then.... > > Openoffice is a good one for that ;) > > Ok, just done the tests. using tmpfs for /var/tmp/portage is quicker, but > not by much. > > Without TMPFS: > # time emerge -v openoffice > real 32m44.742s > user 20m18.320s > sys 5m38.000s > > With TMPFS: > # mount -onoatime,size=7G -ttmpfs none /var/tmp/portage > # time emerge -v openoffice > real 31m30.835s > user 20m3.510s > sys 5m38.030s > > Specification of this machine: > 12GB RAM > Quad Core Xeon W3565 @ 3.2Ghz with HT enabled > > There are 2 drives in stripe-mode (software RAID-0) which does speed up the > I/O a lot. I'd say the entirety of /var/tmp/portage for your OOo build fits into your ram disk cache so very little actual disk IO is happening. I also noticed before switching to libreoffice-bin that the ooo build was largely cpu-bound anyway (disk light flashed seldom) -- alan dot mckinnon at gmail dot com