Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp3206767ybe; Sun, 15 Sep 2019 09:54:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqwUmQym936sR3iQDIoOJ24IIFk7dgkkhzmrriBix1A0lEQtIqm+TXrDS1dhUOx4Y3yGwIiu X-Received: by 2002:a17:906:6848:: with SMTP id a8mr3477444ejs.104.1568566453986; Sun, 15 Sep 2019 09:54:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568566453; cv=none; d=google.com; s=arc-20160816; b=fBcRZr8Qc8BeDuqIqLlMQZumQmlagth/OBJ5LVihsTYcp4BYd5hGFUeS5g0jweY7YY IHHRhksKQFjBa7tCFBVlGd2/VmkLnuSJ6LjyadHTRMBLqVe8W8DiD1A71kJedtyOa+AI +QEOh/6mx3QyUDbUB+SXc5Y1DhFqkytDmgu6iWEpPz7vEzvHsNZ0NM/ouFT4tck42ZXK X2cnD9LhM05Z1wAiTvOeAerBsvdrugZD97Yb+nNT7XhvAJcx9UWvQg4CZ0j0HbfARNin dDEhxFsMev4/fTTg8PpabZSnP4hy+WyIlaZyDPTLc/0Od9vQcjGbaNGa+d2obOf4bqCy 4zDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=aqznnHIe2tXDz4Bfw/EF98IPK1QAmsQqh0ZG7e65nuI=; b=kwudTKEw5ZxN/cARpqrvRkMruUcdhNc3edqmP2Kd9rNtvXDiZJcojqaJw+B2JZokqJ LVMbE5JBFYgpJQqHascwdKaTTWXGsL6lwkbKuPZptH2d9GrAM212tzL4kQBn75Mqy0cs LNVBraHO3YcubgHpyX7SpDjr4qEnf3eUjQp57pe3Lu5Gr1ofJV43aSooaLDXi5VxnPBf 64CfjaKbtZcw2CatkrO3AcyCQa9pvi0aX7unLMOqAHSqz08U3Q1wBMDtuyznSIe0nx6f Z+NxtdJohJp36PYNepXJeEYhqf+skrJFpkXHOy6tBRD3ac/Ozi/ULCTa08Yga+dKhV8p 0i8g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bo15si4365503ejb.16.2019.09.15.09.53.49; Sun, 15 Sep 2019 09:54:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731629AbfIOOOY (ORCPT + 99 others); Sun, 15 Sep 2019 10:14:24 -0400 Received: from out4436.biz.mail.alibaba.com ([47.88.44.36]:53701 "EHLO out4436.biz.mail.alibaba.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726024AbfIOOOY (ORCPT ); Sun, 15 Sep 2019 10:14:24 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R201e4;CH=green;DM=||false|;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01f04391;MF=aaron.lu@linux.alibaba.com;NM=1;PH=DS;RN=22;SR=0;TI=SMTPD_---0TcNDfjk_1568556842; Received: from aaronlu(mailfrom:aaron.lu@linux.alibaba.com fp:SMTPD_---0TcNDfjk_1568556842) by smtp.aliyun-inc.com(127.0.0.1); Sun, 15 Sep 2019 22:14:08 +0800 Date: Sun, 15 Sep 2019 22:14:02 +0800 From: Aaron Lu To: Aubrey Li Cc: Tim Chen , Julien Desfossez , Dario Faggioli , "Li, Aubrey" , Subhra Mazumdar , Vineeth Remanan Pillai , Nishanth Aravamudan , Peter Zijlstra , Ingo Molnar , Thomas Gleixner , Paul Turner , Linus Torvalds , Linux List Kernel Mailing , =?iso-8859-1?Q?Fr=E9d=E9ric?= Weisbecker , Kees Cook , Greg Kerr , Phil Auld , Valentin Schneider , Mel Gorman , Pawan Gupta , Paolo Bonzini Subject: Re: [RFC PATCH v3 00/16] Core scheduling v3 Message-ID: <20190915141402.GA1349@aaronlu> References: <20190726152101.GA27884@sinkpad> <7dc86e3c-aa3f-905f-3745-01181a3b0dac@linux.intel.com> <20190802153715.GA18075@sinkpad> <69cd9bca-da28-1d35-3913-1efefe0c1c22@linux.intel.com> <20190911140204.GA52872@aaronlu> <7b001860-05b4-4308-df0e-8b60037b8000@linux.intel.com> <20190912120400.GA16200@aaronlu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 13, 2019 at 07:12:52AM +0800, Aubrey Li wrote: > On Thu, Sep 12, 2019 at 8:04 PM Aaron Lu wrote: > > > > On Wed, Sep 11, 2019 at 09:19:02AM -0700, Tim Chen wrote: > > > On 9/11/19 7:02 AM, Aaron Lu wrote: > > > I think Julien's result show that my patches did not do as well as > > > your patches for fairness. Aubrey did some other testing with the same > > > conclusion. So I think keeping the forced idle time balanced is not > > > enough for maintaining fairness. > > > > Well, I have done following tests: > > 1 Julien's test script: https://paste.debian.net/plainh/834cf45c > > 2 start two tagged will-it-scale/page_fault1, see how each performs; > > 3 Aubrey's mysql test: https://github.com/aubreyli/coresched_bench.git > > > > They all show your patchset performs equally well...And consider what > > the patch does, I think they are really doing the same thing in > > different ways. > > It looks like we are not on the same page, if you don't mind, can both of > you rebase your patchset onto v5.3-rc8 and provide a public branch so I > can fetch and test it at least by my benchmark? I'm using the following branch as base which is v5.1.5 based: https://github.com/digitalocean/linux-coresched coresched-v3-v5.1.5-test And I have pushed Tim's branch to: https://github.com/aaronlu/linux coresched-v3-v5.1.5-test-tim Mine: https://github.com/aaronlu/linux coresched-v3-v5.1.5-test-core_vruntime The two branches both have two patches I have sent previouslly: https://lore.kernel.org/lkml/20190810141556.GA73644@aaronlu/ Although it has some potential performance loss as pointed out by Vineeth, I haven't got time to rework it yet.