Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1005123pxb; Fri, 13 Nov 2020 01:25:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJz33BeDjfD8JLPerucvfAJv0kJn3+afwNzaTy20IVS4CqY7KKTGJStXqSQ4+Rjx8R1cIlxd X-Received: by 2002:a50:f190:: with SMTP id x16mr1479866edl.292.1605259551737; Fri, 13 Nov 2020 01:25:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605259551; cv=none; d=google.com; s=arc-20160816; b=IDoCmb45j6iW3KmQqeh4VHnqOIFx98oV1VSYM0MPGI+3SR9ovKGjR/GSBSJP8A56T3 KbKjd8Gu06Eph/K0Fg2oJdKlvw7KCoD43ykHK24F8gG4IrIswOlCVx3on1UMwg+QPZE+ 3GcTwOfasx4Sl4DHXaVnU1D+E5naufAbtZGG1U6ZkfeTcKOlYOeID5A8rBfOekeLvzDl f76YiMlOJg4jaicpoDBWBg4UzZ8T3AYoypUWcpuewE1YQ5i1Oj29LrZ1RJLa4NSkAuPd +ASkMSEorRzq7CJdFqrm3eOEyhk3EeMBzIaZY0W3NddeFHMkeZefKsqzWFIpxxSD9ph7 ceQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:ironport-sdr:ironport-sdr; bh=Luey5C74/hW8hcYwjof7ZxcUUD5/0eXBiw+cyJaMu5s=; b=Zh20siQI4MrH/dy0PEpCYxfxf5md6CB5je3HWgVR8rx57ZeQq5d848e3ZNHzqTGjcX A8Cmv3iGnogeKMSDvy+h0tLFCEy45eHu1HYGmmpAPAvP+Yh8aLn8wrHFJvEI+SxvZDct Nj4xsxXhuyHVMUs65/tU/k8mkU2o4BwQ6Zw0aQzVU3snmCiAJ84Mx7QtBz2J6ZxtdMT6 SMJoYgEysgNrU47hMG65motSpBbDAXNFpX2hOez3gAivJlt6cyczdJqqBW42YfEqbtsB m3c6qfnWpOJbMSeP8uZ6MMRm7LyH1xXquzGtyBiALnwjJDRChXjllWRKVErwzSyaq/G9 /XXg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a18si3084293edy.568.2020.11.13.01.25.28; Fri, 13 Nov 2020 01:25:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726255AbgKMJXG (ORCPT + 99 others); Fri, 13 Nov 2020 04:23:06 -0500 Received: from mga17.intel.com ([192.55.52.151]:44951 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726160AbgKMJXF (ORCPT ); Fri, 13 Nov 2020 04:23:05 -0500 IronPort-SDR: C/li4rdlUA34+Z7ZqXSuH6jVwUurErlHg0IdkX/7ve5EEHg4ZWvu9YQPRbIGgA5IbVRP0IqDxq 1DgYuKKbrujw== X-IronPort-AV: E=McAfee;i="6000,8403,9803"; a="150298174" X-IronPort-AV: E=Sophos;i="5.77,475,1596524400"; d="scan'208";a="150298174" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Nov 2020 01:23:01 -0800 IronPort-SDR: G/GRSD+ty/k04+4Q3bb0gcWH78ErVNOqk6AkFgviEGOG/WSvoOm51WxhhhRbuu49VswVDK+Ykz 7emqrCd4gJrg== X-IronPort-AV: E=Sophos;i="5.77,475,1596524400"; d="scan'208";a="542596074" Received: from hongyuni-mobl1.ccr.corp.intel.com (HELO [10.238.1.49]) ([10.238.1.49]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Nov 2020 01:22:50 -0800 Subject: Re: [RFT for v9] (Was Re: [PATCH v8 -tip 00/26] Core scheduling) To: Joel Fernandes , Nishanth Aravamudan , Julien Desfossez , Peter Zijlstra , Tim Chen , Vineeth Pillai , Aaron Lu , Aubrey Li , tglx@linutronix.de, linux-kernel@vger.kernel.org Cc: mingo@kernel.org, torvalds@linux-foundation.org, fweisbec@gmail.com, keescook@chromium.org, kerrnel@google.com, Phil Auld , Valentin Schneider , Mel Gorman , Pawan Gupta , Paolo Bonzini , vineeth@bitbyteword.org, Chen Yu , Christian Brauner , Agata Gruza , Antonio Gomez Iglesias , graf@amazon.com, konrad.wilk@oracle.com, dfaggioli@suse.com, pjt@google.com, rostedt@goodmis.org, derkling@google.com, benbjiang@tencent.com, Alexandre Chartre , James.Bottomley@hansenpartnership.com, OWeisse@umich.edu, Dhaval Giani , Junaid Shahid , jsbarnes@google.com, chris.hyser@oracle.com, Aubrey Li , "Paul E. McKenney" , Tim Chen References: <20201020014336.2076526-1-joel@joelfernandes.org> <20201106205506.GA3109656@google.com> From: "Ning, Hongyu" Message-ID: <60912adc-81e8-8dc9-98cb-2aefed4e36e6@linux.intel.com> Date: Fri, 13 Nov 2020 17:22:47 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20201106205506.GA3109656@google.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/11/7 4:55, Joel Fernandes wrote: > All, > > I am getting ready to send the next v9 series based on tip/master > branch. Could you please give the below tree a try and report any results in > your testing? > git tree: > https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git (branch coresched) > git log: > https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git/log/?h=coresched > > The major changes in this series are the improvements: > (1) > "sched: Make snapshotting of min_vruntime more CGroup-friendly" > https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git/commit/?h=coresched-v9-for-test&id=9a20a6652b3c50fd51faa829f7947004239a04eb > > (2) > "sched: Simplify the core pick loop for optimized case" > https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git/commit/?h=coresched-v9-for-test&id=0370117b4fd418cdaaa6b1489bfc14f305691152 > > And a bug fix: > (1) > "sched: Enqueue task into core queue only after vruntime is updated" > https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git/commit/?h=coresched-v9-for-test&id=401dad5536e7e05d1299d0864e6fc5072029f492 > > There are also 2 more bug fixes that I squashed-in related to kernel > protection and a crash seen on the tip/master branch. > > Hoping to send the series next week out to the list. > > Have a great weekend, and Thanks! > > - Joel > > > On Mon, Oct 19, 2020 at 09:43:10PM -0400, Joel Fernandes (Google) wrote: Adding 4 workloads test results for core scheduling v9 candidate: - kernel under test: -- coresched community v9 candidate from https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git (branch coresched) -- latest commit: 2e8591a330ff (HEAD -> coresched, origin/coresched) NEW: sched: Add a coresched command line option -- coresched=on kernel parameter applied - workloads: -- A. sysbench cpu (192 threads) + sysbench cpu (192 threads) -- B. sysbench cpu (192 threads) + sysbench mysql (192 threads, mysqld forced into the same cgroup) -- C. uperf netperf.xml (192 threads over TCP or UDP protocol separately) -- D. will-it-scale context_switch via pipe (192 threads) - test machine setup: CPU(s): 192 On-line CPU(s) list: 0-191 Thread(s) per core: 2 Core(s) per socket: 48 Socket(s): 2 NUMA node(s): 4 - test results, no obvious performance drop compared to community v8 build: -- workload A: +----------------------+------+----------------------+------------------------+ | | ** | sysbench cpu * 192 | sysbench cpu * 192 | +======================+======+======================+========================+ | cgroup | ** | cg_sysbench_cpu_0 | cg_sysbench_cpu_1 | +----------------------+------+----------------------+------------------------+ | record_item | ** | Tput_avg (events/s) | Tput_avg (events/s) | +----------------------+------+----------------------+------------------------+ | coresched_normalized | ** | 0.98 | 1.01 | +----------------------+------+----------------------+------------------------+ | default_normalized | ** | 1 | 1 | +----------------------+------+----------------------+------------------------+ | smtoff_normalized | ** | 0.59 | 0.6 | +----------------------+------+----------------------+------------------------+ -- workload B: +----------------------+------+----------------------+------------------------+ | | ** | sysbench cpu * 192 | sysbench mysql * 192 | +======================+======+======================+========================+ | cgroup | ** | cg_sysbench_cpu_0 | cg_sysbench_mysql_0 | +----------------------+------+----------------------+------------------------+ | record_item | ** | Tput_avg (events/s) | Tput_avg (events/s) | +----------------------+------+----------------------+------------------------+ | coresched_normalized | ** | 1.02 | 0.78 | +----------------------+------+----------------------+------------------------+ | default_normalized | ** | 1 | 1 | +----------------------+------+----------------------+------------------------+ | smtoff_normalized | ** | 0.59 | 0.75 | +----------------------+------+----------------------+------------------------+ -- workload C: +----------------------+------+---------------------------+---------------------------+ | | ** | uperf netperf TCP * 192 | uperf netperf UDP * 192 | +======================+======+===========================+===========================+ | cgroup | ** | cg_uperf | cg_uperf | +----------------------+------+---------------------------+---------------------------+ | record_item | ** | Tput_avg (Gb/s) | Tput_avg (Gb/s) | +----------------------+------+---------------------------+---------------------------+ | coresched_normalized | ** | 0.65 | 0.67 | +----------------------+------+---------------------------+---------------------------+ | default_normalized | ** | 1 | 1 | +----------------------+------+---------------------------+---------------------------+ | smtoff_normalized | ** | 0.83 | 0.91 | +----------------------+------+---------------------------+---------------------------+ -- workload D: +----------------------+------+-------------------------------+ | | ** | will-it-scale * 192 | | | | (pipe based context_switch) | +======================+======+===============================+ | cgroup | ** | cg_will-it-scale | +----------------------+------+-------------------------------+ | record_item | ** | threads_avg | +----------------------+------+-------------------------------+ | coresched_normalized | ** | 0.29 | +----------------------+------+-------------------------------+ | default_normalized | ** | 1.00 | +----------------------+------+-------------------------------+ | smtoff_normalized | ** | 0.87 | +----------------------+------+-------------------------------+ - notes on test results record_item: * coresched_normalized: smton, cs enabled, test result normalized by default value * default_normalized: smton, cs disabled, test result normalized by default value * smtoff_normalized: smtoff, test result normalized by default value Hongyu