Received: by 10.223.148.5 with SMTP id 5csp6075280wrq; Wed, 17 Jan 2018 09:02:31 -0800 (PST) X-Google-Smtp-Source: ACJfBosTV67Qu1zzIqFnsR46j0dqxsiNqx/ambPwaR9r08LOdAfTXxN5gpTQ3Dpzq7NZL0QeXucq X-Received: by 10.159.251.146 with SMTP id m18mr42777479pls.226.1516208551253; Wed, 17 Jan 2018 09:02:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516208551; cv=none; d=google.com; s=arc-20160816; b=yz4mW+tMIrooK/mEKHJWSl+uPHP3NinzPJU+ur2/WeAq/37Qg0UXvm2IKakWXfz629 twGI8zcw7g7VbZ/ol3s0NtFkaEjwyKKVbomWyeROfcpUi64w720pQnlOEDQdDA2ea7Yh WDwuKHMH6oVlLud1tNXBgZk6jSgZuU/U/+QUe7obchqe5+3sUGfvYllCTdv/LXojMW8t U7wXJGjBLG1ACgHjy8mcLVkTnzwigSg/veJZcU/jhnc0gK3XzExFYD+lZRkxE2Rx0ThC nJCPY/KkN94AggHMcfoia5DzIcuCmi5Q+vMpI0s9R0AKTp0uc3xG9pwhYndyNoi42f/E TBiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=ERyHlHm3WvkFnfihD6Ne+IvLZneP9AIyaPKHs95y0c0=; b=FVx1XRWytrn1MWj2O4kAhTuEsr0tgmu6F6lJ1ZbI1ADlnBvcxHPYy8Peq7QUoEq8v+ e9nWVy9G8J52q6fuia4HWFkGDGmS2jWdUWTM1t8QGSG9dlA8JP1AmWuTjViNGKB6KKx+ bFd3yqUxsAnOLtMfmVdxHw6N0rMAdYeFjRvH76luWEfWer/BkmGk8RDu+FS2YjS86ugI RSSilzc2W4dyT/iJ51JHkXFP72nbwH2n+PoOzG/MZBT/1b717E/WDAxPwP49K/6jEOeX 5ue5xJZm4Hft4HWy5qh6dAnco1Po57WrArl1FGe0MR+qfvfBVOy3pqUI/uhKcP/dN67O UIHQ== 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 36si4671008pla.343.2018.01.17.09.02.08; Wed, 17 Jan 2018 09:02:31 -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; 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 S1754432AbeAQRAO convert rfc822-to-8bit (ORCPT + 99 others); Wed, 17 Jan 2018 12:00:14 -0500 Received: from mout.gmx.net ([212.227.17.22]:52256 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754086AbeAQRAM (ORCPT ); Wed, 17 Jan 2018 12:00:12 -0500 Received: from homer.simpson.net ([185.191.217.115]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MEWxh-1edqCD3upN-00FkNm; Wed, 17 Jan 2018 17:59:01 +0100 Message-ID: <1516208339.31983.58.camel@gmx.de> Subject: Re: [GIT PULL] isolation: 1Hz residual tick offloading v3 From: Mike Galbraith To: Christopher Lameter Cc: Frederic Weisbecker , Luiz Capitulino , Ingo Molnar , LKML , Peter Zijlstra , Chris Metcalf , Thomas Gleixner , "Paul E . McKenney" , Wanpeng Li , Rik van Riel Date: Wed, 17 Jan 2018 17:58:59 +0100 In-Reply-To: References: <1515039937-367-1-git-send-email-frederic@kernel.org> <20180112141813.32dcc84d@redhat.com> <20180116154055.GA27042@lerouge> <1516125498.6599.23.camel@gmx.de> <1516204793.31983.39.camel@gmx.de> Content-Type: text/plain; charset="ISO-8859-15" X-Mailer: Evolution 3.20.5 Mime-Version: 1.0 Content-Transfer-Encoding: 8BIT X-Provags-ID: V03:K0:qQjs6r2sT213V3nPeCUBPr7p6uSHyi2yXrAS2LtGAFwG/tgLj9A L6RnZQmlLEIer9iP+jouuCp+GFr7eYUDplKs8Mq1JntCKEqdIu6eNZTedGZAeUqx9Qeh27D JrEMwwC11o9oGBYz9+Kg83iPymUwCbF11gQHzRS9MUuAsBnmt1drVdJIH+gw1W1pcnci0+1 863vEZ72SMbEjKXgAaUKg== X-UI-Out-Filterresults: notjunk:1;V01:K0:MNWFcCOkSlU=:WMzSqV8aaXFvcy2wutgFJf 7Xatj7FVajMky9WvwXsQeAB1CeSxrPB4kQs6QHs0JEX5FpzizGRRwG2w8++TbTA3zKr2z0klo 6mPYiuqkt1HkI0PilfPs4Y7/gi12yOKv6De3bkOSe1P1gZsgxPEPBDJRbNlSt+TmAs9TjHWRP yRmkSnKPqbGvaTi5SRDIg3Cu6TutZGowSJSb4vrhVlRlPvmUNb4aOQk9g2k261v/zHVpxUaL3 /DUccZFg4BmDfd9VdF1AQOpq1IJNF/OUJiyZFTaabXNdl2C+3xQGB88SsS8t/WXccOZL10hIG xqx5i6E4eFT8ggfv0aeJVNgxGb98mtUufUUW8310orq8LwyOUj6hzkhFgTwmqPdzR0r61sCwY xuCPsA4DIFwEmDCKhMEgBm6z/hjTRcdc9SINPmQn8Jw/7clAKFQucKwpj2onvvdymcqp2bkFL xMcY3Dru1STQkDeMVUDUZM49To7z6QPbUbeKc2xdY0kTyaLJFr1vT5atxVR/DM8JGN7rPp0Un NEElUTPN3lqRBizz70Zav3PMGyHWzKKeHY3Gm3Vr2TbJJG3eiBNLSKRJJgHVGQDbh0ZT7QFyq dAevezW4pe6LXRxDzSD3iMKETCehxs+QiPcp0YkM2kiafmzrY8RCtTM0MMPoYLMFi/1+oiF2z t2Nv1aIGwcZS3P12JsRqVMhTDAqP+SYsdQUpG4L1X1SJh2fUgmf3TR0bJ1IQFQhUg4Lix4aVV M88GTzg//zYywJUdcBEfjEFJ3YlGJzvwelIL9ACjOImvHfGwBYBD1J7DrjCI8qi+EjEige7T4 qW/8vnKLlTOZ5l4WzjJd+oqcLHyEL2xys26AFs4xWNcHWixy7E= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2018-01-17 at 10:32 -0600, Christopher Lameter wrote: > On Wed, 17 Jan 2018, Mike Galbraith wrote: > > > Domain connectivity very much is a property of a set of CPUs, a rather > > important one, and one managed by cpusets. ?NOHZ_FULL is a property of > > a set of cpus, thus a most excellent fit. ?Other things are as well. > > Not sure to what domain refers to in this context. Scheduler domains, load balancing. > > > We have sets of cpus associated with affinity masks in the form of bitmaps > > > etc etc which is much more lightweight than having slug around the cgroup > > > overhead everywhere. > > > > What does everywhere mean, set creation time? > > You would need to create multiple cgroups to create what you want. Those > will "inherit" characteristics from higher levels etc etc. It gets > needlessly complicated and difficult to debug if something goes work. It's only as complicated as you make it. ?What I create is dirt simple, an exclusive system set and an exclusive realtime set, both directly under root. ?It doesn't get any simpler than that. > > > A simple bitmask is much better if you have to control detailed system > > > behavior for each core and are planning each processes role because you > > > need to make full use of the harware resources available. > > > > If you live in a static world, maybe. > > Why would that be restricted to a static world? Guess I misunderstood, unimportant. > > I like the flexibility of being able to configure on the fly. ?One tiny > > example: for a high performance aircraft manufacturer, having military > > simulation background, I know that simulators frequently have to be > > ready to go at the drop of a hat, so I twiddled cpusets to let them > > flip their extra fancy video game (80 cores, real controls/avionics... > > "game over, insert one gold bar to continue" kind of fancy) from low > > power idle to full bore hard realtime with one poke to a cpuset file. > > > > Static may be fine for some, for others, dynamic is much better. > > The problem is that I may be flipping a flag in a cpuset to enable > something but some other cpuset somewhere in the complex hieracy does > something different that causes a conflict. That's what exclusive sets are for, zero set overlap. ?It would be very difficult to both connect and disconnect scheduler domains :) > The directness to control is > lost. Instead there is the fog of complexity created by the cgroups that > have various plugins and whatnot. You don't have to use any of the other controllers, I don't, just tell systemthing to pretty please NOT co-mount controllers, and whatever to ensure it keeps its tentacles off of your toys, and you're fine. -Mike