From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: musl 14x slower?
Date: Fri, 13 Mar 2015 15:58:27 -0400 [thread overview]
Message-ID: <20150313195827.GN23507@brightrain.aerifal.cx> (raw)
In-Reply-To: <CAGDMk9EZPegwy0-4=9vvJZEHrVDkmEKaMskAZKKcn9p7RdhmqQ@mail.gmail.com>
On Fri, Mar 13, 2015 at 03:53:20PM -0400, 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?
No. Is it possible that you built musl and/or the musl-linked
postgresql with -O0? I would suggest using perf(1) to measure where
all the additional time is being spent.
Rich
next prev parent reply other threads:[~2015-03-13 19:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-13 19:53 John Mudd
2015-03-13 19:58 ` Rich Felker [this message]
2015-03-13 20:26 ` John Mudd
2015-03-14 2:27 ` Rich Felker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150313195827.GN23507@brightrain.aerifal.cx \
--to=dalias@libc.org \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).