Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp594448rdh; Thu, 26 Oct 2023 10:13:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHmt2LKY/WTtSdGtoRATJzJOrN2HQDm8VXXfREbQDnrgBlSBuCVWRqOj3ObVEfcCshkk05z X-Received: by 2002:ac8:5fc5:0:b0:3f8:4905:9533 with SMTP id k5-20020ac85fc5000000b003f849059533mr171832qta.50.1698340393563; Thu, 26 Oct 2023 10:13:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698340393; cv=none; d=google.com; s=arc-20160816; b=igqfmktJqtdMlI9zC94sro2gpB3P9ehYVybpljVlRp+EkwUcdhjX0w1kblpolVDpNi cPjG5V5O/fdY+YKZEchb09GsRaY9JKjW0IL/JBuy4Xoxq0PzfQUBeP4deoPE29do4OjV v8MKU3DdAY6bh+z40oyJrP8i7geVo+9Jbn2N2KoMGVfAAEYEAS4yfsruDdrDXj+eCEW8 jQQOi/5EK579oUKdmKCaTeXFDTTXFUZdLvnq0J5iojip/Qs9ynDadKkrpeUUSyMk2J97 xda1zlJ7KhoRDk3GDODjdUYXO+R3fMRUgrzzS9OBjko+X5OFNn0ZYzdZ5fvBiG3+bFIa BgDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:sender :dkim-signature; bh=D85lFdCWmQtsZx66clLkUgk0g1bjlZ8sBGHleszKtQg=; fh=uNC6kZ9XHzDQazTuiOPPER8UEzXc/t7aQ9OInBsKIe4=; b=fxp3lqe741lkmG7L+1Et9zwlXTr2FjsUc3hhqUD3o1OPyMXJjzG2yP3a7GyDwfhQ78 JsF3/FjhmFQZd3pT70GwC8qEj9SPsYCYK2xsiRNrr5uXEinbucNKH9FpETovrgtAj6k0 ar6oWmK8wDQJYGPYo8ha0vwOOBIEIf7W0hZbrK8xUlyybMTIOvGkxZA/qKrkprXXW8gg OAjOKN7nPr0t4hreHB0pKffnt6Auz2noSwtElChHbGtf1RPLA4+9lp22IU5pYbFYfc+D P0Ykt6YhCEOA2MN9mr04IP4EWw3QbhglPnYUb/qOyzz2QoHXGfwVN9rO4ZM/gLc0GRtd gPQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="OBTWx8A/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id v12-20020a05622a144c00b00403df34987asi9995195qtx.376.2023.10.26.10.13.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 10:13:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="OBTWx8A/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id BA72E803D00A; Thu, 26 Oct 2023 10:12:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345515AbjJZRLh (ORCPT + 99 others); Thu, 26 Oct 2023 13:11:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345508AbjJZRL3 (ORCPT ); Thu, 26 Oct 2023 13:11:29 -0400 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15785198; Thu, 26 Oct 2023 10:11:26 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-6b709048f32so1107594b3a.0; Thu, 26 Oct 2023 10:11:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698340285; x=1698945085; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=D85lFdCWmQtsZx66clLkUgk0g1bjlZ8sBGHleszKtQg=; b=OBTWx8A/w2pjqrnULKETnCf0uyLBzYz3ifoA1j6Mk+JSyeHx0yricCac5wRwTk5anU /o05ADy1219J570zHTH0gciXkrXjb/WZl5x2ehRAmS3NXgPrv6vDn35CiBG8zcTD8Zmc /jlgaAVTvkLpxjQf9S4SQ4azrJbCc9POQqHk9ekc4GqlRKiOaKctpUz64Fd2Qr0R0A4+ urQO2QZLzf1bzxePXE13s+uyxfzVDPkuoWJLAt3zghF9mvcclxYFuVe/UNfdXvMF8QUp 4X1jHd2wZ1nz2uUSnothj3SM1ux1CEbkGyY3t1D0LmxW5TX+elIKnX6YluDaBLYEv+pb eA0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698340285; x=1698945085; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=D85lFdCWmQtsZx66clLkUgk0g1bjlZ8sBGHleszKtQg=; b=u6porAkQIXbaXfoYSmS05O0EYBXOkxhmHFIRifvNCeP/l4p4TmoMVSbwLOQJlozVVA WJih65G9buiMgK2yJXLJFs3dvkKj+N6GvD6H21y2XYnuoIP94g3oSH3onPWWpGhiIjav B5LrAbly5y/DgJXusgDH1J1dmglUv8+/gBxwJXP86D71t71kCOfrwABMqaNHeGHTtZ34 MTcVcfJ3fBUfKzIfo0C6G4uVe09XnHjp9c/nMgSiDg0Wou2hhFmZVDQkOj+JAevhrGw5 azgjiTo5ygE0lAgAqwkxHfiZZrazgEkbiV3Tkl1hqYOYuSQ+exCAEFdaBBicbVCe8PsB zbgg== X-Gm-Message-State: AOJu0Yy6PAqFi2bJjveN0kH8Dsv6nXCasvVdHgCfq9iYkoMQw/pW+Ynv i3prN+kwib+oHd5ZlzrIfSU= X-Received: by 2002:a05:6a00:1345:b0:6bd:f760:6ab1 with SMTP id k5-20020a056a00134500b006bdf7606ab1mr146195pfu.14.1698340285296; Thu, 26 Oct 2023 10:11:25 -0700 (PDT) Received: from moohyul.svl.corp.google.com ([2620:15c:2a3:200:ec51:cb82:a169:2ada]) by smtp.gmail.com with ESMTPSA id k15-20020aa7998f000000b00688965c5227sm11356315pfh.120.2023.10.26.10.11.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 10:11:25 -0700 (PDT) Sender: Namhyung Kim From: Namhyung Kim To: Namhyung Kim , Arnaldo Carvalho de Melo , Jiri Olsa Cc: LKML , Ingo Molnar , Adrian Hunter , linux-perf-users@vger.kernel.org, Ian Rogers , Peter Zijlstra Subject: Re: [PATCH v4] perf bench sched pipe: Add -G/--cgroups option Date: Thu, 26 Oct 2023 10:11:13 -0700 Message-ID: <169833996379.1181734.14450239393575810758.b4-ty@kernel.org> X-Mailer: git-send-email 2.42.0.758.gaed0368e0e-goog In-Reply-To: <20231017202342.1353124-1-namhyung@kernel.org> References: <20231017202342.1353124-1-namhyung@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 26 Oct 2023 10:12:08 -0700 (PDT) On Tue, 17 Oct 2023 13:23:42 -0700, Namhyung Kim wrote: > The -G/--cgroups option is to put sender and receiver in different > cgroups in order to measure cgroup context switch overheads. > > Users need to make sure the cgroups exist and accessible. The following > example should the effect of this change. Please don't forget taskset > before the perf bench to measure cgroup switches properly. Otherwise > each task would run on a different CPU and generate cgroup switches > regardless of this change. > > [...] Applied to perf-tools-next, thanks!