Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp507581rwr; Thu, 4 May 2023 06:17:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7I/6ObT8brIKe25ri3erx6L6HX8Rqhbg5MPyfksc6t9xRwnfi3ToTgQQoQzE5ZRZaa7ktt X-Received: by 2002:a17:902:da91:b0:1ab:253e:6906 with SMTP id j17-20020a170902da9100b001ab253e6906mr4044495plx.67.1683206233440; Thu, 04 May 2023 06:17:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683206233; cv=none; d=google.com; s=arc-20160816; b=nfSC7TWK83EupSqmRlNbX2QOJSqYoNswszDnd/M5ye7sS5zm4ZHHtuBISrHbyjdPgd wi8qs0wWtlACjWelqk4x+QKKUSAmlATJwnRMvCUOYDRM4mX3JgMcmRv27zyF7kvmOPYL ug4SX6kbiSatli+q/sLc5OAQwHqoPUSyu6BYna6C5JfgZFdr9VfrT6Ov582ZKJDnG+8W PNt+CxThbwF2yypZJQfd4kUsfIHLeA/VvpBbcsZpSA0GzJno8hL9N42bG+GU9yxZPp+L MWzrPBKOi4JVmDqlcQqDmkGl84/oBgHUNpI5m40DZ1Wc2SgOrMXjpS1FOegYcQkorIRX OOrQ== 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 :dkim-signature:dkim-signature; bh=p/FKdR3mIdN4rPKTA6ko4I1q3qCq+vibsIIkLB7RacM=; b=APNEoMrnqLOmnpu3OjQ/RD1+CqlmVsIJWw0hVIKxpM3IkaWpmtTwP9XkZup6kbQpun HCXDdLuTpsQGVz1pzT8WawrkDCx8u0zvc+ipQKuxVwi2a9n/O69Tl3zLB+3MyqpWmYv0 csjbRzYuGmCpMircNoJ3mkOvzwykaeWNkjokQpp4JhNdfXyV2MzLIs9C0QLXDYBoZYEb P2kEOjrA83EGxE26rjrla+yYhS8k8pMYXQ6pdVWEv+50H2m2yO1IZ2IWpuFdurLUN3R/ HRasmrXpz7OQWtsuY2e1qXszqah5Pj5TIVAybHLhxr7JPZu2RQDMW5LZwF7bBFMc+EcN sm3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=dEGVOk1v; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q18-20020a170902dad200b001a507d6feb8si33178403plx.628.2023.05.04.06.16.34; Thu, 04 May 2023 06:17:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=dEGVOk1v; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229873AbjEDNOJ (ORCPT + 99 others); Thu, 4 May 2023 09:14:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229993AbjEDNOH (ORCPT ); Thu, 4 May 2023 09:14:07 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA26E6194 for ; Thu, 4 May 2023 06:14:06 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 5F6CE22B0E; Thu, 4 May 2023 13:14:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1683206045; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=p/FKdR3mIdN4rPKTA6ko4I1q3qCq+vibsIIkLB7RacM=; b=dEGVOk1vro9p663Uf28UeoFc+8I1gDCRfsGtWPlPRF+sYOIAI47XOCNfwXtdr1qOBgro3p 8PQ/3EEkLV26VQeMb8TJv2xofh2eZ/DF3rR+pjP8fnsWJ2HvaQGyuugL8xo7GvPmBwvouO nNKOEoTx+zKNDXBfKRAx1p+zwTmPhGc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1683206045; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=p/FKdR3mIdN4rPKTA6ko4I1q3qCq+vibsIIkLB7RacM=; b=HNiYDbgWLh/lCqln5c1bfs60SihWBJEh+d/SXg5pVsV+IubmbXwtZ+q1j1qAlO18uAVLGj MoipT0zNy5x1enCQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 0F0F313444; Thu, 4 May 2023 13:14:04 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id mPXhOpyvU2TXVgAAMHmgww (envelope-from ); Thu, 04 May 2023 13:14:04 +0000 From: Petr Vorel To: ltp@lists.linux.it Cc: Petr Vorel , NeilBrown , Cyril Hrubis , linux-nfs@vger.kernel.org, Jeff Layton Subject: [PATCH v5 3/5] nfs05.sh: Lower down the default values Date: Thu, 4 May 2023 15:14:12 +0200 Message-Id: <20230504131414.3826283-4-pvorel@suse.cz> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230504131414.3826283-1-pvorel@suse.cz> References: <20230504131414.3826283-1-pvorel@suse.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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-nfs@vger.kernel.org nfs05_make_tree.c runs make which needs on Btrfs quite a lot of temporary space. This is a preparation for the next commit which start using all filesystems via TST_ALL_FILESYSTEMS=1. Currently we use 300 MB, which was not enough for Btrfs: Filesystem Type Size Used Avail Use% Mounted on /dev/loop0 btrfs 300M 62M 20K 100% /tmp/LTP_nfs05.Vau10kcszO/mntpoint More space is required on ppc64le (higher page size ?). Proper solution would be to detect available size in nfs05_make_tree.c and lower down values based on free space. Signed-off-by: Petr Vorel --- testcases/network/nfs/nfs_stress/nfs05.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testcases/network/nfs/nfs_stress/nfs05.sh b/testcases/network/nfs/nfs_stress/nfs05.sh index c18ef1ab4..760b585e4 100755 --- a/testcases/network/nfs/nfs_stress/nfs05.sh +++ b/testcases/network/nfs/nfs_stress/nfs05.sh @@ -8,9 +8,9 @@ # # Created by: Robbie Williamson (robbiew@us.ibm.com) -DIR_NUM=${DIR_NUM:-"10"} -FILE_NUM=${FILE_NUM:-"30"} -THREAD_NUM=${THREAD_NUM:-"8"} +DIR_NUM=${DIR_NUM:-"5"} +FILE_NUM=${FILE_NUM:-"20"} +THREAD_NUM=${THREAD_NUM:-"5"} TST_NEEDS_CMDS="make gcc" TST_TESTFUNC="do_test" -- 2.40.0