Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp768588pxp; Fri, 11 Mar 2022 14:37:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJy343gKk7hlMait0Dr0R6cK7Eehn/6TirG781bphfas9olYSFv6RE71Zk0rNiVhtyK/XGj7 X-Received: by 2002:a17:90b:1052:b0:1bf:5024:c2a7 with SMTP id gq18-20020a17090b105200b001bf5024c2a7mr12836789pjb.218.1647038246873; Fri, 11 Mar 2022 14:37:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647038246; cv=none; d=google.com; s=arc-20160816; b=W9PsHLnfX04ZYCV900jFqLz38T7/RNrjt2Nmc6JtuvQ6eVG/oWzJtuLuPhqOcIJN5E TetEuaVSkyAtb9zeU0En4ZhvXxQ3snU4gz3UxtEpGRUFlC6NhOIl6FK7EN/g69h+ook8 szi1KLC9ESKKbDEcnZw8nGbGzUynKt2t+FQUYS+BKNMSXko3xrJEBXVWqbP/KFI4qc6d 0uF4OM5fKT61dcCBuadugt46U0UlapQgTbbT9RiYKMTm4kb8MuBTCx4bEjanT0RROorp ovG9pAh7kkC0+cA1GwvxoCWA0P3qvK0waNPWA23CpJPiyMeWEdxGJU1JEoPKClbbQcnb 2mbw== 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=5ytA6nlfDky+LM9DJ0IxycTrnUGtLw3mG9FhvMDy5ZU=; b=rXs4C2ox5I7JY8nt0Vy1c2cJYoXlWUbKeFVw9s44Bl7IQrYTnD1oPGF67nR4ByfJYw th58PwUQNcdrMfGls4Ynp8mef9PWu24/Xwdr0jRLToJlOTCima7714QNcXtdk+JY9xpT 3iO40ZNLFo0M6+gnhHBTORCAZROF0/AKEGppBLuoykmCkkChBozzfXnWCaL2NtLw3q7Y bT0oTWri1yOcZ8450I2zWrX62Xvwe/Uzcwolksf/qWmqJP0icfP5opNj993C6Fuy6n/7 EOAYklw47/m3LmEq4jIpLsjGzFr6RcMBn5e+nAaijmWpz4RFA7DRTC7l/1z9c6exidSc pNiQ== 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:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id q2-20020a170902e30200b00151d22a3f85si8010336plc.38.2022.03.11.14.37.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 14:37:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=fujitsu.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 07DEB329876; Fri, 11 Mar 2022 13:42:42 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347151AbiCKHZz (ORCPT + 99 others); Fri, 11 Mar 2022 02:25:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232776AbiCKHZu (ORCPT ); Fri, 11 Mar 2022 02:25:50 -0500 X-Greylist: delayed 64 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 10 Mar 2022 23:24:47 PST Received: from esa12.hc1455-7.c3s2.iphmx.com (esa12.hc1455-7.c3s2.iphmx.com [139.138.37.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 181531B65ED; Thu, 10 Mar 2022 23:24:46 -0800 (PST) X-IronPort-AV: E=McAfee;i="6200,9189,10282"; a="45601605" X-IronPort-AV: E=Sophos;i="5.90,173,1643641200"; d="scan'208";a="45601605" Received: from unknown (HELO yto-r2.gw.nic.fujitsu.com) ([218.44.52.218]) by esa12.hc1455-7.c3s2.iphmx.com with ESMTP; 11 Mar 2022 16:23:40 +0900 Received: from yto-m3.gw.nic.fujitsu.com (yto-nat-yto-m3.gw.nic.fujitsu.com [192.168.83.66]) by yto-r2.gw.nic.fujitsu.com (Postfix) with ESMTP id 60DB1C68A5; Fri, 11 Mar 2022 16:23:39 +0900 (JST) Received: from yto-om4.fujitsu.com (yto-om4.o.css.fujitsu.com [10.128.89.165]) by yto-m3.gw.nic.fujitsu.com (Postfix) with ESMTP id ACFFD14254; Fri, 11 Mar 2022 16:23:38 +0900 (JST) Received: from cn-r05-10.example.com (n3235113.np.ts.nmh.cs.fujitsu.co.jp [10.123.235.113]) by yto-om4.fujitsu.com (Postfix) with ESMTP id 7D1E4401110B2; Fri, 11 Mar 2022 16:23:38 +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 v5 2/6] selftests/resctrl: Change the default limited time to 120 seconds Date: Fri, 11 Mar 2022 16:21:43 +0900 Message-Id: <20220311072147.3301525-3-tan.shaopeng@jp.fujitsu.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220311072147.3301525-1-tan.shaopeng@jp.fujitsu.com> References: <20220311072147.3301525-1-tan.shaopeng@jp.fujitsu.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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. 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