From nobody Wed Sep 27 11:01:50 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RwYb24Zplz4vJHX; Wed, 27 Sep 2023 11:01:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RwYb2472pz3g51; Wed, 27 Sep 2023 11:01:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695812510; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=sECHU9bayvH4URguCVP7dxSb+CERq5+0FXu7XplDQ6E=; b=v3CFlByVJehNXEk/tShKHoA+ltJKZilyNG89FrYSNjPkFePy/X56NgQphag7f/Y+bjMkxy GzClZc80N2bj0ZhcxgSuuIhp458xTO377i5cetBE0jnrrjG1rm9lRkpWndh2RsnNoMoIHU MZ7jUwEj9es3O6LK6cS0qJLhbX/68VBSzPwnqxhnMEj7dUitI7WgBc+HKLlrAf3IM2hoiK 24rX8LRtZC0QIE3aFIVtkhqx5lrvWV6+SBpp6ev3RWsinmb3WSmT01daYhkpy0Jxg9XLN5 DAMPg5XOEtaZw/p/9vpOU4AclzZCSC3+PdIB0WlT+zproaUtvrk6o0MALuyInA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695812510; a=rsa-sha256; cv=none; b=AH4yw5jYTYxyFYs73agwLtDeMlS3zm6LpvXaUiwNcR8v6H8hD358fVVUObJB9W30V/gW4a zfAaTFR/UGIuHACIxChplPOP/Z1G3o6S/1rbtY8FvnaFfpnLsSce2tNAp3YSyivN2YoXzD YLWmSnbZ1Mireghy9yGxrYT0gfi/9tVJeVGJPko8Tm3Lv5vxMDuww1fSayG6QxTIs+jp+q 6rWkuoZvJWeG3ehJ/ICOQWddS+rgkL7tFZc0STeNKSQyvf9PF7FVt85jmAh8lDDcC5bC+B Qkn9o+ndVdKOZg2X7XuxfrhmyT2kkxYEZr9HGN+MotjMml115BLxxWjTxDPQ1w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695812510; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=sECHU9bayvH4URguCVP7dxSb+CERq5+0FXu7XplDQ6E=; b=IFMNw1kkXA7MDv7kN9iX52NHmwIzkPEVAsIfUcF3IF7YDamp/6tGaY6AkxFDYCiITRRB/Z Fw60JaYt6zKBtPsYKTf/gc+wHtuLeB+Lki82c1Xx189HRnBNwcXi2xSCjIX/2QNPF0JgV1 /36+87pvbzDJkf+zOVSqxZbslmQ8PCx+a6/9i2LjLe14ewdQriCZ/ioVPCG48w9YRcQ8Db bMlhTs+BtiM0t1mQRwlLEMtKCha8Y8lHecN0DnBSmGjmuoOMlPuq5epODtiwpr/MWMhlHY gjFqVvsEKkDlF5nHBvBwse9gIgheaYudph1m1DYjHjkKawRQGh3Rl39TbLwp7A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RwYb23DB9zcZ1; Wed, 27 Sep 2023 11:01:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38RB1oER038326; Wed, 27 Sep 2023 11:01:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38RB1oth038323; Wed, 27 Sep 2023 11:01:50 GMT (envelope-from git) Date: Wed, 27 Sep 2023 11:01:50 GMT Message-Id: <202309271101.38RB1oth038323@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Peter Holm Subject: git: 0ec1bbe579fa - main - stress2: Cap total runtime List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pho X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0ec1bbe579fa1b81cbb6b7dbbbea38397a56274a Auto-Submitted: auto-generated The branch main has been updated by pho: URL: https://cgit.FreeBSD.org/src/commit/?id=0ec1bbe579fa1b81cbb6b7dbbbea38397a56274a commit 0ec1bbe579fa1b81cbb6b7dbbbea38397a56274a Author: Peter Holm AuthorDate: 2023-09-27 10:58:39 +0000 Commit: Peter Holm CommitDate: 2023-09-27 10:58:39 +0000 stress2: Cap total runtime --- tools/test/stress2/misc/radix.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/test/stress2/misc/radix.sh b/tools/test/stress2/misc/radix.sh index fa85512c79c5..b102c09aca92 100755 --- a/tools/test/stress2/misc/radix.sh +++ b/tools/test/stress2/misc/radix.sh @@ -46,14 +46,14 @@ mycc -o radix -Wall -Wextra radix.c || exit 1 rm -f radix.c cd $odir -set -e +set -u trap "rm -f rendezvous" EXIT INT parallel=1 usermem=`sysctl hw.usermem | sed 's/.* //'` pagesize=`pagesize` start=`date +%s` while true; do - timeout 2m /tmp/radix $parallel > $log; s=$? + timeout 20m /tmp/radix $parallel > $log; s=$? [ $s -eq 124 ] && { echo "Timed out"; break; } [ $s -ne 0 ] && cat $log used=`awk '{print $4}' < $log` @@ -63,7 +63,7 @@ while true; do [ $parallel -eq 1 ] && parallel=$((usermem / pagesize / used)) parallel=$((parallel + 1)) - echo "`date +%T` parallel=$parallel" # XXX + [ $parallel -gt 10 ] && parallel=10 done cat /tmp/radix.log