From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15138 invoked by alias); 31 Mar 2014 11:44:16 -0000 Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org Received: (qmail 15108 invoked by uid 89); 31 Mar 2014 11:44:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ig0-f181.google.com Received: from mail-ig0-f181.google.com (HELO mail-ig0-f181.google.com) (209.85.213.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 31 Mar 2014 11:44:11 +0000 Received: by mail-ig0-f181.google.com with SMTP id h18so3355326igc.2 for ; Mon, 31 Mar 2014 04:44:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=08sSDxuhK/Lfpi+gM+tMvt7Q3/yux0utAytRLjpMvGA=; b=P/oPhUUmVmNtso7pbsa2NQCwQlz64kGDlt2UF6Xp9NCLHVS4knf3BZ+DKu20ijTPNl ZYH+hmhX5ayFtkGUmAbSWHcKuD7UlU4t7W7gMO9FY5Hs8iFPtg9GHdEq0VRgu4XNhb0T exIuMWAfN0Zbpfd+13brXsIG1EjgL0SDZ+wPulxe5wv+ekBbCJsCE2x2K0eLj2xaaq1+ UEk8o9yaCJQQdTzEcL2lyNyw1zQA1RLbtQnrDKGmmeo7suxncL4d8c8OhN730dAg1uol LbM06MUMpFi7bFcVMla8/mz4s0FZfZQrUUGONfBghrj8DOSYaTSaGuP+BOX3xeqbFE+1 CJXA== X-Gm-Message-State: ALoCoQkkIYnqmhRwzgPnpXvcYEJ2abPEKC3+LMNcW2ziFejFfyrQSu5RdzuMaZrueAGyOHSJlQIk MIME-Version: 1.0 X-Received: by 10.43.75.2 with SMTP id yy2mr20711951icb.54.1396266249225; Mon, 31 Mar 2014 04:44:09 -0700 (PDT) Received: by 10.64.7.228 with HTTP; Mon, 31 Mar 2014 04:44:09 -0700 (PDT) In-Reply-To: <1381182784.18547.138.camel@triegel.csb> References: <1368024237.7774.794.camel@triegel.csb> <519D97E4.4030808@redhat.com> <1381018836.8757.3598.camel@triegel.csb> <1381182784.18547.138.camel@triegel.csb> Date: Mon, 31 Mar 2014 11:44:00 -0000 Message-ID: Subject: Re: [PATCH] Unify pthread_once (bug 15215) From: Will Newton To: Torvald Riegel Cc: "Joseph S. Myers" , "Carlos O'Donell" , GLIBC Devel , libc-ports Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes X-SW-Source: 2014-03/txt/msg00006.txt.bz2 On 7 October 2013 22:53, Torvald Riegel wrote: > On Mon, 2013-10-07 at 16:04 +0000, Joseph S. Myers wrote: >> I have no comments on the substance of this patch, but note that ports/ >> has a separate ChangeLog file for each architecture. > > Sorry. The attached patch now has separate ChangeLog entries for each of > the affected archs. There seems to be a significant performance delta on aarch64: Old code: "pthread_once": { "": { "duration": 9.29471e+09, "iterations": 1.10667e+09, "max": 24.54, "min": 8.38, "mean": 8.39882 New code: "pthread_once": { "": { "duration": 9.72366e+09, "iterations": 4.33843e+08, "max": 30.86, "min": 22.38, "mean": 22.4128 And also ARM: Old code: "pthread_once": { "": { "duration": 8.38662e+09, "iterations": 6.6695e+08, "max": 35.292, "min": 12.416, "mean": 12.5746 New code: "pthread_once": { "": { "duration": 9.26424e+09, "iterations": 3.07574e+08, "max": 86.125, "min": 28.875, "mean": 30.1204 It would be nice to understand the source of this variation. I can put it on my todo list but I can't promise I will be able to look at it any time soon. -- Will Newton Toolchain Working Group, Linaro