From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7360 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Daniel_Cegie=C5=82ka?= Newsgroups: gmane.linux.lib.musl.general Subject: Re: musl perf, 20% slower than native build? Date: Wed, 8 Apr 2015 21:28:50 +0200 Message-ID: References: <20150408160507.GB31681@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1428521372 9309 80.91.229.3 (8 Apr 2015 19:29:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Apr 2015 19:29:32 +0000 (UTC) Cc: John Mudd To: musl@lists.openwall.com Original-X-From: musl-return-7373-gllmg-musl=m.gmane.org@lists.openwall.com Wed Apr 08 21:29:26 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 1YfvfB-0003rW-02 for gllmg-musl@m.gmane.org; Wed, 08 Apr 2015 21:29:25 +0200 Original-Received: (qmail 25930 invoked by uid 550); 8 Apr 2015 19:29:22 -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 25912 invoked from network); 8 Apr 2015 19:29:22 -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=BIcMKF7pCSM1k5kjzg/wkFjQHv0FWYLmdmg7W9JECTo=; b=Cnyw4xVqSvmPUhbvYinndWv5SgS5rsFONtXYOF+pD63bGwgy/q9Czd93D6Mhoex13P YixNvgzUdrv0657AHaNccDAWF6sGxTHaBC0JvpwmCwGkhacPcqcQmW4gVsxjfyHN+7M2 fypZawqqbbBe7ZIs5HoRtDCUOdBDRyoqtzp2mMkp3FwneL3Ntk0CVo0TJ03h73vGvO2o FI7BR8CDRRLedSLDr/BzNjOxozdrBljwzibnz2GDKvk4Eu0E9gWBs3qTrA1O2tjplxu3 GAkSdhjw0DYxTMS+ZERsPUyUakcvVaBMF4xE3POtxeHVSavTNvDgGm+2XGzrHKhWTGSc 8/Jw== X-Received: by 10.55.43.220 with SMTP id r89mr51838772qkr.27.1428521350459; Wed, 08 Apr 2015 12:29:10 -0700 (PDT) In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:7360 Archived-At: 2015-04-08 21:10 GMT+02:00 John Mudd : > Here's output from perf record/report for libc. This looks consistent with > the 5% longer run time. > > native: > 2.20% python libc-2.19.so [.] __memcpy_ssse3 > > musl: > 4.74% python libc.so [.] memcpy I was able to get twice speed-up (in my code) just by replacing memcpy in the musl. Daniel