From patchwork Fri Mar 4 10:38:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shaopeng Tan X-Patchwork-Id: 548433 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BAF92C433EF for ; Fri, 4 Mar 2022 10:39:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236192AbiCDKkZ (ORCPT ); Fri, 4 Mar 2022 05:40:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230343AbiCDKkY (ORCPT ); Fri, 4 Mar 2022 05:40:24 -0500 Received: from esa4.hc1455-7.c3s2.iphmx.com (esa4.hc1455-7.c3s2.iphmx.com [68.232.139.117]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2029117CC47; Fri, 4 Mar 2022 02:39:35 -0800 (PST) IronPort-SDR: fsgG0/gjIi5acOHtx6D6MiIuVKwoe/VpW5F4YQCOg5fT7fWvatHfzwWt2hu8PB2d7nDqBfF/em +sBuN6BMzggvszGd1kV9anmLXXvZHfF3Z0QOWT8dvLujOq9qfBILOC83XABIt0lVypTYHXMQz9 avMvmBZp8BwyECPL7u+22SVpJn+kxxrvlD8XL0ITke6HldJdNMEFlNcQWIM9KJ9Bhjuee6GVlp jchL+1NWxPqPFRe4G8zmsfjYMJ9sIHQZSBqjm36FGS2thFVYwhhQvg5Ra70NHcMZEAFPIaoEP6 9HelEAeLWMYaa4qtQ0BeaQKl X-IronPort-AV: E=McAfee;i="6200,9189,10275"; a="64939550" X-IronPort-AV: E=Sophos;i="5.90,154,1643641200"; d="scan'208";a="64939550" Received: from unknown (HELO oym-r4.gw.nic.fujitsu.com) ([210.162.30.92]) by esa4.hc1455-7.c3s2.iphmx.com with ESMTP; 04 Mar 2022 19:39:32 +0900 Received: from oym-m2.gw.nic.fujitsu.com (oym-nat-oym-m2.gw.nic.fujitsu.com [192.168.87.59]) by oym-r4.gw.nic.fujitsu.com (Postfix) with ESMTP id CB81031311; Fri, 4 Mar 2022 19:39:31 +0900 (JST) Received: from oym-om4.fujitsu.com (oym-om4.o.css.fujitsu.com [10.85.58.164]) by oym-m2.gw.nic.fujitsu.com (Postfix) with ESMTP id 5078DFF2A; Fri, 4 Mar 2022 19:39:30 +0900 (JST) Received: from cn-r05-10.example.com (n3235113.np.ts.nmh.cs.fujitsu.co.jp [10.123.235.113]) by oym-om4.fujitsu.com (Postfix) with ESMTP id 282BE40451C6F; Fri, 4 Mar 2022 19:39:30 +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, Shuah Khan Subject: [PATCH v4 2/6] selftests/resctrl: Change the default limited time to 120 seconds Date: Fri, 4 Mar 2022 19:38:30 +0900 Message-Id: <20220304103834.486892-3-tan.shaopeng@jp.fujitsu.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220304103834.486892-1-tan.shaopeng@jp.fujitsu.com> References: <20220304103834.486892-1-tan.shaopeng@jp.fujitsu.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@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: Shuah Khan Signed-off-by: Shaopeng Tan --- tools/testing/selftests/resctrl/settings | 1 + 1 file changed, 1 insertion(+) 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..6091b45d226b --- /dev/null +++ b/tools/testing/selftests/resctrl/settings @@ -0,0 +1 @@ +timeout=120