From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9D952C352A3 for ; Tue, 11 Feb 2020 13:54:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 720282173E for ; Tue, 11 Feb 2020 13:54:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729831AbgBKNyw convert rfc822-to-8bit (ORCPT ); Tue, 11 Feb 2020 08:54:52 -0500 Received: from mail.kernel.org ([198.145.29.99]:50760 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729598AbgBKNyr (ORCPT ); Tue, 11 Feb 2020 08:54:47 -0500 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 716F8214DB; Tue, 11 Feb 2020 13:54:45 +0000 (UTC) Date: Tue, 11 Feb 2020 08:54:43 -0500 From: Steven Rostedt To: =?UTF-8?B?546L6LSH?= Cc: Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Ben Segall , Mel Gorman , "open list:SCHEDULER" , Tejun Heo , Li Zefan , Johannes Weiner , cgroups@vger.kernel.org Subject: Re: [RFC] why can't dynamic isolation just like the static way Message-ID: <20200211085443.2a112c03@gandalf.local.home> In-Reply-To: References: X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org You forgot to include the cgroup maintainers. -- Steve On Tue, 11 Feb 2020 16:17:34 +0800 王贇 wrote: > Hi, folks > > We are dealing with isolcpus these days and try to do the isolation > dynamically. > > The kernel doc lead us into the cpuset.sched_load_balance, it's fine > to achieve the dynamic isolation with it, however we got problem with > the systemd stuff. > > It's keeping create cgroup with sched_load_balance enabled on default, > while the cpus are overlapped with the isolated ones, which lead into > sched domain rebuild and these cpus become non-isolated. > > We're just looking forward an easy way to dynamic isolate some cpus, > just like the isolation parameter, but sched_load_balance forcing us > to dealing with the management of cgroups, we really don't get the > point in here... > > Why do we have to mix the isolation with cgroups? Why not just provide > a proc entry to read cpumask and rebuild the domains? > > Please let us know if there is any good reason to make the dynamic > isolation in that way, appreciated in advance :-) > > Regards, > Michael Wang