Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3314302imm; Fri, 19 Oct 2018 08:35:52 -0700 (PDT) X-Google-Smtp-Source: ACcGV62GAHM/JdZWvbwi3uHf9gFQ9ogtO/R98YXo0O11JExRnGcX5nQeJMWZMQlYPheQtrspzNh0 X-Received: by 2002:a62:c42:: with SMTP id u63-v6mr35376540pfi.43.1539963352718; Fri, 19 Oct 2018 08:35:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539963352; cv=none; d=google.com; s=arc-20160816; b=xY1u6BerEzYI5SnVxPnaWv9j2+p7k80ncg6JI+9LgVkwQZlWPD3wuu4uaZU99vlAcx ooObDEfEWLHJ9/iaE2nHUCsobRJpmZO0YSqG5YZrzQrCz+TQIXIa2y8Ns5lxBFAO/f1I tf9xcNLCq/C7yfWjQ+SuwWeOh35x0KMmeqD5pVF52L0+FueWuugEVJGzrATjYwFQX+b7 ZgEdc7/CEtmuk8mSFBonqOWg4MFTERkpFcPoN8usywPyyG4/IZrj2/pejFSvq8tNe5BY WZtxaxuBepBUGdyNmsVgvGOkUFyHKG1dr64VSBb6uIjU5IC8lcg2lbUu9PrHn4vryRDb Nmdg== 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=LIt9btjJnb0LdeBmVubI2vgAwdxiJFPnvaCHl2Z0xTY=; b=Xf/KlGdIAxznb2IF2xL9StqEJ055GQfY6ssWtGA+tzv5QlMC6ObbjrVZWLdJK4wuk+ iNxpETcVHhS10Rx79im3+polN6KQ71V6lC1E2hLGLLOC1qYh7XYJRRwlg0QZjHdbUijV j9cE0WqhvFnHWLIXrhjRTDrnAh+dBjtNVTtnlsNCBJ5LWvGs7HUmy6SnaHJlTlOO4z2K XlRqnw/vBJKMin26/MCFsI9wggpMmDp3N/JFbbFshKhvBu+r/Je/9qZGDRBytmgnHoQH 1Fh2zd+Ll5gZHUyQvD1zRM0sZePGXInxTGsNVFTQcV+snKVPB3QOnDgNlXWJDKNK7xkn 0oKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vAgowdfR; 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 138-v6si23593847pgc.218.2018.10.19.08.35.37; Fri, 19 Oct 2018 08:35:52 -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=pass header.i=@kernel.org header.s=default header.b=vAgowdfR; 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 S1727265AbeJSXj4 (ORCPT + 99 others); Fri, 19 Oct 2018 19:39:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:32786 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726465AbeJSXj4 (ORCPT ); Fri, 19 Oct 2018 19:39:56 -0400 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 A901F2083E; Fri, 19 Oct 2018 15:33:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1539963200; bh=7LSEEMq66ibdXhb1tXPdiKlfoStYnb14mt3Dq9gOxXE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vAgowdfR6TaO9eY8iLmwSyhVJNiswZqLXaRgHrIImc7PIS3AaTLepWRUGC1AMUy13 rgkDfXi9xjzHQ5g5VVNRWiLjyHgQK5hrZC0Sbmp7NGjng8fNdIggwaeu7rFjIe0joU mH3y1dwkOHUBlqqjlE/hMNgOANX8fp2SCtb8iEqs= Date: Fri, 19 Oct 2018 17:33:17 +0200 From: Frederic Weisbecker To: Rik van Riel Cc: Jan =?iso-8859-1?Q?H=2E_Sch=F6nherr?= , Ingo Molnar , Peter Zijlstra , linux-kernel@vger.kernel.org, Subhra Mazumdar Subject: Re: [RFC 00/60] Coscheduling for Linux Message-ID: <20181019153316.GB15416@lerouge> References: <20180907214047.26914-1-jschoenh@amazon.de> <20181017020933.GC24723@lerouge> <824154aacf8a5cbff57b4df6cb072b7d6e277f34.camel@surriel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <824154aacf8a5cbff57b4df6cb072b7d6e277f34.camel@surriel.com> 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 Fri, Oct 19, 2018 at 11:16:49AM -0400, Rik van Riel wrote: > On Fri, 2018-10-19 at 13:40 +0200, Jan H. Sch?nherr wrote: > > > > Now, it would be possible to "invent" relocatable cpusets to address > > that > > issue ("I want affinity restricted to a core, I don't care which"), > > but > > then, the current way how cpuset affinity is enforced doesn't scale > > for > > making use of it from within the balancer. (The upcoming load > > balancing > > portion of the coscheduler currently uses a file similar to > > cpu.scheduled > > to restrict affinity to a load-balancer-controlled subset of the > > system.) > > Oh boy, so the coscheduler is going to get its > own load balancer? > > At that point, why bother integrating the > coscheduler into CFS, instead of making it its > own scheduling class? > > CFS is already complicated enough that it borders > on unmaintainable. I would really prefer to have > the coscheduler code separate from CFS, unless > there is a really compelling reason to do otherwise. I guess he wants to reuse as much as possible from the CFS features and code present or to come (nice, fairness, load balancing, power aware, NUMA aware, etc...). OTOH you're right, the thing has specific enough requirements to consider a new sched policy. And really I would love to see all that code separate from CFS, for the reasons you just outlined. So I cross my fingers on what Jan is going to answer on a new policy.