Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3234358imu; Sat, 24 Nov 2018 00:43:33 -0800 (PST) X-Google-Smtp-Source: AFSGD/VJeGqu8Sy2kw40Icm0t0itH3J6hDS4YbAm+vD/LrrWIbA5+M3IDBqZsakZbUw3TmAGCvfQ X-Received: by 2002:a17:902:25ab:: with SMTP id y40-v6mr18837106pla.258.1543049012979; Sat, 24 Nov 2018 00:43:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543049012; cv=none; d=google.com; s=arc-20160816; b=e6M1K5ceyMMGrJq8O8XTJk6yqOIJg9VYot0a5Q0omrFj6c6QzrcUod7F6ENQzuyS2t 8Hk7sqsdqeA0SP0QeGqqkThs70T42/2n04TvTeKv6RM5okiG7szi+szXw3QO4TaloWmi +Et1RCiQcRPbR4gtpfq9A9qeNXUiOzme9Gbk5uSifNkXIs9lyKKuGq93T2HJ6KCtU+Ws mp9TxG2ITGLLimXj+Kw//Mw/ZxlNKPZ58UxYV75vewyYhwa4X18tH7p+x8HvSXShwQK0 PikG0RvawdkZE1UTRRWUrSFIWa2pN0d/8l7Me3D0BhOW9tndg8jGi9gJOnFIZxnYT+tr cXVA== 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=iHTx5mxegY4KxAlifpmuo9gzk7pZiLd8MEuTidiIYzs=; b=LOAXX3jTCsE891YELZMzrtOToXgUNnlBtEhbj+HfYnUMgqXfSp/FYeE1YfEVWqCW60 b8F1G8JRyjCX/MwZhdovTzXnT7MuYNteEej283l9tmMZnZIyoxDLpAjzpjJ6vtQUdzv8 c9yKgmzOIDzhVe/REcWto2xUWn5Ujvriq74JNzsabXsQ8NPchrXF3XBRjkV4L2cUIx+8 pMutD7CYrHvVWenbe3CMCHX9YlR1ZP5tC4JRgkIBziR2f5wH+k5EoAmsny500iyf1tN9 JA2wLB0dArIjiihVz/h1pkRRPU6U1LGVMR261cyfnI4eWFIxOhoxGUq4PBJ3deZGhRBm 4bMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rFVBZNWr; 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=pass (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 v23-v6si53732979plo.182.2018.11.24.00.43.18; Sat, 24 Nov 2018 00:43:32 -0800 (PST) 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=pass header.i=@kernel.org header.s=default header.b=rFVBZNWr; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387604AbeKXDgG (ORCPT + 99 others); Fri, 23 Nov 2018 22:36:06 -0500 Received: from mail.kernel.org ([198.145.29.99]:56342 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729195AbeKXDgF (ORCPT ); Fri, 23 Nov 2018 22:36:05 -0500 Received: from localhost (lfbn-ncy-1-241-207.w83-194.abo.wanadoo.fr [83.194.85.207]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 70B8B20672; Fri, 23 Nov 2018 16:51:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1542991866; bh=y+u0IM2C/gDxM/1IIh5emAGQl0ILpUNWvS44IFnlkac=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rFVBZNWrjb//wit7f/8pu4l6lk5h2JLBgvXgeE5jAR09+vUqkzSM70RUW3OyYGVD5 m7ke2OJUkyR5e1BLohAhiVyh3nkI70SA7Cig+KSByRdC7oeqhB/GjWPvhJBeubYLr2 Mu8/U74u7oUHEu2MYcI5hVWl+/jS7u3C6vzlB5Zo= Date: Fri, 23 Nov 2018 17:51:03 +0100 From: Frederic Weisbecker To: Jan =?iso-8859-1?Q?H=2E_Sch=F6nherr?= Cc: Peter Zijlstra , Ingo Molnar , linux-kernel@vger.kernel.org, Paul Turner , Vincent Guittot , Morten Rasmussen , Tim Chen , Rik van Riel Subject: Re: Task group cleanups and optimizations (was: Re: [RFC 00/60] Coscheduling for Linux) Message-ID: <20181123165102.GB4855@lerouge> References: <20180907214047.26914-1-jschoenh@amazon.de> <20180914111251.GC24106@hirez.programming.kicks-ass.net> <1d86f497-9fef-0b19-50d6-d46ef1c0bffa@amazon.de> <282230fe-b8de-01f9-c19b-6070717ba5f8@amazon.de> <20180917094844.GR24124@hirez.programming.kicks-ass.net> <08b930d9-7ffe-7df3-ab35-e7b58073e489@amazon.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <08b930d9-7ffe-7df3-ab35-e7b58073e489@amazon.de> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 18, 2018 at 03:22:13PM +0200, Jan H. Sch?nherr wrote: > On 09/17/2018 11:48 AM, Peter Zijlstra wrote: > > Right, so the whole bandwidth thing becomes a pain; the simplest > > solution is to detect the throttle at task-pick time, dequeue and try > > again. But that is indeed quite horrible. > > > > I'm not quite sure how this will play out. > > > > Anyway, if we pull off this flattening feat, then you can no longer use > > the hierarchy for this co-scheduling stuff. > > Yeah. I might be a bit biased towards keeping or at least not fully throwing away > the nesting of CFS runqueues. ;) One detail here, is that hierarchical task group a strong requirement for cosched or could you live with it flattened in the end?