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 1S6NUt-0005xQ-UH for garchives@archives.gentoo.org; Sat, 10 Mar 2012 14:42:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A50B9E084F; Sat, 10 Mar 2012 14:41:54 +0000 (UTC) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by pigeon.gentoo.org (Postfix) with ESMTP id 59083E07CA for ; Sat, 10 Mar 2012 14:40:20 +0000 (UTC) Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id F061F20DCC for ; Sat, 10 Mar 2012 09:40:19 -0500 (EST) Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute5.internal (MEProxy); Sat, 10 Mar 2012 09:40:19 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=binarywings.net; h=message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type; s=mesmtp; bh=/vQoiw3RiBiVUur8OonVItLw Wt0=; b=i2aRD098BOXj3Ah4aevXmS/Hanu8kixBJ3lro5X1HDO3MRAVWJJzVDAB Yaa5i4FcPjabkfWEgL2FaPyVobIkd5syGcG2+XAplFptB7CgadcIwMGSbJprbjRM MTHcisCUQTCxRap66cQFvAmNAC7tHmDNRYBugGYZfSM5aTix2f0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to :subject:references:in-reply-to:content-type; s=smtpout; bh=/vQo iw3RiBiVUur8OonVItLwWt0=; b=jbqeUhy8Sb/mV2K97oIob+Xo362dqT30kc7a LQ7hGMc11lnXBT9RuLlFiLkT7ISDj1Nisu7tF3gmUaJxjSnBeVJpHpdD05+FcQ0d x4wfkYEhrZqTtbl0ZcP1Wbo2SIWtid9PsNIn/6518uex3ocsZp7NNnXou+Jr+7en +abo2lU= X-Sasl-enc: zGcFh+3Xl6bNtmOn8iZk0q4NtqBU0IhZOdAsQxQXdDrH 1331390419 Received: from [192.168.5.18] (serv.binarywings.net [83.169.5.6]) by mail.messagingengine.com (Postfix) with ESMTPSA id C96BB48247F for ; Sat, 10 Mar 2012 09:40:18 -0500 (EST) Message-ID: <4F5B67C9.5040003@binarywings.net> Date: Sat, 10 Mar 2012 15:40:09 +0100 From: Florian Philipp User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120303 Thunderbird/10.0.1 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] Best file system for portage tree? References: <20120310143015.6d507af3@weird.wonkology.org> In-Reply-To: <20120310143015.6d507af3@weird.wonkology.org> X-Enigmail-Version: 1.3.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4953C86C31258E18CB7E0647" X-Archives-Salt: c8db77fe-64d7-4f4e-962f-7f1e383022b6 X-Archives-Hash: d2febec72b75d8ce7f1535813e7593a4 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4953C86C31258E18CB7E0647 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 10.03.2012 14:30, schrieb Alex Schuster: > Hi there! >=20 > Is there an advantage in putting the portage tree on an extra partition= ? >=20 Yes. It allows you to use a smaller and more appropriate block size like 1k or 2k which decreases internal fragmentation. It also increases locality of data, meaning that you won't scatter your files all over your 2TB hard disk. Ext* and co. have mechanisms to prevent this but it still helps to enforce it. > Currently, I'm using reiserfs, because I read that it is efficient when= > using many small files. On the other hand I also heard that it tends to= > get slower with every emerge --sync. >=20 Yes, that's a problem of every file system. Reiserfs (especially without notail) and btrfs are more prone to this due to their internal organizati= on. > Space is no longer an argument in these days, at least for my desktop > machine. But I would like to optimize for speed -- emerge -DputnVj > @world takes quite a while to calculate, I assume this is because so ma= ny > ebuild files have to be accessed. >=20 Not just ebuilds. You also have to consider /var/cache/edb and /var/db/pkg. Be careful with the latter one. You don't want to loose its content. > Any tips on this? Does it make sense to use a special file system just > for the portage tree? What would be best? Would it help to re-create th= is > file system from time to time in case it gets slower with every sync? O= r > wouldn't I notice a difference if I just used a big ext4 partition for > all portage related stuff? >=20 > Anyone using a compressed RAM file system for that? :) >=20 > Wonko >=20 Recreating it certainly helps. I don't find it worth the effort. though. Regards, Florian Philipp --------------enig4953C86C31258E18CB7E0647 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9bZ88ACgkQqs4uOUlOuU+3dwCbBboO+uVe50QXehKJsoSf1oWb /84AnAnLK8O5/ydcts/pHnHC0k3O2cv9 =r+ly -----END PGP SIGNATURE----- --------------enig4953C86C31258E18CB7E0647--