Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1213707pxb; Thu, 24 Mar 2022 15:14:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxoSS/dDCiZNczAeDZTgZBCKoLOjlcpxY/a2pt78Rv3u/NJqWHs9i9XbkSVRBXjvV7UUvdJ X-Received: by 2002:a17:907:8690:b0:6da:8436:2b94 with SMTP id qa16-20020a170907869000b006da84362b94mr8165846ejc.33.1648160048788; Thu, 24 Mar 2022 15:14:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648160048; cv=none; d=google.com; s=arc-20160816; b=nFHiQ/MElE/5jErPVEzuYoDU8JUc6LCa7uvMbYDYhLa65lbO2GRp4/baNia/ftJoTf OicJL7iYqz9cnTxjcWODmO4MoZqKcTNB2+zTK9uZEkcLgJRmh1fUexGxnF4y1JtBH8dT msatCJAkISCXmzaObl4KYLSIfUwnClKakR59i2uDpoEU6wNoFCSMUtbLxF9lqC6nDV9l W4Vvxg4OYhGC3pWpfKv9lYHRoJQYmjWaH2G2aJHS7IIBL1pvnE4jYg90iE+8Qa4HJiAO YKz16KslrOEp334MPhswy/2VQGDpGIZWz7HjCAfMsuBw1rCXgrUOx6o/c6Aea+q1ml8B 9iUA== 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; bh=t15NrUcH+JIVXuvSdPh4urLo3YwhYvu6Ssy/57DozMA=; b=SMrMDtiM5Vc3l6gi5lKeVgVT3b/XoxT/pk9QmmESkqFkj3E81q5gKoXs2yhSNxuzQW gKWWnmxH/jVm8RM8WLNad1JJo78Rsb9mOAEwKkiphPB0bS8xEl/+tuvEHkHg8Koo9ic+ thlf+5OXz50i68aCAJAJzkTtNY3qHNA47594rxsrxu/qIoLhd/BJa2kijkw9xHvoxf/s CsmYF7DJVQDwbZuuOiAhRTAuCgEUjYRnahPQB3Q+bWSfkn7ICC0DVQWIfM1IBIIGNmow IOG4y69Ou13b9F2h7xwo0S/0LBHjkhE6Rdq1NszjiHsuJ0JEToXEY28Zl4oiiT0/BndP s+og== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=fujitsu.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o10-20020a170906768a00b006df76385b7asi770895ejm.26.2022.03.24.15.13.34; Thu, 24 Mar 2022 15:14:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=fujitsu.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242540AbiCWIPk (ORCPT + 99 others); Wed, 23 Mar 2022 04:15:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233391AbiCWIPZ (ORCPT ); Wed, 23 Mar 2022 04:15:25 -0400 Received: from esa8.hc1455-7.c3s2.iphmx.com (esa8.hc1455-7.c3s2.iphmx.com [139.138.61.253]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1984B1CFCD; Wed, 23 Mar 2022 01:13:55 -0700 (PDT) X-IronPort-AV: E=McAfee;i="6200,9189,10294"; a="55126388" X-IronPort-AV: E=Sophos;i="5.90,203,1643641200"; d="scan'208";a="55126388" Received: from unknown (HELO yto-r4.gw.nic.fujitsu.com) ([218.44.52.220]) by esa8.hc1455-7.c3s2.iphmx.com with ESMTP; 23 Mar 2022 17:13:53 +0900 Received: from yto-m4.gw.nic.fujitsu.com (yto-nat-yto-m4.gw.nic.fujitsu.com [192.168.83.67]) by yto-r4.gw.nic.fujitsu.com (Postfix) with ESMTP id A650AD3EAA; Wed, 23 Mar 2022 17:13:52 +0900 (JST) Received: from yto-om1.fujitsu.com (yto-om1.o.css.fujitsu.com [10.128.89.162]) by yto-m4.gw.nic.fujitsu.com (Postfix) with ESMTP id 76953D5071; Wed, 23 Mar 2022 17:13:51 +0900 (JST) Received: from cn-r05-10.example.com (n3235113.np.ts.nmh.cs.fujitsu.co.jp [10.123.235.113]) by yto-om1.fujitsu.com (Postfix) with ESMTP id 3F79440573320; Wed, 23 Mar 2022 17:13:51 +0900 (JST) From: Shaopeng Tan To: Fenghua Yu , Reinette Chatre , Shuah Khan Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, tan.shaopeng@jp.fujitsu.com Subject: [PATCH v7 2/6] selftests/resctrl: Change the default limited time to 120 seconds Date: Wed, 23 Mar 2022 17:12:23 +0900 Message-Id: <20220323081227.1603991-3-tan.shaopeng@jp.fujitsu.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220323081227.1603991-1-tan.shaopeng@jp.fujitsu.com> References: <20220323081227.1603991-1-tan.shaopeng@jp.fujitsu.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When testing on a Intel(R) Xeon(R) Gold 6254 CPU @ 3.10GHz the resctrl selftests fail due to timeout after exceeding the default time limit of 45 seconds. On this system the test takes about 68 seconds. Since the failing test by default accesses a fixed size of memory, the execution time should not vary significantly between different environment. A new default of 120 seconds should be sufficient yet easy to customize with the introduction of the "settings" file for reference. Reviewed-by: Reinette Chatre Reviewed-by: Fenghua Yu Signed-off-by: Shaopeng Tan --- tools/testing/selftests/resctrl/settings | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tools/testing/selftests/resctrl/settings diff --git a/tools/testing/selftests/resctrl/settings b/tools/testing/selftests/resctrl/settings new file mode 100644 index 000000000000..a383f3d4565b --- /dev/null +++ b/tools/testing/selftests/resctrl/settings @@ -0,0 +1,3 @@ +# If running time is longer than 120 seconds when new tests are added in +# the future, increase timeout here. +timeout=120 -- 2.27.0