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 1PpWmE-0006p7-5c for garchives@archives.gentoo.org; Wed, 16 Feb 2011 02:05:58 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 52BDAE09A4 for ; Wed, 16 Feb 2011 02:05:57 +0000 (UTC) Received: from outbound.icp-qv1-irony-out2.iinet.net.au (outbound.icp-qv1-irony-out2.iinet.net.au [203.59.1.107]) by pigeon.gentoo.org (Postfix) with ESMTP id 8968EE08F0 for ; Wed, 16 Feb 2011 01:58:51 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjUGAKq+Wk3LOzTB/2dsb2JhbACXRY4cc70chV4EhQSKOBo X-IronPort-AV: E=Sophos;i="4.60,477,1291564800"; d="scan'208";a="730594504" Received: from unknown (HELO moriah.localdomain) ([203.59.52.193]) by outbound.icp-qv1-irony-out2.iinet.net.au with ESMTP; 16 Feb 2011 09:58:49 +0800 Received: from localhost (localhost [127.0.0.1]) by moriah.localdomain (Postfix) with ESMTP id 8DA511F60B31 for ; Wed, 16 Feb 2011 09:58:49 +0800 (WST) X-Virus-Scanned: amavisd-new at localdomain Received: from moriah.localdomain ([127.0.0.1]) by localhost (moriah.localdomain [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XTRozQQT1uLU for ; Wed, 16 Feb 2011 09:58:44 +0800 (WST) Received: from [192.168.44.2] (rattus [192.168.44.2]) by moriah.localdomain (Postfix) with ESMTP id 1F4A41F60B2F for ; Wed, 16 Feb 2011 09:58:44 +0800 (WST) Subject: Re: [gentoo-user] Re: Prelink on a already fast system From: William Kenworthy To: gentoo-user@lists.gentoo.org In-Reply-To: <4D5A9C98.8030901@gmail.com> References: <4D59BE91.1010602@gmail.com> <4D5A9C98.8030901@gmail.com> Content-Type: text/plain; charset="ISO-8859-1" Organization: Home in Perth! Date: Wed, 16 Feb 2011 09:58:43 +0800 Message-ID: <1297821523.9404.28.camel@rattus> 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 X-Mailer: Evolution 2.32.1 Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: aaf7399fed89480c20b7867ab64599fb On Tue, 2011-02-15 at 09:32 -0600, Dale wrote: > Nikos Chantziaras wrote: > > On 02/15/2011 01:45 AM, Dale wrote: > >> I was curious. I have this new rig and was wondering if prelinking would > >> help any. It's a 4 core AMD 3.2Ghz CPU with 4Gbs, soon to be 8Gbs, of .. > >> Thoughts? Opinions? Personal experience? > > from 'man prelink' 'prelink is a program that modifies ELF shared libraries and ELF dynamically linked binaries in such a way that the time needed for the dynamic linker to perform relocations at startup significantly decreases. Due to fewer relocations, the run-time memory consumption decreases as well (especially the number of unshareable pages). The prelinking information is only used at startup time if none of the dependent libraries have changed since prelinking; otherwise programs are relocated normally.' So I would not expect much gain from fast storage such as an SSD, and also the linker would hopefully have gotten smarter as well, perhaps making prelink redundant. From an "average system" some time ago when prelink first hit gentoo, it made a huge difference in startup times on the likes of openoffice when I did timimgs. All my systems are prelinked these days, and I have not the time to do any tests - is someone able to do before/after tests on some common, but slow loading apps and post here? Settle this one way or another :) Billk -- William Kenworthy Home in Perth!