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=-8.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 099D6C43461 for ; Wed, 16 Sep 2020 22:21:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BB17E20708 for ; Wed, 16 Sep 2020 22:21:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="q01ze8IU" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726414AbgIPWU5 (ORCPT ); Wed, 16 Sep 2020 18:20:57 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:33092 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726187AbgIPWUx (ORCPT ); Wed, 16 Sep 2020 18:20:53 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 08GEOqtG139734; Wed, 16 Sep 2020 14:27:06 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=sMO9dOSd55gfD34Ih+uz0eloTznXsxzz/6Aq4hBRFtY=; b=q01ze8IUV9+Ff75U0rhUgyS9AkvY11qvQVHdh4SsZhMtHpJeq9cgsv5b3ZlwXe1Bd6We 8i241nhInwOKktCYajcNEZTMB3/M9GZvjDlkgx07yFHc66s9/2ZDemYEM/NkAeyxkH9m OWt+5TUffQP3fq7hNIABApDWEdCh0wQve7pCsz/V6UFOjiIiA/n4FXqCIETxO/bzDynR BJKl73IEtosbiEI5w6TOssNIHRFRAdHbmlx9iBpdwIS9vbOJdaZAbAA4r2tb0zuQaXBf UrCvyxot+xB7bgamJPbWK6HuU6d5UUIWdoFFGqbvhWkDvv8liEQAl8mcGjchUfnJNHrR bQ== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 33gp9mbdcy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 16 Sep 2020 14:27:06 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 08GEK153094857; Wed, 16 Sep 2020 14:25:05 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3030.oracle.com with ESMTP id 33khpkgm49-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 16 Sep 2020 14:25:05 +0000 Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 08GEOwVw011991; Wed, 16 Sep 2020 14:24:59 GMT Received: from [192.168.0.193] (/69.207.174.138) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 16 Sep 2020 14:24:57 +0000 Subject: Re: [RFC PATCH v7 11/23] sched/fair: core wide cfs task priority comparison To: "Li, Aubrey" , Julien Desfossez , Peter Zijlstra , Vineeth Pillai , Joel Fernandes , Tim Chen , Aaron Lu , Aubrey Li , Dhaval Giani , Nishanth Aravamudan Cc: mingo@kernel.org, tglx@linutronix.de, pjt@google.com, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, fweisbec@gmail.com, keescook@chromium.org, kerrnel@google.com, Phil Auld , Valentin Schneider , Mel Gorman , Pawan Gupta , Paolo Bonzini , joel@joelfernandes.org, vineeth@bitbyteword.org, Chen Yu , Christian Brauner , Agata Gruza , Antonio Gomez Iglesias , graf@amazon.com, konrad.wilk@oracle.com, dfaggioli@suse.com, rostedt@goodmis.org, derkling@google.com, benbjiang@tencent.com, Aaron Lu , "Ning, Hongyu" References: <81b208ad-b9e6-bfbf-631e-02e9f75d73a2@linux.intel.com> From: chris hyser Message-ID: <51424491-b7e0-b245-1062-319021eb1845@oracle.com> Date: Wed, 16 Sep 2020 10:24:54 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <81b208ad-b9e6-bfbf-631e-02e9f75d73a2@linux.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9746 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 suspectscore=0 mlxlogscore=999 phishscore=0 mlxscore=0 adultscore=0 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009160108 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9746 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxlogscore=999 adultscore=0 malwarescore=0 clxscore=1011 lowpriorityscore=0 phishscore=0 spamscore=0 priorityscore=1501 suspectscore=0 impostorscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009160109 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/16/20 8:57 AM, Li, Aubrey wrote: >> Here are the uperf results of the various patchsets. Note, that disabling smt is better for these tests and that that presumably reflects the overall overhead of core scheduling which went from bad to really bad. The primary focus in this email is to start to understand what happened within core sched itself. >> >> patchset          smt=on/cs=off  smt=off    smt=on/cs=on >> -------------------------------------------------------- >> v5-v5.6.y      :    1.78Gb/s     1.57Gb/s     1.07Gb/s >> pre-v6-v5.6.y  :    1.75Gb/s     1.55Gb/s    822.16Mb/s >> v6-5.7         :    1.87Gs/s     1.56Gb/s    561.6Mb/s >> v6-5.7-hotplug :    1.75Gb/s     1.58Gb/s    438.21Mb/s >> v7             :    1.80Gb/s     1.61Gb/s    440.44Mb/s > > I haven't had a chance to play with v7, but I got something different. > > branch smt=on/cs=on > coresched/v5-v5.6.y 1.09Gb/s > coresched/v6-v5.7.y 1.05Gb/s > > I attached my kernel config in case you want to make a comparison, or you > can send yours, I'll try to see I can replicate your result. I will give this config a try. One of the reports forwarded to me about the drop in uperf perf was an email from you I believe mentioning a 50% perf drop between v5 and v6?? I was actually setting out to duplicate your results. :-) -chrish