Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp8867393rwr; Thu, 11 May 2023 07:12:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Ub/tIaMRDuAXnPE7DohLo/yE12+J2WevPhvnb6PiSGfbX3Jcl37Dr+FFrIdSS2VtURGsl X-Received: by 2002:a17:90b:8c5:b0:250:4618:f8e8 with SMTP id ds5-20020a17090b08c500b002504618f8e8mr18645298pjb.46.1683814354958; Thu, 11 May 2023 07:12:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683814354; cv=none; d=google.com; s=arc-20160816; b=KjO0DQs5kFu+LN/er6Npxr6OtCBWYzfnyqlW4OZQj59IWOlPM0/Jh+VLxZvNO9iAfj iSYoGoRx9fN2jIQkly0ZbHWmJl7qEakNg1AFIHvjYLAmslVAgVbUwt0sk5aZNEOObV8O 5MAGhytOxuz0XU01eRXtoYvhjrhjkcx0fem3eWK2iKtGGAaPw0KoUSo1pIcMqvHcXhyv oIzo09MsTPcfs6CNtQ3sdmNE6qZjpLmqstykediOLOJh6wR9zZpvc6RAjXupryeDrJvj LL4v+bfegzNr58zPTr0lYYsV3h69ybwJMU3CX0tdGorik5wK7sv7+QYVDQhpkOA/qoxR d/6w== 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 :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=xFwaA+wIKlaI/1MZziCKqYmigbddYHG0ysQJeHat2NQ=; b=sQVAeqt75FjBJxkYp2Fx1Vumm0avg648ma+vIzxrRm53KkjyT9Mz9Z9fEX5+Jc1lPw 9vov4wWf5+EegLVivuW6kKOaeLUDLNChWrLbfgEJ9Iq6JNm7EYyxh4IMiDwcM1SCtrtn i5QDtQUJMY1ob97DI9ng73dl5xJNls68orklRONqYGDls/Ous7aJ7Io5Zmm7/Se6wy2o rPmIM/JtaZj/kza3Y5t5/B3a0llgsVlc2bkWW0dT9KabUduyj3slqbSQpTQXU+V1X9BQ vOrXKqlrWtZV7X+A/S9HFwKOSdAc5F8EDVt9EIh9mlizNCdy/HqxvhE6F32tx2EJcXR4 clIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Sc+NC2aa; dkim=neutral (no key) header.i=@suse.de header.b=bcI47lEC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j4-20020a17090a94c400b00250a4d72bc9si720773pjw.108.2023.05.11.07.12.20; Thu, 11 May 2023 07:12:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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.de header.s=susede2_rsa header.b=Sc+NC2aa; dkim=neutral (no key) header.i=@suse.de header.b=bcI47lEC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238341AbjEKOKI (ORCPT + 99 others); Thu, 11 May 2023 10:10:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238309AbjEKOKB (ORCPT ); Thu, 11 May 2023 10:10:01 -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 8372D9EFF; Thu, 11 May 2023 07:09:59 -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 1878721D0D; Thu, 11 May 2023 14:09:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683814198; 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; bh=xFwaA+wIKlaI/1MZziCKqYmigbddYHG0ysQJeHat2NQ=; b=Sc+NC2aajHFAzbYmOO6fTlXPzxkBWDfBIr78JPthJ7YBvYDDptO4TWrhTeyigv0ZhClQQM 4KPMpny33kNgQTIPpTIO+FrPQraIS3ujxstls5Q618ad/ryaLXR5Rb98fEErOpcUNqUwRt aMDH7H1LB28pvcOxavfoOw6WQc29z3o= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683814198; 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; bh=xFwaA+wIKlaI/1MZziCKqYmigbddYHG0ysQJeHat2NQ=; b=bcI47lEChW3XoQxlvf3fHUXkBiP0YKG+Fj85MP1oyiZEix7tEYVIWecIRYskiIT+wPBK17 NjevSfIfTAXgKCCA== 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 BB5F0134B2; Thu, 11 May 2023 14:09:57 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 7d3pJDX3XGQ/PwAAMHmgww (envelope-from ); Thu, 11 May 2023 14:09:57 +0000 From: Daniel Wagner To: linux-nvme@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Chaitanya Kulkarni , Shin'ichiro Kawasaki , Hannes Reinecke , Daniel Wagner Subject: [PATCH blktests v4 00/11] nvme testsuite runtime optimization Date: Thu, 11 May 2023 16:09:42 +0200 Message-Id: <20230511140953.17609-1-dwagner@suse.de> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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-kernel@vger.kernel.org I've updated the series with the comments from the last round. changes v4: - renamed test - updated commit messages - fixed whitespace damage - fixed ShellCheck reports - dropped 'limit number of random jobs' - fio runtime 'invinity' changed to 1d - fixed typo and updated documentation - added tags v3: - 'nvme/rc' instead of 'nvme-rc' subject prefi x - fixed spaces vs tabs indention - nvme/014, nvme/015 dropped -1 in #block calculation - common/xfs: use 'tail -1' instead 'awk' - common/xfs: no need for printf for integer division - nvme/035 limit disk size via nvme_img_size - set defaults to previous values: nvme_img_size=1G, nvme_num_iter=1000 - nvme/032, nvme/040 let fio figure out image size set timeout to infinity cleanup fio - add documentation for nvme_tr_type, nvme_img_size and nvme_num_iter - limited nproc to 32 for num jobs for random fio job - drop job size limit calculation - drop nvme_num_iter from nvme/002 - limit xfs fio job size inside _xfs_run_fio_verify_io() - added reviewed tags - https://lore.kernel.org/linux-nvme/20230503080258.14525-1-dwagner@suse.de/ v2: - made image size configurable via nvme_img_size env - make number of iteration configurable via nvme_num_iter - do not hard code test values - calculate job size - use runtime for fio background jobs - https://lore.kernel.org/linux-nvme/20230421060505.10132-1-dwagner@suse.de/ v1: - initial version - https://lore.kernel.org/linux-nvme/20230419085643.25714-1-dwagner@suse.de/ Daniel Wagner (11): nvme/rc: Auto convert test device size info nvme{014/015}: Do not hard code device size for dd test common/xfs: Make size argument optional for _xfs_run_fio_verify_io common/xfs: Limit fio size job to fit into xfs fs nvme{032,040}: Use runtime fio background jobs Documentation: Add info on nvme_trtype nvme: Make test image size configurable nvme: Add minimal test image size requirement nvme{045,047}: Calculate IO size for random fio jobs nvme{002,030}: Move discovery generation counter code to rc nvme{016,017}: Make the number iterations configurable Documentation/running-tests.md | 12 + common/rc | 30 +- common/xfs | 17 +- tests/nvme/002 | 4 +- tests/nvme/002.out | 3004 -------------------------------- tests/nvme/004 | 2 +- tests/nvme/005 | 2 +- tests/nvme/006 | 2 +- tests/nvme/007 | 2 +- tests/nvme/008 | 2 +- tests/nvme/009 | 2 +- tests/nvme/010 | 5 +- tests/nvme/011 | 5 +- tests/nvme/012 | 5 +- tests/nvme/013 | 5 +- tests/nvme/014 | 12 +- tests/nvme/015 | 12 +- tests/nvme/016 | 2 +- tests/nvme/017 | 4 +- tests/nvme/018 | 2 +- tests/nvme/019 | 2 +- tests/nvme/020 | 2 +- tests/nvme/021 | 2 +- tests/nvme/022 | 2 +- tests/nvme/023 | 2 +- tests/nvme/024 | 2 +- tests/nvme/025 | 2 +- tests/nvme/026 | 2 +- tests/nvme/027 | 2 +- tests/nvme/028 | 2 +- tests/nvme/029 | 2 +- tests/nvme/030 | 22 +- tests/nvme/031 | 2 +- tests/nvme/032 | 4 +- tests/nvme/034 | 2 +- tests/nvme/035 | 4 +- tests/nvme/040 | 11 +- tests/nvme/041 | 2 +- tests/nvme/042 | 2 +- tests/nvme/043 | 2 +- tests/nvme/044 | 2 +- tests/nvme/045 | 6 +- tests/nvme/047 | 8 +- tests/nvme/048 | 2 +- tests/nvme/rc | 40 + 45 files changed, 183 insertions(+), 3079 deletions(-) -- 2.40.0