From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7188 Path: news.gmane.org!not-for-mail From: John Mudd Newsgroups: gmane.linux.lib.musl.general Subject: Re: musl 14x slower? Date: Fri, 13 Mar 2015 16:26:10 -0400 Message-ID: References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c2cd4ece9ee40511315050 X-Trace: ger.gmane.org 1426278413 17687 80.91.229.3 (13 Mar 2015 20:26:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Mar 2015 20:26:53 +0000 (UTC) Cc: John Mudd To: musl Original-X-From: musl-return-7201-gllmg-musl=m.gmane.org@lists.openwall.com Fri Mar 13 21:26:52 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 1YWWAV-0003xQ-Pv for gllmg-musl@m.gmane.org; Fri, 13 Mar 2015 21:26:51 +0100 Original-Received: (qmail 7265 invoked by uid 550); 13 Mar 2015 20:26:50 -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 7184 invoked from network); 13 Mar 2015 20:26:41 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=sbwaBzONnSAT3VUOYKS8zd2+M40fTLaGRkkmeNUnFyQ=; b=dYGtRMv1D9xDow4H8WKtrPcmE1P9UghNk486I79hctZH1V+QhN3e66UPhju0c4EhX2 2NeLDVsSWdhO2C6Od3Bz4CkCbBHN6H4B7AwdDOX9HLPuYbgHhj5+ho5NSyhOClUJ9Jgt zANqcWmXaue9RmXfGB9/6FpS/LUBy793B8VBoKCQXF9ep8f4V03zh8NTpZ2n/El9leF/ adYdLDVORMr/G8JQs/agH2zLqlux06Y8XyGkm/iuUBaudi3nMOXblmm8rQxQoevU4uPw sPoSZGuCxYs5E3EPTFD4HAS7miVpA/yLXUcOrZkEKOr/CRP0aKf+6qCgyKzN6E4/ntml TnyA== X-Received: by 10.50.4.97 with SMTP id j1mr52319426igj.46.1426278390338; Fri, 13 Mar 2015 13:26:30 -0700 (PDT) In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:7188 Archived-At: --001a11c2cd4ece9ee40511315050 Content-Type: text/plain; charset=ISO-8859-1 I think I found the cause. I added --enable-cassert Postgres option when building Postgres with musl. This makes more sense. On Fri, Mar 13, 2015 at 3:53 PM, John Mudd wrote: > Please cc me on replies. > > I built Postgres with musl. I used version 1.1.0. That works well and I've > been distributing musl Postgres in production. > > I still have an install running a previous build using standard libc from > and old 2.4 kernel build. The "native" build runs 14x faster. And this is > not trying to do anything fancy, just sequentially reading records from a > 400 MB Postgres table. > > native: 0:25 > musl: 5:42 > > I know my musl version is dated but is this slow performance to be > expected? > > John > --001a11c2cd4ece9ee40511315050 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I think I found the cause. I added --enable-cassert Postgr= es option when building Postgres with musl. This makes more sense.=A0
=

On Fri, Mar 13, 2= 015 at 3:53 PM, John Mudd <johnbmudd@gmail.com> wrote:
=
Please cc me on replie= s.

I built Postgres with musl. I used version 1.1.= 0. That works well and I've been distributing musl Postgres in producti= on.

I still have an install running a previous bui= ld using standard libc from and old 2.4 kernel build. The "native"= ; build runs 14x faster. And this is not trying to do anything fancy, just = sequentially reading records from a 400 MB Postgres table.

native: 0:25
musl: 5:42

I know = my musl version is dated but is this slow performance to be expected?
=

John

--001a11c2cd4ece9ee40511315050--