From nobody Wed Oct 11 21:13:56 2023 X-Original-To: dev-commits-src-all@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 4S5QVr4L6Yz4wj41; Wed, 11 Oct 2023 21:13:56 +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 4S5QVr3mLZz3Ns5; Wed, 11 Oct 2023 21:13:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697058836; 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=QhlgcrPTJxnDmVNszUcPcrTTf1+1U85znirjnGEPty4=; b=dVrA71kjP7rpJPhDLiPvDZnPHntdv741ySLaZwWFeZpvG+HM+gTQs5GzWuBR6FRPRFEfSZ MeASvWgXiYL4gR3EK4gce54eOQ/lRtPOoCofHx/pL7/qjZb91Q4ilgtMeIgM2IYw4MswQ6 0s5VrGouC2R50yIOyKXfF3ifjuSeRUV9Lz3iyq5xNjKptA7HcujQFarb64FjD44wP0hw4Z bEdex14l5BJOz7centLJYsGA4vp3gpD4bNgqO8EGNoyRlZj0haMqRMdEz75lyvjkvVQ2XQ wiDlQb5I6zg0ZtQ6WSy0bjMxNk0eTgJasbWbbjF3aOp2NdNSkmFDtXyzJFfYCA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697058836; a=rsa-sha256; cv=none; b=CYOxB7dZBWcFmTBclo2BNBTtmIZstmiJJ+uuIu4fuv6n8KteIXiP2CVupfTvVnE0EzZ+4s fl85hjv1egFov6AleVxGHgcFUWJrCSW6QjUsn2Qe8Iwj/mxpwWFhD8+HMGM+1X6F9nHQFA vuOJaYvPV9jj4iRKqwBFLs5cYmFGvaiyoWndWOXOgc8BAQV3PPB7QBMDW6qd+KYM1TfhgQ bufAJLRmKpLZxjX3B+BGm1nrmJj5TYBIWDooFtT+3EGLxqrqohM7UD/u2M3aP4ygcZj+6E G4vtATlCxlfq36EriSHLAQtlNSTZBT8izZJlTs0TyjYbuBGNZtt0INrXmvnzzQ== 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=1697058836; 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=QhlgcrPTJxnDmVNszUcPcrTTf1+1U85znirjnGEPty4=; b=ObHjTshjGfAtagB/02xk3hrqEiqy4MoqJstai15WtiN3QuL0rH7Vz2vPyYU1gFq5jTlkOa 4kRGWP8op1G7cIE9FTBZtQn2lGxjj4MnKRFMkHzujxEcj6z8eZmF76v+bIED4wpSCUSVsJ R76pJFEkBJ/tRTRL5YAM91X2/F7kXY64+r3fsN2Y2+Xu9iiZg4TvyFSXgsbm89X09HMQH+ jnnkz0DWFVIA/YGzOK6Pwt98bXpHTLkjf0M264qHo6dIiwUQ2qVUr9fWXPA8UNcRrE+rxp aAUq1HNg9EPcoGqaFZFFho8GAOIGQLdPDmKF+4Bgu2siML68kn8iX5XTIu+G7g== 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 4S5QVr2qH0zcJv; Wed, 11 Oct 2023 21:13:56 +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 39BLDuAJ075105; Wed, 11 Oct 2023 21:13:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39BLDu0l075102; Wed, 11 Oct 2023 21:13:56 GMT (envelope-from git) Date: Wed, 11 Oct 2023 21:13:56 GMT Message-Id: <202310112113.39BLDu0l075102@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Richard Scheffenegger Subject: git: 569f2292cae3 - main - test: iterate both reader and writer threads starting at the actual pagesize List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rscheff X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 569f2292cae399cb216b850295036a8ae2fc66c1 Auto-Submitted: auto-generated The branch main has been updated by rscheff: URL: https://cgit.FreeBSD.org/src/commit/?id=569f2292cae399cb216b850295036a8ae2fc66c1 commit 569f2292cae399cb216b850295036a8ae2fc66c1 Author: Richard Scheffenegger AuthorDate: 2023-10-11 21:11:37 +0000 Commit: Richard Scheffenegger CommitDate: 2023-10-11 21:11:57 +0000 test: iterate both reader and writer threads starting at the actual pagesize Reviewed By: pho Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D42160 --- tools/test/stress2/misc/jumbo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test/stress2/misc/jumbo.sh b/tools/test/stress2/misc/jumbo.sh index 8dcc5aa7aca3..a2d09bafaa82 100755 --- a/tools/test/stress2/misc/jumbo.sh +++ b/tools/test/stress2/misc/jumbo.sh @@ -131,7 +131,7 @@ reader(void) { if ((buf = malloc(MX)) == NULL) err(1, "malloc(%d), %s:%d", MX, __FILE__, __LINE__); setproctitle("reader"); - for (i = 4096; i < MX; i += 1024) { + for (i = sysconf(_SC_PAGESIZE); i < MX; i += 1024) { alarm(TIMEOUT); if ((n = recvfrom(msgsock, buf, i, MSG_WAITALL, NULL, NULL)) < 0) {