From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 755C5C282CE for ; Tue, 4 Jun 2019 17:29:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 52D85208E3 for ; Tue, 4 Jun 2019 17:29:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726691AbfFDR3U (ORCPT ); Tue, 4 Jun 2019 13:29:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52576 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726312AbfFDR3Q (ORCPT ); Tue, 4 Jun 2019 13:29:16 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3DE4F314807A; Tue, 4 Jun 2019 17:29:16 +0000 (UTC) Received: from llong.remote.csb (dhcp-17-85.bos.redhat.com [10.18.17.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id 19A3117C59; Tue, 4 Jun 2019 17:29:15 +0000 (UTC) Subject: Re: [PATCH v8 15/19] locking/rwsem: Adaptive disabling of reader optimistic spinning To: Peter Zijlstra Cc: Ingo Molnar , Will Deacon , Thomas Gleixner , Borislav Petkov , "H. Peter Anvin" , linux-kernel@vger.kernel.org, x86@kernel.org, Davidlohr Bueso , Linus Torvalds , Tim Chen , huang ying References: <20190520205918.22251-1-longman@redhat.com> <20190520205918.22251-16-longman@redhat.com> <20190604091416.GI3402@hirez.programming.kicks-ass.net> From: Waiman Long Organization: Red Hat Message-ID: <6f7371cf-c5ea-282a-c8ce-a95d8f339cd1@redhat.com> Date: Tue, 4 Jun 2019 13:29:14 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190604091416.GI3402@hirez.programming.kicks-ass.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Tue, 04 Jun 2019 17:29:16 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/4/19 5:14 AM, Peter Zijlstra wrote: > On Mon, May 20, 2019 at 04:59:14PM -0400, Waiman Long wrote: >> On a 2-socket 40-core 80-thread Skylake system, the page_fault1 test of >> the will-it-scale benchmark was run with various number of threads. The >> number of operations done before reader optimistic spinning patches, >> this patch and after this patch were: >> >> Threads Before rspin Before patch After patch %change >> ------- ------------ ------------ ----------- ------- >> 20 5541068 5345484 5455667 -3.5%/ +2.1% >> 40 10185150 7292313 9219276 -28.5%/+26.4% >> 60 8196733 6460517 7181209 -21.2%/+11.2% >> 80 9508864 6739559 8107025 -29.1%/+20.3% > 'rspin' is patch 12 in this series, right? Yes, I should have spell out the patch name. -Longman