Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp5181435ybh; Wed, 7 Aug 2019 02:03:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqybWXguAwUjm8NT3/VRYoCWKrdG/c1Brqmly/ekzQaAjgvUF97DBXevt9Y0mwuAd2J523vN X-Received: by 2002:a17:90a:9386:: with SMTP id q6mr7275144pjo.81.1565168593596; Wed, 07 Aug 2019 02:03:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565168593; cv=none; d=google.com; s=arc-20160816; b=Ri2iIKChwlbdAEb8I3tfDF68qSSP+njFhm4VM2Yeza14Ie6flqOVEQq86kS2LF0GiQ IOoOrRYe1Q6Fq57O1smw49/8LfCUfeIUY4NkTTgln4D0D7STo9BAOtPQeBULmpMG/6NF NdetEXa6dOsZrd58l8IOr8jS6P8w6i4w/jAmc86C0a/q/Xn7j6OkmB+tLH8fDP2/8b5R US6zvgpzAoxc52q22NoRByIinCi04VSIrY70esC6iEPLeQnDEMrpwmlgReN/15v6T6J0 BXMk54BlhAXbvjdH6+xlfN90O6z+qy5/hJZtGQYVLx1a70gUX+evGx5zHflVe1ZQ35IJ fa6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:organization :references:in-reply-to:date:cc:to:from:subject:message-id; bh=jRhnIwVs9XnBHaNI24Rp8stFAgGoxQOPL6jsCkNysRk=; b=iYbwQU/QZhs54aeJYnQgmTzT9ylSZbqJFbHRRtfRPSwWc5g5iFude9qp2yskeTe06b T7tRA7uJAtMN3CdFDxfVoSpmzpvdNM3w8WH1fimXUGe1K9XmA5vL8QFuFJDOMmWIdddS ATsLM/581cFoxMJBg44e54E8tQlB1oYarjAG3+e/HWCouvTI8RtR7f0z86v9SYDwhRoG L1J+kTOmRVh8l3pzYkJp8Iymg2XG4NgjlZsR0OXtWDKtTqJVMZkWqLsmqtLVC1Ig8O5k EhiCyeO1Co6h2pMSBxTsB8Pbdz05ZtNLuinoMAadIhxCyki1uae8vDC5MsvzU+qEP64X z7aA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d25si49442532pge.301.2019.08.07.02.02.46; Wed, 07 Aug 2019 02:03: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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726747AbfHGI6t (ORCPT + 99 others); Wed, 7 Aug 2019 04:58:49 -0400 Received: from mx2.suse.de ([195.135.220.15]:58740 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725940AbfHGI6t (ORCPT ); Wed, 7 Aug 2019 04:58:49 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 9589EAC20; Wed, 7 Aug 2019 08:58:45 +0000 (UTC) Message-ID: Subject: Re: [RFC PATCH v3 00/16] Core scheduling v3 From: Dario Faggioli To: Julien Desfossez , "Li, Aubrey" Cc: Aaron Lu , Aubrey Li , Subhra Mazumdar , Vineeth Remanan Pillai , Nishanth Aravamudan , Peter Zijlstra , Tim Chen , 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 Date: Wed, 07 Aug 2019 10:58:40 +0200 In-Reply-To: <20190802153715.GA18075@sinkpad> References: <20190612163345.GB26997@sinkpad> <635c01b0-d8f3-561b-5396-10c75ed03712@oracle.com> <20190613032246.GA17752@sinkpad> <20190619183302.GA6775@sinkpad> <20190718100714.GA469@aaronlu> <20190725143003.GA992@aaronlu> <20190726152101.GA27884@sinkpad> <7dc86e3c-aa3f-905f-3745-01181a3b0dac@linux.intel.com> <20190802153715.GA18075@sinkpad> Organization: SUSE Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-4tYvlZYzl693s5My87+b" User-Agent: Evolution 3.32.4 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-4tYvlZYzl693s5My87+b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello everyone, This is Dario, from SUSE. I'm also interesting in core-scheduling, and using it in virtualization use cases. Just for context, I'm working in virt since a few years, mostly on Xen, but I've done Linux stuff before, and I am getting back at it. For now, I've been looking at the core-scheduling code, and run some benchmarks myself. On Fri, 2019-08-02 at 11:37 -0400, Julien Desfossez wrote: > We tested both Aaron's and Tim's patches and here are our results. >=20 > Test setup: > - 2 1-thread sysbench, one running the cpu benchmark, the other one > the > mem benchmark > - both started at the same time > - both are pinned on the same core (2 hardware threads) > - 10 30-seconds runs > - test script: https://paste.debian.net/plainh/834cf45c > - only showing the CPU events/sec (higher is better) > - tested 4 tag configurations: > - no tag > - sysbench mem untagged, sysbench cpu tagged > - sysbench mem tagged, sysbench cpu untagged > - both tagged with a different tag > - "Alone" is the sysbench CPU running alone on the core, no tag > - "nosmt" is both sysbench pinned on the same hardware thread, no tag > - "Tim's full patchset + sched" is an experiment with Tim's patchset > combined with Aaron's "hack patch" to get rid of the remaining deep > idle cases > - In all test cases, both tasks can run simultaneously (which was not > the case without those patches), but the standard deviation is a > pretty good indicator of the fairness/consistency. >=20 This, and of course the numbers below too, is very interesting. So, here comes my question: I've done a benchmarking campaign (yes, I'll post numbers soon) using this branch: https://github.com/digitalocean/linux-coresched.git vpillai/coresched-v3-v= 5.1.5-test https://github.com/digitalocean/linux-coresched/tree/vpillai/coresched-v3-v= 5.1.5-test Last commit: 7feb1007f274 "Fix stalling of untagged processes competing with tagged processes" Since I see that, in this thread, there are various patches being proposed and discussed... should I rerun my benchmarks with them applied? If yes, which ones? And is there, by any chance, one (or maybe more than one) updated git branch(es)? Thanks in advance and Regards --=20 Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ ------------------------------------------------------------------- <> (Raistlin Majere) --=-4tYvlZYzl693s5My87+b Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEES5ssOj3Vhr0WPnOLFkJ4iaW4c+4FAl1KksEACgkQFkJ4iaW4 c+5h2xAA33JxoIgaoAyjD7w2D8stxoH8YVy+eeWBr4oACLGpAhK3ioijR0RN03h3 w+AA8GWrfWlU0tGOFqsdbHyqf8MA2KhoWQmN/7BUJdYAR8WiX2BwhMFSP5J1YB7A DHD3xN2MMRUioStiKbCKukgvIW2wwmZ9N6uhIdJIywdQtwRZMsvCT8kEqeOrJmRS h3xV1kl5NNpqz73FxWltecI4YL2N5h4L6mFupiKvc+rUhuJNax/K2QgIYmZga2eC DyZ+q/jDVF98SFmJ+NIAqcC517w8s6Ovcw/3SMWkorIl1t0Aszgrcq2eGTCQWA74 Gr5FI5dkUZL0o32g/s2xVYKRKDPm/C211sbz51TRq0RfGRpFlRUZ5V2Xe8ux/SQJ D3i2GXn/xc3NksdqJpPjHY1Btln3iQUEL3ZsVsyZeLZW2ASqUNuaukBhBRw+Eemh rgoDKrtYCNKWztITHe/mrQzu0tDDvF+6vGxuaWdGbVJOXmvpiZ9BMijWN0OseJ5s 25K1n2JXIqDlYBV9W6yGDiLBIk6NLy8qtkpK/EtvpJORTovJFiISge1mhZw7RjgH dRRQmoNELIJQku7AEVXPviTp6iAx9mKWoqYts7oio7A4n8X6Pr8e8MCi62Mx9lPX ExZs8wF93EiVZ3yWAl0vtzJbPx8Lc8etMF8sRWxBOtWoRyawdXc= =LKN2 -----END PGP SIGNATURE----- --=-4tYvlZYzl693s5My87+b--