Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3879743yba; Tue, 23 Apr 2019 11:05:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqwegW5GLrBDMyiBoMH0FqVfyrDIY6MBR+NahmYBhLK2/uK6p6JS9bKDnaPl5XN1i7O2Ecxj X-Received: by 2002:a63:4644:: with SMTP id v4mr26174276pgk.422.1556042744988; Tue, 23 Apr 2019 11:05:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556042744; cv=none; d=google.com; s=arc-20160816; b=e5AKXq/aCB4tEjcEl5aWHlSRUvSS5DIphGZtRkCm5FiMIFRYbrQBFkOMyDyQyr8RaC U4hM0C2VsPFNk7dHrMMRv2jdFe2JpuS/DC+hVLVi74p9p7qI3/a2ssCmvwSbslKWhcEq 7AgKjRk6IieAgMQ2TgzdSfzYD2GA9ry5kXpsPN7KWgLpJjUosMKOkG2iwX3H7HaipDHd bDjJXPfYBaN7uq9ra5I9eCfOQY7kmlJLEd0tAHT/wkuLFWr5bFu7mvn98q78d0NIlB15 l01S+wnX29y5gXqtNTQ62ryz9Ya3d2cVKGPhZM/x8mecWJ+g/bKZb4s2QcKzB2rmcNxM YTyg== 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=IFqUk1M83E6OBy2G4scGOwFEE79ZIKUH6avcx7k1Piw=; b=X3TkiO1fIoDHYEdXVRQ3ZOhYHsKfw8bYc681eOGUypYduQIATD7jfi3uwrTzNyGqYn BjxVnArWMPeEvjLWAnYdJqiWsSaHvjIiTf44+A9XuppWXJ8K4ydYp3zN77txq27jrge1 XLwCRPwJo+3xN7MDE0IicJAPG/cFH+WB2khnnDR1ajLkMv5w46TXxKvi9nAVb7pLZoRD igj7Dp24+kETsucjPpMLDdUCa54JjOjiJz4aopl8YOecyBP/G3XUZo31AA/kG8c8obfo NJppLHRy2GoryrI7RlOjVRnkTZ8BNRm1JyNLsupop3CybmC2AwLabZjSmXPobVOejUnd wuFg== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d23si15372116pgh.448.2019.04.23.11.05.30; Tue, 23 Apr 2019 11:05:44 -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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728646AbfDWSCo (ORCPT + 99 others); Tue, 23 Apr 2019 14:02:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50926 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727737AbfDWSCo (ORCPT ); Tue, 23 Apr 2019 14:02:44 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C26E2811A9; Tue, 23 Apr 2019 18:02:43 +0000 (UTC) Received: from pauld.bos.csb (dhcp-17-51.bos.redhat.com [10.18.17.51]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9BC8C5C1B5; Tue, 23 Apr 2019 18:02:40 +0000 (UTC) Date: Tue, 23 Apr 2019 14:02:38 -0400 From: Phil Auld To: Vineeth Remanan Pillai Cc: Nishanth Aravamudan , Julien Desfossez , Peter Zijlstra , Tim Chen , mingo@kernel.org, tglx@linutronix.de, pjt@google.com, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, subhra.mazumdar@oracle.com, fweisbec@gmail.com, keescook@chromium.org, kerrnel@google.com, Aaron Lu , Aubrey Li , Valentin Schneider , Mel Gorman , Pawan Gupta , Paolo Bonzini Subject: Re: [RFC PATCH v2 00/17] Core scheduling v2 Message-ID: <20190423180238.GG22260@pauld.bos.csb> References: 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) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Tue, 23 Apr 2019 18:02:44 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Tue, Apr 23, 2019 at 04:18:05PM +0000 Vineeth Remanan Pillai wrote: > Second iteration of the core-scheduling feature. Thanks for spinning V2 of this. > > This version fixes apparent bugs and performance issues in v1. This > doesn't fully address the issue of core sharing between processes > with different tags. Core sharing still happens 1% to 5% of the time > based on the nature of workload and timing of the runnable processes. > > Changes in v2 > ------------- > - rebased on mainline commit: 6d906f99817951e2257d577656899da02bb33105 > - Fixes for couple of NULL pointer dereference crashes > - Subhra Mazumdar > - Tim Chen > - Improves priority comparison logic for process in different cpus > - Peter Zijlstra > - Aaron Lu > - Fixes a hard lockup in rq locking > - Vineeth Pillai > - Julien Desfossez > - Fixes a performance issue seen on IO heavy workloads > - Vineeth Pillai > - Julien Desfossez > - Fix for 32bit build > - Aubrey Li > > Issues > ------ > - Processes with different tags can still share the core I may have missed something... Could you explain this statement? This, to me, is the whole point of the patch series. If it's not doing this then ... what? Thanks, Phil > - A crash when disabling cpus with core-scheduling on > - https://paste.debian.net/plainh/fa6bcfa8 > > --- > > Peter Zijlstra (16): > stop_machine: Fix stop_cpus_in_progress ordering > sched: Fix kerneldoc comment for ia64_set_curr_task > sched: Wrap rq::lock access > sched/{rt,deadline}: Fix set_next_task vs pick_next_task > sched: Add task_struct pointer to sched_class::set_curr_task > sched/fair: Export newidle_balance() > sched: Allow put_prev_task() to drop rq->lock > sched: Rework pick_next_task() slow-path > sched: Introduce sched_class::pick_task() > sched: Core-wide rq->lock > sched: Basic tracking of matching tasks > sched: A quick and dirty cgroup tagging interface > sched: Add core wide task selection and scheduling. > sched/fair: Add a few assertions > sched: Trivial forced-newidle balancer > sched: Debug bits... > > Vineeth Remanan Pillai (1): > sched: Wake up sibling if it has something to run > > include/linux/sched.h | 9 +- > kernel/Kconfig.preempt | 7 +- > kernel/sched/core.c | 800 +++++++++++++++++++++++++++++++++++++-- > kernel/sched/cpuacct.c | 12 +- > kernel/sched/deadline.c | 99 +++-- > kernel/sched/debug.c | 4 +- > kernel/sched/fair.c | 137 +++++-- > kernel/sched/idle.c | 42 +- > kernel/sched/pelt.h | 2 +- > kernel/sched/rt.c | 96 +++-- > kernel/sched/sched.h | 185 ++++++--- > kernel/sched/stop_task.c | 35 +- > kernel/sched/topology.c | 4 +- > kernel/stop_machine.c | 2 + > 14 files changed, 1145 insertions(+), 289 deletions(-) > > -- > 2.17.1 > --