Received: by 10.223.164.221 with SMTP id h29csp30215wrb; Thu, 26 Oct 2017 14:02:09 -0700 (PDT) X-Google-Smtp-Source: ABhQp+REyzXXS1p0OpQh6OwXszjkNV3L03ER4KrA70Gn5DCYVw4elXj1c8RCGpSV90R2HEjoiN3a X-Received: by 10.101.72.132 with SMTP id n4mr6013974pgs.245.1509051729479; Thu, 26 Oct 2017 14:02:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509051729; cv=none; d=google.com; s=arc-20160816; b=Yv+bIjxv4atWBAUC4AFO6+mXoh4iRx4eqD8dogSDG9DhOgI/Az0SzT49G7m8qkZ+44 LWWwqFZ/1KFyviJyzGVGB9Guh35ztZByo60f7NLun38EupeaM0mw82id18noe6Tr+OQb yS50jEzXfOYYPTO8CjQ6AR1tz084I3+LK9OQ+HQoIXkKpVAO4D9ZQSr2C77eweagwJ3J 7oL835z1DMGzOaTM+EvUnAs+H0LvzfE9gdgRQMFsYYIOWC5DZtOVbBfr0f8koWyt87EI JkCze43Oe+e2xHWKCp+EDKGGoCo6zb2YaSJF6uKC8UF92mQpUy14AUhQi/b04zrr481I Y8tw== 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:arc-authentication-results; bh=iQ698AFlffb+j8qxvkdHc88OTFyK8B9Yr/2KtABzLGc=; b=FFoR8CQ5eQJtQ8CDYoHGOb1Qa07m8ax5941exyEjBBpIvTH0+aoVLBkg0jz2ReKj3J TYXWtlA15PT8vYZgP+U492FyYjQ8d2IaXI7bW/fUaqwzwj6k+sDvf7CJGn4uB07tS7Gg tBtWk8hbC3+JAvBKw57+SzgWlCDrkHCVC+Ail1Gnv3Wfj77QlvvBqEoxmno/pMglhKEV yp3fCuXKoDQolUWsQAf3zBW4ySeKI/iT8mW1WD6gciChB11nXGUJ++UG+RCp4Qi/PziI ly5lkfIyRHdiwYnMxAqqJ16Ry8xDyy5RHMTb3G5C+klQDHa/ZtIe8g8sTUAAIttPn/5U OE8g== 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=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z15si3839482pgr.145.2017.10.26.14.01.53; Thu, 26 Oct 2017 14:02:09 -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=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752056AbdJZVAA (ORCPT + 99 others); Thu, 26 Oct 2017 17:00:00 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:44268 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752016AbdJZU74 (ORCPT ); Thu, 26 Oct 2017 16:59:56 -0400 Received: from mail-wr0-f198.google.com ([209.85.128.198]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1e7pFr-0002EI-Ul for linux-kernel@vger.kernel.org; Thu, 26 Oct 2017 20:59:55 +0000 Received: by mail-wr0-f198.google.com with SMTP id g90so2236468wrd.14 for ; Thu, 26 Oct 2017 13:59:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=iQ698AFlffb+j8qxvkdHc88OTFyK8B9Yr/2KtABzLGc=; b=XB/qjI4cUyVMsuTuln6AnRdyTUJ3KkWOOtfeuY38A7x0fDNSAXD0m1YqYqEP7rOUe8 0OXB7UFugWLASHqZ9MJv8m9McA0Eg5ztxuBOhgmW0A61tvufM1iUtSWDuQRGMaI4cooA 61euwx7oJVlhJ2ZYuymk+PNlzXYeiZ+nWsLp1IBuG7eUdR+4x7xWPab+JTd2+8TupiG9 4XUb6gxTxStMaEzwukedK4+pZJkBjYP+qgtpGwf1V/8yzeGE+Zma16vXHJL3svbqnnbX N4FRC/x+gzqBripaZQOOewz3wL6eLJoE2j1P4rx94jFZsCFS9m54KWXuADMNl7m4LURw 8sCw== X-Gm-Message-State: AMCzsaULC6mnL8w5K9zEMYq/luvQ6aY2r0Sa5SynY1NOgdZ0OK7Jbw++ bSDtech/7LQkAFBtYpxq25PHeG42e2mE1Nk0rhGLk4l7iJagjTRxGwzXh3T9Huc5OKZPI/5TG7j Zy4PPVecJu0c1CCzFYDMKwQuHALpUEgNNSdYGM1U7vw== X-Received: by 10.223.153.45 with SMTP id x42mr6390069wrb.212.1509051595428; Thu, 26 Oct 2017 13:59:55 -0700 (PDT) X-Received: by 10.223.153.45 with SMTP id x42mr6390056wrb.212.1509051595222; Thu, 26 Oct 2017 13:59:55 -0700 (PDT) Received: from gmail.com ([77.240.102.203]) by smtp.gmail.com with ESMTPSA id r3sm170333wmb.5.2017.10.26.13.59.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Oct 2017 13:59:34 -0700 (PDT) Date: Thu, 26 Oct 2017 22:59:16 +0200 From: Christian Brauner To: Waiman Long Cc: Tejun Heo , Li Zefan , Johannes Weiner , Jonathan Corbet , linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, linux-doc@vger.kernel.org, Mike Galbraith , =?utf-8?B?U3TDqXBoYW5l?= Graber , Serge Hallyn Subject: Re: [PATCH v3] cpuset: Enable cpuset controller in default hierarchy Message-ID: <20171026205915.ztcc3yg7wzemlbzw@gmail.com> References: <1507324230-22996-1-git-send-email-longman@redhat.com> <20171026143908.GD59538@devbig577.frc2.facebook.com> <2814be69-8dc1-b2f8-406e-cc4dda289d94@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <2814be69-8dc1-b2f8-406e-cc4dda289d94@redhat.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 26, 2017 at 02:12:01PM -0400, Waiman Long wrote: > On 10/26/2017 10:39 AM, Tejun Heo wrote: > > Hello, Waiman. > > > > On Wed, Oct 25, 2017 at 11:50:34AM -0400, Waiman Long wrote: > >> Ping! Any comment on this patch? Fwiw, I just saw this patch today for some weird reason. > > Sorry about the lack of response. Here are my two thoughts. > > > > 1. I'm not really sure about the memory part. Mostly because of the > > way it's configured and enforced is completely out of step with how > > mm behaves in general. I'd like to get more input from mm folks on > > this. > > Yes, I also have doubt about which of the additional features are being > actively used. That is why the current patch exposes only the memory_migrate > flag in addition to the core *cpus and *mems control files. All the > other v1 features are not exposed waiting for further investigation and > feedback. One way to get more feedback is to have something that people > can play with. Maybe we could somehow tag it as experimental so that we > can change the interface later on, when necessary, if you have concern > about setting the APIs in stone. This sounds like a reasonable approach to me. The cpuset controller is quite important from a userspace (especially container) perspective. So making this an experimental feature for a while to gather feedback seems worth it. I'd be happy to carry/receive some experimental patches in a liblxc branch for cgroup v2 to see where the current cpuset controller implementation currently gets us and send/discuss patches where needed. > > > 2. I want to think more about how we expose the effective settings. > > Not that anything is wrong with what cpuset does, but more that I > > wanna ensure that it's something we can follow in other cases where > > we have similar hierarchical property propagation. > > Currently, the effective setting is exposed via the effective_cpus and > effective_mems control files. Unlike other controllers that control > resources, cpuset is unique in the sense that it is propagating > hierarchical constraints on CPUs and memory nodes down the tree. I > understand your desire to have a unified framework that can be applied > to most controllers, but I doubt cpuset is a good model in this regard. > > Cheers, > Longman > From 1582344800922397017@xxx Thu Oct 26 18:13:16 +0000 2017 X-GM-THRID: 1580544098693202650 X-Gmail-Labels: Inbox,Category Forums