Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 54344C64ED8 for ; Mon, 27 Feb 2023 17:19:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229904AbjB0RT0 (ORCPT ); Mon, 27 Feb 2023 12:19:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229627AbjB0RTY (ORCPT ); Mon, 27 Feb 2023 12:19:24 -0500 Received: from bird.elm.relay.mailchannels.net (bird.elm.relay.mailchannels.net [23.83.212.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 980312128E for ; Mon, 27 Feb 2023 09:19:22 -0800 (PST) X-Sender-Id: dreamhost|x-authsender|dave@stgolabs.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 94742822240; Mon, 27 Feb 2023 17:19:14 +0000 (UTC) Received: from pdx1-sub0-mail-a283.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 1D4368221D9; Mon, 27 Feb 2023 17:19:13 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1677518353; a=rsa-sha256; cv=none; b=7qK8WP9xLUa7NOK0vVjVvQ1cpz8s7JzUL2wjI9WfPDrYoWw8C8SrngUcxz6l8LJUpaW8GA M4U2yV4+NNYlkqhnz3qWLMqjssoQVOQmb8bQws0RdD3+wcONRqy1OJfBPOWsdFsWEE5uZZ HKXRAhWPYYEOchlBrVNjdK8PF7UVGah20Mdnofjp1QwcuhzS3NuaTwHEW3OjIwhUTCt64l Kcbpn5LS41LK7QVcf2Yk8FrS+khm0gmmyvtEpRypGLUF69m+QNEDvVDaz26KJrb1p92AKm GsAsdFJPk7A2CHbiGJ4tQxi2NCeFwFTRa0q5VI3ZGincPVGwXitSb6vfeV+A4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1677518353; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=/Zq7yYZW02DEXPDh0jvm5FuZmU/4MNa5LSJgAHpINyg=; b=te61hAUCQ+tZN+uobKa6zFok7w6YPA5fOak2DcWekG+bwCdp7wyJ6OjZ6yMY+/LpL+ewSK Mv81ajKZJqauh5sQZ4GPzAUEnUyycAzhlihERijXQDLEqKR5P+DrXiUWwUxwVTnRCHayrM ReLarN54oANeUb+DkEkv5iSMaKmRKrFFnnxtPZGuJd0snh9hrKD5EpCsLeeIwr5AxNGdvK 5jTg1NiuzuRHVch4c0lKYWpurVR6chOOIeqaphyVu+Q+aDCzyLo+OUgIucUM5dKNwPLA5i FjzxnyE9WHli8qHOps0cySW4zgVVdgo8Svc7ls5UnViwI0vbS8XqKF1B0VyP2Q== ARC-Authentication-Results: i=1; rspamd-69778c65cd-rcs9v; auth=pass smtp.auth=dreamhost smtp.mailfrom=dave@stgolabs.net X-Sender-Id: dreamhost|x-authsender|dave@stgolabs.net X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|dave@stgolabs.net X-MailChannels-Auth-Id: dreamhost X-Chief-Rock: 6d068aaa56b8eeae_1677518354170_3920225541 X-MC-Loop-Signature: 1677518354170:914489716 X-MC-Ingress-Time: 1677518354170 Received: from pdx1-sub0-mail-a283.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.123.200.110 (trex/6.7.1); Mon, 27 Feb 2023 17:19:14 +0000 Received: from offworld (ip72-199-50-187.sd.sd.cox.net [72.199.50.187]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: dave@stgolabs.net) by pdx1-sub0-mail-a283.dreamhost.com (Postfix) with ESMTPSA id 4PQS0G0kM3z1d; Mon, 27 Feb 2023 09:19:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stgolabs.net; s=dreamhost; t=1677518352; bh=/Zq7yYZW02DEXPDh0jvm5FuZmU/4MNa5LSJgAHpINyg=; h=Date:From:To:Cc:Subject:Content-Type:Content-Transfer-Encoding; b=P4+zFqd18/HpmFmQiEDYB0/3JWYFiZaZ1VOp8YIuBndJB+bBcPRDFJlT9ROk85IeP 2+lhgf9vSf38GIcohoWPqF8tFEU7veK/9o/e1INc67MvfVAyYfkJ1QWhlnrH2eMBsh AjZ7T0DT1SfHleDKzopq4Mt4Pzqv2B91Ueb3OIDo9TOxjr1Ljpf2pVQV+XEIDjz4Kn 8KwNW9VOOqYh5c46TpLJCo8AU4vluDoWFzA7ecV2hZ5McJjMwx9daQzdx2nmiFvMdz bZx1RQMZixHhR+M6YWKyr2nYvIUmvhO44tIu249YE6n0SDXb/zSUGGYKqrnM1euMSU E4YuALYi5otNQ== Date: Mon, 27 Feb 2023 08:50:32 -0800 From: Davidlohr Bueso To: freak07 Cc: surenb@google.com, akpm@linux-foundation.org, arjunroy@google.com, axelrasmussen@google.com, bigeasy@linutronix.de, chriscli@google.com, david@redhat.com, dhowells@redhat.com, edumazet@google.com, gthelen@google.com, gurua@google.com, hannes@cmpxchg.org, hughd@google.com, jannh@google.com, jglisse@google.com, joelaf@google.com, kent.overstreet@linux.dev, kernel-team@android.com, ldufour@linux.ibm.com, leewalsh@google.com, liam.howlett@oracle.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, lstoakes@gmail.com, luto@kernel.org, mgorman@techsingularity.net, mhocko@suse.com, michel@lespinasse.org, minchan@google.com, mingo@redhat.com, paulmck@kernel.org, peterjung1337@gmail.com, peterx@redhat.com, peterz@infradead.org, posk@google.com, punit.agrawal@bytedance.com, rientjes@google.com, rppt@kernel.org, shakeelb@google.com, soheil@google.com, songliubraving@fb.com, tatashin@google.com, vbabka@suse.cz, will@kernel.org, willy@infradead.org, x86@kernel.org Subject: Re: [PATCH v3 00/35] Per-VMA locks Message-ID: <20230227165032.taj24j4leu7dlbqc@offworld> Mail-Followup-To: freak07 , surenb@google.com, akpm@linux-foundation.org, arjunroy@google.com, axelrasmussen@google.com, bigeasy@linutronix.de, chriscli@google.com, david@redhat.com, dhowells@redhat.com, edumazet@google.com, gthelen@google.com, gurua@google.com, hannes@cmpxchg.org, hughd@google.com, jannh@google.com, jglisse@google.com, joelaf@google.com, kent.overstreet@linux.dev, kernel-team@android.com, ldufour@linux.ibm.com, leewalsh@google.com, liam.howlett@oracle.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, lstoakes@gmail.com, luto@kernel.org, mgorman@techsingularity.net, mhocko@suse.com, michel@lespinasse.org, minchan@google.com, mingo@redhat.com, paulmck@kernel.org, peterjung1337@gmail.com, peterx@redhat.com, peterz@infradead.org, posk@google.com, punit.agrawal@bytedance.com, rientjes@google.com, rppt@kernel.org, shakeelb@google.com, soheil@google.com, songliubraving@fb.com, tatashin@google.com, vbabka@suse.cz, will@kernel.org, willy@infradead.org, x86@kernel.org References: <20230216051750.3125598-1-surenb@google.com> <20230224092134.30603-1-michalechner92@googlemail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20230224092134.30603-1-michalechner92@googlemail.com> User-Agent: NeoMutt/20220429 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 24 Feb 2023, freak07 wrote: >Here are some measurements from a Pixel 7 Pro that=B4s running a kernel ei= ther with the Per-VMA locks patchset or without. >If there=B4s interest I can provide results of other specific apps as well. > >Results are from consecutive cold app launches issued with "am start" comm= and spawning the main activity of Slack Android app. > >https://docs.google.com/spreadsheets/d/1ktujfcyDmIJoQMWsoizGIE-0A_jMS9VMw_= seehUY9s0/edit?usp=3Dsharing > >There=B4s quite a noticeable improvement, as can be seen in the graph. The= results were reproducible. Thanks for sharing. I am not surprised - after all, per-vma locks narrow so= me of the performance gaps between vanilla and speculative pfs, with less complexity (albeit this is n= ow a 35 patch series :). Thanks, Davidlohr