From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8756 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] configure: add gcc flags for better link-time optimization Date: Sat, 24 Oct 2015 15:20:14 -0400 Message-ID: <20151024192014.GP8645@brightrain.aerifal.cx> References: <1445603426-4827-1-git-send-email-vda.linux@googlemail.com> <20151023131202.GI10551@port70.net> <20151023144843.GJ8645@brightrain.aerifal.cx> <20151024124312.GN10551@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1445714436 3692 80.91.229.3 (24 Oct 2015 19:20:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Oct 2015 19:20:36 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-8769-gllmg-musl=m.gmane.org@lists.openwall.com Sat Oct 24 21:20:35 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Zq4Mh-0001Hs-A1 for gllmg-musl@m.gmane.org; Sat, 24 Oct 2015 21:20:31 +0200 Original-Received: (qmail 1783 invoked by uid 550); 24 Oct 2015 19:20:27 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 1763 invoked from network); 24 Oct 2015 19:20:27 -0000 Content-Disposition: inline In-Reply-To: <20151024124312.GN10551@port70.net> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:8756 Archived-At: On Sat, Oct 24, 2015 at 02:43:12PM +0200, Szabolcs Nagy wrote: > * Denys Vlasenko [2015-10-24 00:00:56 +0200]: > > What's importand is how many pages are dirtied. > > Here's a test with Aboriginal's x86_64 static busybox: > > > .... > > > > No. Only two pages are mapped, not three. > > > > This is pretty impressive. However, this is a small busybox config: > > only 31 applet. > > > > I have a complete (~320 applets) 32-bit static busybox config built > > against uclibc, and it has only 2 pages .data+.bss > > > > Will test & see how close to that can musl get. > > > > http://www.etalabs.net/compare_libcs.html > > hm this says min dirty is 3pages on uclibc with static linking. I believe I counted one page of stack in these figures. > in case you repeat the experiments with glibc > a 'dirty pages with static busybox' entry would be > useful on that comparision page. Yes. Before doing much more on the comparison page though I think we should develop a good reproducible way to run these tests. I was ok with something casual when musl was first launched but it feels inappropriate to continue without something more rigorous. Rich