Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2988691rdb; Mon, 4 Dec 2023 13:14:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IGjXovEBoNbADQDSOg612G7u/1qSqz6Eda7P2LTask0IwV2gVvl2TNw0x+4pxTrZTua6qJf X-Received: by 2002:a17:90b:4b01:b0:286:6cc1:2cb9 with SMTP id lx1-20020a17090b4b0100b002866cc12cb9mr185919pjb.67.1701724491279; Mon, 04 Dec 2023 13:14:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701724491; cv=none; d=google.com; s=arc-20160816; b=yqngHKZq3fqroY17jl/WqmSOagREhjbIvxZJP8/YEHVBQ9i2nj7b7e1UAPvmTSp+DL 1Y0giZE87omxx3az5aWXlaji9gOShLq+KWGwFEExahr3sVHi5t4bYcKD8RR8Iz8GQRoj jPbrag8vvytUs3Pxi/SN2HMJ8+sRst4QMQFpdOJbv20SwylsUTqWwOufesEBQSHn8fvt L2yWBa1nqTKjSwxDx0h+OVXUm/zYwWE9Y4RtAeCtfbK4kBaf4LzBu1Srwp3o3zRY6XsJ 9Wd7Lv3TRvEfmtjDScnotwwFXF2TFlwFx4/s2VFy+a1/dYNwCYVqO7WWZElGJELgRBhc Fupw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=HC3Kqwq0MMmfCoFQwZgAsJVop+/+8BNQbF/H1UQSrUk=; fh=OeLzqfsuoFSG3DH+FjMB+0qyVxV57ESSNWMB0HfJJfo=; b=0R2OsSlbOZBe428dSnX34M9ufX0FhX/xcElQXvHJ2TphAstXJEx8Je2eQkyc+WegJy Z4+lA22BzIeSS9LmH5WOwhQKUvAhaQwlQmfUDjjySVqxJMuOvLpO1V7v7fZEQ7V2CHmM bEE7wdtIn+V+Ha9exMGsh3KlDBjfivw7YJswhj2cGFoW9hDZgN1mqifcl3S/eqYw6I1j qPedMzLdg/QF+yG1dLt/hYpPphj7ZN0FPNVXmVjXEHZbHy4WboN591zQuWSqTWsvebHO PUeSV9lsBRjA91Xug86vu0Q+9yC6B7Uq9U6YhBzXb1SWwffpXaSaD/EclOqKTo6Bp+H/ ywLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="J2/rlFDh"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id u5-20020a17090aa20500b002859ad34f7bsi1090421pjp.92.2023.12.04.13.14.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 13:14:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="J2/rlFDh"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id DDFCD8068992; Mon, 4 Dec 2023 13:14:48 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234135AbjLDVOf (ORCPT + 99 others); Mon, 4 Dec 2023 16:14:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234201AbjLDVOa (ORCPT ); Mon, 4 Dec 2023 16:14:30 -0500 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8BABFF for ; Mon, 4 Dec 2023 13:14:36 -0800 (PST) Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-50beed2a46eso837e87.0 for ; Mon, 04 Dec 2023 13:14:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1701724475; x=1702329275; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=HC3Kqwq0MMmfCoFQwZgAsJVop+/+8BNQbF/H1UQSrUk=; b=J2/rlFDhgONMIXUDqpLdS4TQWKgnZarLU0gr6cz+RN8nkSezO7l1iXgTt6M6IxsokO 3adCAlWhq3jMoD2XHdSFGZ4cE5S1EECTwjhoLR0ssOd6FKa7uT3+rZ7rW8mmxwPH6fJ1 TdfIPWLG5SiSrjnjtqNAu9Z+Iq/GkqVuwnuZ2WnJfO8qAIPM/4btBdMHCqqbmRX15iRy ET9wM4cVKtBV/U1cbMlcUwuz5vSbPk3ulBFcykWZfIu3kw0DhyQQf5955SQOEUlD1sYu /t7+pHNwMq5amjzQAdrS2RxF2sHbtFN80Sulii6vGBoxx5OhDiTiC/71MvfXnYg6k8m3 koTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701724475; x=1702329275; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HC3Kqwq0MMmfCoFQwZgAsJVop+/+8BNQbF/H1UQSrUk=; b=eUJ/hwENa347Ap7w2Dw6lTzKbMlQZlC5Js1yR1ycqzGbSsFARpgFLySvUoaTecZwEE 7sGVceiqyfudb/+5l81OOvlC03Tc3AXz63hKNuE35xnsH3BuFbITtE04Bp0+qiWNoVOV 0XLkI3yPb9il/z7L6wIRqRMq7RrSiyeAUo2d54GVHKS4SGApOGPNOgrwOorF3uYbijhG PuuI/6PsLxgzRbMeQikRwVbxqJsPM9+mx7QJLrg+bKYLH9t3V4ZM2S6eRPh3iFgqQMaJ e+VN8sMeTHR483OfnsuFnr2fOoFva0luW7CB8jdJL0GJoLqLIOnLr2EkVYsiMW+U0alN RVKQ== X-Gm-Message-State: AOJu0Yzcxo/VZhTnINSOaYj0br5Ek4sT7SE33s3OKD9zn3Htf2wafm92 7QNJnwcG+G9ow0tHuoVUK63WKt+MuYDhyl1Srfkgvg== X-Received: by 2002:a05:6512:12c4:b0:50b:fc76:42c with SMTP id p4-20020a05651212c400b0050bfc76042cmr87811lfg.2.1701724474909; Mon, 04 Dec 2023 13:14:34 -0800 (PST) MIME-Version: 1.0 References: <20231201235031.475293-1-irogers@google.com> <20231201235031.475293-9-irogers@google.com> In-Reply-To: From: Ian Rogers Date: Mon, 4 Dec 2023 13:14:23 -0800 Message-ID: Subject: Re: [PATCH v1 9/9] perf tests: Add option to run tests in parallel To: Arnaldo Carvalho de Melo Cc: Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Adrian Hunter , Nathan Chancellor , Nick Desaulniers , Tom Rix , Ravi Bangoria , James Clark , Kan Liang , John Garry , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, llvm@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-8.4 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Mon, 04 Dec 2023 13:14:49 -0800 (PST) On Mon, Dec 4, 2023 at 12:30=E2=80=AFPM Arnaldo Carvalho de Melo wrote: > > Em Fri, Dec 01, 2023 at 06:06:12PM -0800, Ian Rogers escreveu: > > On Fri, Dec 1, 2023 at 3:50=E2=80=AFPM Ian Rogers = wrote: > > > > > > By default tests are forked, add an option (-p or --parallel) so that > > > the forked tests are all started in parallel and then their output > > > gathered serially. This is opt-in as running in parallel can cause > > > test flakes. > > > > > > Rather than fork within the code, the start_command/finish_command > > > from libsubcmd are used. This changes how stderr and stdout are > > > handled. > > > > > > Signed-off-by: Ian Rogers > > > > Actually, I think this patch needs more work. The verbose output is > > degraded and missing in some cases. Suggestions on how to fix welcome. > > I'll think about, but to make progress I think the first 8 patches in > this series can be considered now? That would be great. Thanks! Ian