From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by sourceware.org (Postfix) with ESMTPS id 42B323857832 for ; Tue, 13 Apr 2021 13:05:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 42B323857832 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tnatkinn@gmail.com Received: by mail-ej1-x636.google.com with SMTP id r9so25799946ejj.3 for ; Tue, 13 Apr 2021 06:05:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=KXyNFvprhs/KYqczcnZmf5MdljslpqmbMmzkcSUpV3w=; b=kOXt86lhaiLTGGB+BDP3AetZOvarxA+FjaBfS1ZAPO+VLTDEQgBWqfKN9Fjt8a47/0 p9/hPQ2aoGL/4v8q6WMHdwv10LSseH6uMH3BCmJCi3mfSuIbOog6lxIxtI/7J5D0cAhy AoLM0rviyEF9ZrO8XcAfz+aD2Uyn+/hnVxmDw9dfchM9VOtQeiI4vak+gsTA3RjenZXh JPQ6MMzELA0FGlTqpn6s2c7+fLZyrdqh2aWWpKK6qBZBXmJOYM6dy+iSVIT7+LaO5oud 0EJ4cHxVbRteYUhjqDTAWE0p5TG/8+ZLpOamcfIzfYmTR5+EGwHkbnwRWlGvpdb67OvY pxFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=KXyNFvprhs/KYqczcnZmf5MdljslpqmbMmzkcSUpV3w=; b=PFhF2EP7mjmemfMEFP5iWowgFOPOcFEdFgYM/6NKgYhWTwqCotXd05dOwBHe7BP6pc IIr3ehgoY1fw7SmICr4W9eaPvHOmh2Zt5/xrvZhpgde+6COJxFcjch9LytDwcOkXGL9H sx4gb4h9kPNePnSfY73MF4cYihA7B5hUOgtUd5kxHLJu0OquY145+bgq81t23d35/aJm POp0x5jW6sUvw2RENvP6BRfolrbno5PTd5HhkFeymZQAnVhdtdLe+xN4VCRlsPu7nXj0 s8V0VOHhCOzoCDVg1oqen82zkxz8guxB6ODOhTHaiyui1EcYN27DBHDCqv3fijUpc9+6 ZJVw== X-Gm-Message-State: AOAM532eAQ1cgmULlPH1QiYm0llfKUmUQVj/TUXLz/J6JctMQnJr3vqL c1wGJhwST0RVKW1qbMchLij0l4PY/f393hxdn4Neg8+m X-Google-Smtp-Source: ABdhPJxWld5M1H2qZwPRamO3T+OCOexH2YcEou0zoOwciR6oQULZ4SB9hWPIlZxcfFf2+dtIzhwYMg1jPwE2iCgytG0= X-Received: by 2002:a17:906:8317:: with SMTP id j23mr23933556ejx.13.1618319142833; Tue, 13 Apr 2021 06:05:42 -0700 (PDT) MIME-Version: 1.0 References: <067987e2-e958-b56c-efea-25d827568453@maxrnd.com> <6f68b10b-7fe5-4378-afb9-9001de084edf@maxrnd.com> <3adb36f3-8740-3ff7-5f8a-90cdf3dfb64d@maxrnd.com> <69159cfa-8fc5-283b-126b-740b841841cd@maxrnd.com> In-Reply-To: <69159cfa-8fc5-283b-126b-740b841841cd@maxrnd.com> From: =?UTF-8?Q?Teemu_N=C3=A4tkinniemi?= Date: Tue, 13 Apr 2021 16:05:32 +0300 Message-ID: Subject: Re: Maybe consider rpmalloc To: "cygwin-developers@cygwin.com" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin-developers@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin core component developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2021 13:05:47 -0000 Hi Mark, Thanks a lot for looking into this issue! I wonder if there are any other applications affected by this? Teemu ti 13. huhtik. 2021 klo 12.36 Mark Geisert (mark@maxrnd.com) kirjoitti: > > Hi Teemu, > > Teemu N=C3=A4tkinniemi wrote: > > Hello, > > > > Thanks for testing! I found a better test case with smaller files > > which should clearly show the issue. > > > > https://drive.google.com/drive/folders/1jOilHtKrr6CHn7zg__DE93RCDyseoTB= 1?usp=3Dsharing > > > > Here's the results. Bwa_working is the one with rpmalloc and > > bwa_original is unpatched. As you can see the unpatched version with > > several threads takes a whole lot more time to finish even when > > compared with unpatched exe running with a single thread. I am not the > > only one experiencing the issue so I doubt it is my system. > [...] > > Well this certainly does show the issue(s) you're seeing. Short runs but= long > enough for me to get decent profiling. Yes, malloc code shows up a lot i= n the > profiles. > > I'm going to research some stuff and ask some questions of the Cygwin gur= us to see > if we can do something about this. > Thanks a bunch,