Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp590343pxb; Tue, 15 Feb 2022 23:04:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJxCUUl9G6t/swuf8TEbhkqkj+meIudhagZYIxCN+yQVp+Gy419b4qA7/z8RgpVkgcXcIkPK X-Received: by 2002:a17:903:11c6:b0:14f:4686:e262 with SMTP id q6-20020a17090311c600b0014f4686e262mr1194347plh.15.1644995080589; Tue, 15 Feb 2022 23:04:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644995080; cv=none; d=google.com; s=arc-20160816; b=bHwKMkQyqntaz49RWCJS8VkxhYRCFrAhnSJlkE+Lm67m+kTJeUBkn1AzUbqQd9tnQC XBPQY3Le2rDtYIoEaXMdHVsndoRBhNFArJ/YZodBL6XZsDdgL6d6WaXPLxe3ZRJyl0mD YJaJ+9WBLnoLhrrYC7wl5hnHTkZ1lXmrDnF6oDmN5rda0WiR4pbm3VtoOvZgBY7QuacH 0JSxzr6I27WkLqTPby+zHaNS8Xzwkuil1l+zPofGl4NICJ4YPNxSaercxXk/4Py+2CK4 t6d4IVKuBYxAe4eDvCTfTpG67A76pDjpV2cDOQBEll9yF2U+pHROPzQL837tQMvMsVG2 /lFA== 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 :ironport-sdr; bh=j4sidrsQmao2aRmabc+ypNvHgfyoyxvyCPzaiG6T12U=; b=MkdrUR17l5h7VF0vUPb9kq8JhIjoPkjvxs9/5WH7buZr5lht5TqDng+OwyJ/uy0v7g DgyEHhiFURULpe/CbUXjhVILE/DjrSyWBjonknVteHhXP9qyMLFgGX5Mrh9Bxds9y1K4 cWDZ8GjC0PclVevfqlsbyHXZlWeWGFR07wuAmq//5ry36y3GY7+8H2+kjAnRAtRWonhw ojYpmgrWLPsgq01asEkieHNLNcRJBz83dmo1B9rkbqhaHNfCDEAPuffbEJVCJ+T/4E4X bLtxbUJHgAvSLL+0Lrm90ORo41A2YRhj7PixZ2XfURuyKl6xO81J3wrIc87JdqEshCnx CIQA== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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. [23.128.96.19]) by mx.google.com with ESMTPS id q7si38365043pfj.263.2022.02.15.23.04.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Feb 2022 23:04:40 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 C040391AD4; Tue, 15 Feb 2022 22:42:07 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343749AbiBPCaL (ORCPT + 99 others); Tue, 15 Feb 2022 21:30:11 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:37104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241563AbiBPCaK (ORCPT ); Tue, 15 Feb 2022 21:30:10 -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 E2A9EF5426; Tue, 15 Feb 2022 18:29:58 -0800 (PST) IronPort-SDR: 6gBjHwVCpkApe48hHj/iFMfucg9Pth6iyV9NCeLdL0MdgnuZbmfm9jgXS2ds+V6YZCbaZ4N8mu SlljFNCModLk/J2smHjqWmIlgIJSpDnPNBWg2wOKhS/LgsZH7YHKbplFg/XX1cotLXCNOqiLxJ 52KpWTzMh7bIB9fgNak+IeutUj06ofoamdxdLAQyql2T3fgld5aJOAnFoDwavSxqB2Ot5LMbeB wqcgY+lC37fDP+xFoA5fBDjeapRNw45M8BbXp6fR7zFrJm6kglKm+o1xSc7NXxRDVtScqEqyCW 8UuNmQRwN80u4/NmVjEgNfjG X-IronPort-AV: E=McAfee;i="6200,9189,10259"; a="62933532" X-IronPort-AV: E=Sophos;i="5.88,371,1635174000"; d="scan'208";a="62933532" Received: from unknown (HELO oym-r2.gw.nic.fujitsu.com) ([210.162.30.90]) by esa4.hc1455-7.c3s2.iphmx.com with ESMTP; 16 Feb 2022 11:28:53 +0900 Received: from oym-m2.gw.nic.fujitsu.com (oym-nat-oym-m2.gw.nic.fujitsu.com [192.168.87.59]) by oym-r2.gw.nic.fujitsu.com (Postfix) with ESMTP id 7EEADF030C; Wed, 16 Feb 2022 11:28:51 +0900 (JST) Received: from yto-om4.fujitsu.com (yto-om4.o.css.fujitsu.com [10.128.89.165]) by oym-m2.gw.nic.fujitsu.com (Postfix) with ESMTP id C03FCBDB33; Wed, 16 Feb 2022 11:28:50 +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 82B0A4007E8D1; Wed, 16 Feb 2022 11:28:50 +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 v3 4/5] selftests/resctrl: Change the default limited time to 120 seconds Date: Wed, 16 Feb 2022 11:26:40 +0900 Message-Id: <20220216022641.2998318-5-tan.shaopeng@jp.fujitsu.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220216022641.2998318-1-tan.shaopeng@jp.fujitsu.com> References: <20220216022641.2998318-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 --- From the perspective of the kselftest framework, a rule of "Don't take too long" is a concern. To get some better informed opinions from kselftest audience, I highlighted this change in the cover letter. I adopted most of Reinette's phrase from the discussion in patch v2 to explain why 120s is appropriate for this test. 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 -- 2.27.0