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=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 E0EADC433DF for ; Wed, 5 Aug 2020 00:40:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C3C97206D4 for ; Wed, 5 Aug 2020 00:40:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="aYjVfEoM" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726511AbgHEAkF (ORCPT ); Tue, 4 Aug 2020 20:40:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726398AbgHEAkE (ORCPT ); Tue, 4 Aug 2020 20:40:04 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71311C061756 for ; Tue, 4 Aug 2020 17:40:04 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id a14so39038454wra.5 for ; Tue, 04 Aug 2020 17:40:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=hJW6wAkuoQDVAepJ5Cv3gWI6qzML2AhmW89J2ZpCvBI=; b=aYjVfEoMZdXH24qlnS3M7VKdM/4CrIuQbZ1Ctm3utrbCjdxibrVgB9Re+wkQQ6Yag3 ZE4EkRYx0N2q4Y3A9/bPb9KlY3FK71K9PU7gQgvT1OqdIe57mYFjilbUb0ZM6N4yIUBL O0QRk6O7dPBVXkYu8ztrFsUD2ZboBTjeJ+SAk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=hJW6wAkuoQDVAepJ5Cv3gWI6qzML2AhmW89J2ZpCvBI=; b=ZxC+g9CehJ7vqGvhWzv2XtCQV7RWH5XWvPIr5wZnne23YZ9JVogxKLIDlqiid74mPo 4zLIhKYfVszJFsJzTIMnY7oEcVNVAEsQ9mS0lMNpfyMk4C94SiUO/3mOYG9G1J8ISIZu XeMApL4VCSd4VXqBlAWQH+Khm2yWdonmXd4hvLcqkbY69XfbLa8NJ3YT4s8S7o4xoejF HhGMH/ONr2jiwWUaVgoaQLPjIvdk/15HAQsZCqY7MX+ucycvxFan65Z+lGMRdv+DahWx Tj3S8WwKJZhmFVAJeDzCW+AnFajuBe+5d2s4BUBmtZiF7pGQ5gsdeySSmFx43UZHjRbw rrMg== X-Gm-Message-State: AOAM531wKqdMvgjJJWO3wf2WejafCm6gWvWG5+ziKLcWkz1ZE6rf4dD6 +r6okMrPpbMn6a6ME83pGf9W/A== X-Google-Smtp-Source: ABdhPJxKkNX69AKXiUthEHMB6Dol3OWroWIMuU5IyuxNcQhTiTyAkCPxkDdFLyDUt8qOnMHGouuU0A== X-Received: by 2002:adf:efcc:: with SMTP id i12mr411064wrp.308.1596588002977; Tue, 04 Aug 2020 17:40:02 -0700 (PDT) Received: from [10.230.185.151] ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id g188sm608229wma.5.2020.08.04.17.40.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Aug 2020 17:40:02 -0700 (PDT) Subject: Re: [RFC 01/16] blkcg:Introduce blkio.app_identifier knob to blkio controller To: Tejun Heo , Daniel Wagner Cc: Muneendra , linux-block@vger.kernel.org, linux-scsi@vger.kernel.org, pbonzini@redhat.com, emilne@redhat.com, mkumar@redhat.com References: <1596507196-27417-1-git-send-email-muneendra.kumar@broadcom.com> <1596507196-27417-2-git-send-email-muneendra.kumar@broadcom.com> <20200804113130.qfi5agzilso3mlbp@beryllium.lan> <20200804142123.GA4819@mtj.thefacebook.com> From: James Smart Message-ID: Date: Tue, 4 Aug 2020 17:39:57 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200804142123.GA4819@mtj.thefacebook.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On 8/4/2020 7:21 AM, Tejun Heo wrote: > Hello, > > On Tue, Aug 04, 2020 at 01:31:30PM +0200, Daniel Wagner wrote: >> Hi, >> >> [cc Tejun] >> >> On Tue, Aug 04, 2020 at 07:43:01AM +0530, Muneendra wrote: >>> This Patch added a unique application identifier i.e >>> blkio.app_identifier knob to blkio controller which >>> allows identification of traffic sources at an >>> individual cgroup based Applications >>> (ex:virtual machine (VM))level in both host and >>> fabric infrastructure. > I'm not sure it makes sense to introduce custom IDs for these given that > there already are unique per-host cgroup IDs which aren't recycled. > > Thanks. > If the VM moves to a different host, does the per-host cgroup IDs migrate with the VM ?   If not, we need to have an identifier that moves with the VM and which is independent of what host the VM is residing on. -- james