Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2167648yba; Fri, 19 Apr 2019 13:34:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqxQQzDRyGTP29JATuawpqHPdDPxtApj+OHN1rFGI6hQjak6ifpliszpR2xKfJsRin3dTI0v X-Received: by 2002:aa7:9a89:: with SMTP id w9mr5969077pfi.213.1555706096924; Fri, 19 Apr 2019 13:34:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555706096; cv=none; d=google.com; s=arc-20160816; b=bM5C3+fa9rnDHBZ4k1Ad6uwDol7guP3IeIj9kw7qEwoUNFtqN7kCUZwfltiNZjJv1o 7j75r+nqtxv+3V+dl2prjQyd1PYLFNYGo1Vh/n7SqYEPnCCOhnSmTwJsupQ1b1Oq6wI2 oIR2iiVwLe2SP+pGyOA+RiFLCVhyYkwT8m4QDwcpQqfa2Ae6qGj9SJ4L3ID1x+6NnjK5 BU7xKZ9Tcy7zlaIuoh6MeRdPupuAcU3HAQUoopePYumTSKYJH0PQGcsgTxDKOtrfdB2F qMnr7EdLa6wd9IkOZs4nCsXjqX3EK0UhMWBr1F6CfLFHtiBLGs8ZFAu8Ajrww2KEC/qX WMYQ== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=CztVWPrPdN+j8byarWsnydt1vkDd9oOjkG+ZP2s2Umo=; b=twqXM4EacQFW2Y1PfYQg1nmdqtnnPxwhRBtKR9kRQsmf12t8msZUiJjm8VOYNUHPuG 83LSL1osOBsEerq2IfRlncZL1Hg1zpfoCEvkCfSjrS9DQXasokchPTMFlmBziRfMYTmV 3ML7ascImuVTKV/GH+gh8MIT6oz4JBXMQOTR+IxUYuJ+lKkWvGnX/TguasCJk0Od4Khq IJINck6ICyl6J78jAh4VzpmWov1lAcYP+J2tY3W8cgwSTgCBLHxxhe2pD/tcK9qdnpu1 fzIsqW6wC25zPk7Hp61R0q4DeRhVFcdDU3asDQtZN9AUl4m2h1zwByYwPoqiE+pdFn6b KY0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=tWYSW2ZF; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q1si6488510pfb.68.2019.04.19.13.34.41; Fri, 19 Apr 2019 13:34:56 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=tWYSW2ZF; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726146AbfDSUdt (ORCPT + 99 others); Fri, 19 Apr 2019 16:33:49 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:41326 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725817AbfDSUdt (ORCPT ); Fri, 19 Apr 2019 16:33:49 -0400 Received: by mail-wr1-f66.google.com with SMTP id c12so1974247wrt.8 for ; Fri, 19 Apr 2019 13:33:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=CztVWPrPdN+j8byarWsnydt1vkDd9oOjkG+ZP2s2Umo=; b=tWYSW2ZF9OyfjV+5W7Kp8jhxJjLW2hLw1R1KePjS2zlzw/xOYU8PDDJVHUf0SpjGf7 IhsCea3m5vX7l3pB6//DfyxuwWeVU5cYLaSXRS0p/j4liC+Bgh25YybcehMrPI/WGV3l I7WnElSfguLHb5hyS1VM7JVT2d+Ca61L6oRDxBnk9lsGxT+hw9jeNky+VkxGxRLcIuBK oJYIp06xw/1j0M1MVq02ugwC+v9WmkO/LW5V7aBrmdMbVxszB4oFCkm+h+qvjNyNZO9e vllu5ayOrJcTO+SQbuDoPcnXNXumYeh88j345FrcQyh69rf7cadKoM+SMsUPlkaVOSgJ /fMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=CztVWPrPdN+j8byarWsnydt1vkDd9oOjkG+ZP2s2Umo=; b=TwE+Q9e7WpTMUjfPz/XlV7pW6lKi7mkxhjmaB+Yl3JiiiGDkRtwHpfityBENEtOrO4 VUs2EGUIMjzXcvneVO7s+2tCq1M5ZCh2bsQPsRF6N0Ze3DsB/GmuoL+iZbYliKcXBISd EJuqCLGkEb3u+Sq7OJm3kCTd00TqrmeI6FwRT+bRADOdVCHPk+pVyI8DnO1gwIWUHEov M1N3ci4HX0bMnvJ1/7OnAXOorFjbuRrmDBEwKmrs60RAvdZfVF0DpM1G+VzTKoKebMWd rqkFRB03bwrWhFQBzaKzHXVcRjYVS77UcFe8mg5TwycGJ+z3+JxODLJRs32mLEEl//Pr 5ngQ== X-Gm-Message-State: APjAAAXOUtTZZfhnzldFBOzMUjBFwR5wX9nfoCbpS1jct7t31jqcCsJz QbgQpfYpefszIzJRVR0FNaVsS4T3 X-Received: by 2002:a5d:4f07:: with SMTP id c7mr1985463wru.104.1555663231647; Fri, 19 Apr 2019 01:40:31 -0700 (PDT) Received: from gmail.com (2E8B0CD5.catv.pool.telekom.hu. [46.139.12.213]) by smtp.gmail.com with ESMTPSA id z140sm7296832wmc.27.2019.04.19.01.40.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 19 Apr 2019 01:40:30 -0700 (PDT) Date: Fri, 19 Apr 2019 10:40:27 +0200 From: Ingo Molnar To: Subhra Mazumdar Cc: Julien Desfossez , Peter Zijlstra , tglx@linutronix.de, pjt@google.com, tim.c.chen@linux.intel.com, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, fweisbec@gmail.com, keescook@chromium.org, kerrnel@google.com, Vineeth Pillai , Nishanth Aravamudan , Aaron Lu Subject: Re: [RFC][PATCH 13/16] sched: Add core wide task selection and scheduling. Message-ID: <20190419084027.GA16074@gmail.com> References: <20190218173514.667598558@infradead.org> <1554835135-11814-1-git-send-email-jdesfossez@digitalocean.com> <3514bb97-33bc-3a14-3f15-767682b2f035@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3514bb97-33bc-3a14-3f15-767682b2f035@oracle.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Subhra Mazumdar wrote: > I see similar improvement with this patch as removing the condition I > earlier mentioned. So that's not needed. I also included the patch for the > priority fix. For 2 DB instances, HT disabling stands at -22% for 32 users > (from earlier emails). > > > 1 DB instance > > users? baseline?? %idle??? core_sched %idle > 16???? 1????????? 84?????? -4.9% 84 > 24???? 1????????? 76?????? -6.7% 75 > 32???? 1????????? 69?????? -2.4% 69 > > 2 DB instance > > users? baseline?? %idle??? core_sched %idle > 16???? 1????????? 66?????? -19.5% 69 > 24???? 1????????? 54?????? -9.8% 57 > 32???? 1????????? 42?????? -27.2%??????? 48 So HT disabling slows down the 2DB instance by -22%, while core-sched slows it down by -27.2%? Would it be possible to see all the results in two larger tables (1 DB instance and 2 DB instance) so that we can compare the performance of the 3 kernel variants with each other: - "vanilla +HT": Hyperthreading enabled, vanilla scheduler - "vanilla -HT": Hyperthreading disabled, vanilla scheduler - "core_sched": Hyperthreading enabled, core-scheduling enabled ? Thanks, Ingo