From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 62E13C4321E for ; Thu, 1 Dec 2022 10:34:13 +0000 (UTC) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id CEE323CC49F for ; Thu, 1 Dec 2022 11:34:11 +0100 (CET) Received: from in-5.smtp.seeweb.it (in-5.smtp.seeweb.it [IPv6:2001:4b78:1:20::5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 238243CC470 for ; Thu, 1 Dec 2022 11:34:02 +0100 (CET) Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by in-5.smtp.seeweb.it (Postfix) with ESMTPS id 69860601BD1 for ; Thu, 1 Dec 2022 11:34:01 +0100 (CET) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id BEB741FD63; Thu, 1 Dec 2022 10:34:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1669890840; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WxY86QwInBdVSjboClyKi2D6AEXq68ia//dW6p8PyHw=; b=j/BRqjs/2Fap50EuxUkgA76ZbY8eWFium702s95LI/Ue9t+o51I/E7Zng6riGmLBEUHVu0 r99kVUI12poTXsTVj3TNQlYUfYkSH4smZh5KXrADxQFJfwzRZmoYnJZ4iN1hdyxUPWYHXt pcjsUnZDPSbl6Ucdy9kSQcP/FnlLbms= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1669890840; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WxY86QwInBdVSjboClyKi2D6AEXq68ia//dW6p8PyHw=; b=bSy15iPGmJv8I8Q8g9uHuterqZHZbgZq8bXsXS0Oi2O6rxU6dHCeNKd/iufYCOw+i6TQyN aOuch+cIBMhnTaCQ== Received: from g78 (unknown [10.163.28.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 926B72C141; Thu, 1 Dec 2022 10:34:00 +0000 (UTC) References: <20221130135451.28399-1-andrea.cervesato@suse.com> <20221130135451.28399-3-andrea.cervesato@suse.com> User-agent: mu4e 1.8.11; emacs 28.1 From: Richard Palethorpe To: Andrea Cervesato Date: Thu, 01 Dec 2022 10:33:50 +0000 Organization: Linux Private Site In-reply-to: <20221130135451.28399-3-andrea.cervesato@suse.com> Message-ID: <87cz93ifaf.fsf@suse.de> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.102.4 at in-5.smtp.seeweb.it X-Virus-Status: Clean Subject: Re: [LTP] [PATCH v10 2/2] Merge ltp-aio-stress part2 with part1 X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rpalethorpe@suse.de Cc: ltp@lists.linux.it Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-bounces+ltp=archiver.kernel.org@lists.linux.it Sender: "ltp" Andrea Cervesato via ltp writes: > ltp-aio-stress.part[12] have been merged due to tests duplication and > new ltp-aio-stress test rewrite that doesn't require $TMPDIR parameter > anymore. > > Signed-off-by: Andrea Cervesato Reviewed-by: Richard Palethorpe > --- > runtest/ltp-aio-stress | 55 +++++++++++++++++++++++++ > runtest/ltp-aio-stress.part1 | 79 ------------------------------------ > runtest/ltp-aio-stress.part2 | 38 ----------------- > 3 files changed, 55 insertions(+), 117 deletions(-) > create mode 100644 runtest/ltp-aio-stress > delete mode 100644 runtest/ltp-aio-stress.part1 > delete mode 100644 runtest/ltp-aio-stress.part2 > > diff --git a/runtest/ltp-aio-stress b/runtest/ltp-aio-stress > new file mode 100644 > index 000000000..4b0b81ce2 > --- /dev/null > +++ b/runtest/ltp-aio-stress > @@ -0,0 +1,55 @@ > +# ltp A-sync IO Stress IO tests > +ADS1000 aio-stress -o2 -r4 -f1 > +ADS1001 aio-stress -o2 -r8 -f1 > +ADS1002 aio-stress -o2 -r16 -f1 > +ADS1003 aio-stress -o2 -r32 -t2 -f2 > +ADS1004 aio-stress -o2 -r64 -f2 > +ADS1005 aio-stress -o3 -r4 -f2 > +ADS1006 aio-stress -o3 -r8 -f2 > +ADS1007 aio-stress -o3 -r16 -f2 > +ADS1008 aio-stress -o3 -r32 -f4 > +ADS1009 aio-stress -o3 -r64 -t4 -f4 > +ADS1010 aio-stress -o3 -r128 -t4 -f4 > +ADS1011 aio-stress -o3 -r256 -t8 -f8 > +ADS1012 aio-stress -o3 -r512 -t8 -f8 > +ADS1013 aio-stress -o2 -O -r4 -t8 -f8 > +ADS1014 aio-stress -o2 -O -r8 -f2 > +ADS1015 aio-stress -o2 -O -r16 -f2 > +ADS1016 aio-stress -o2 -O -r32 -t2 -f2 > +ADS1017 aio-stress -o2 -O -r64 -t2 -f2 > +ADS1018 aio-stress -o3 -O -r4 -t2 -f2 > +ADS1019 aio-stress -o3 -O -r8 -t2 -f2 > +ADS1020 aio-stress -o3 -O -r16 -t2 -f2 > +ADS1021 aio-stress -o3 -O -r32 -t4 -f4 > +ADS1022 aio-stress -o3 -O -r64 -t4 -f4 > +ADS1023 aio-stress -o3 -O -r128 -t4 -f4 > +ADS1024 aio-stress -o3 -O -r256 -t8 -f8 > +ADS1025 aio-stress -o3 -O -r512 -t8 -f8 > +ADS1026 aio-stress -o0 -r4 -t8 -f8 > +ADS1027 aio-stress -o0 -r8 -f1 > +ADS1028 aio-stress -o0 -r16 -f1 > +ADS1029 aio-stress -o0 -r32 -t2 -f2 > +ADS1030 aio-stress -o0 -r64 -t2 -f2 > +ADS1031 aio-stress -o1 -r4 -t2 -f1 > +ADS1032 aio-stress -o1 -r8 -t2 -f1 > +ADS1033 aio-stress -o1 -r16 -t2 -f2 > +ADS1034 aio-stress -o1 -r32 -t4 -f4 > +ADS1035 aio-stress -o1 -r64 -t4 -f4 > +ADS1036 aio-stress -o1 -r128 -t4 -f4 > +ADS1037 aio-stress -o1 -r256 -t8 -f8 > +ADS1038 aio-stress -o1 -r512 -t8 -f8 > +ADS1039 aio-stress -o1 -O -r4 -t8 -f8 > +ADS1040 aio-stress -o1 -O -r8 -t2 -f2 > +ADS1041 aio-stress -o1 -O -r16 -t2 -f2 > +ADS1042 aio-stress -o1 -O -r32 -t2 -f2 > +ADS1043 aio-stress -o1 -O -r64 -t2 -f2 > +ADS1044 aio-stress -o1 -O -r4 -t4 -f4 > +ADS1045 aio-stress -o1 -O -r8 -t4 -f4 > +ADS1046 aio-stress -o1 -O -r16 -t4 -f4 > +ADS1047 aio-stress -o1 -O -r32 -t8 -f8 > +ADS1048 aio-stress -o1 -O -r64 -t8 -f8 > +ADS1049 aio-stress -o1 -O -r128 -t8 -f8 > +ADS1050 aio-stress -o1 -O -r256 -t2 -f2 > +ADS1051 aio-stress -o3 -r8 -t2 -f2 > +ADS1052 aio-stress -o3 -r16 -t2 -f2 > +ADS1053 aio-stress -o3 -r32 -t4 -f4 > diff --git a/runtest/ltp-aio-stress.part1 b/runtest/ltp-aio-stress.part1 > deleted file mode 100644 > index a770a40ae..000000000 > --- a/runtest/ltp-aio-stress.part1 > +++ /dev/null > @@ -1,79 +0,0 @@ > -#DESCRIPTION:ltp A-sync IO Stress IO tests > -# > -# aio-stress [-s size] [-r size] [-a size] [-d num] [-b num] > -# [-i num] [-t num] [-c num] [-C size] [-nxhlvOS ] > -# file1 [file2 ...] > -# -a size in KB at which to align buffers > -# -b max number of iocbs to give io_submit at once > -# -c number of io contexts per file > -# -C offset between contexts, default 2MB > -# -s size in MB of the test file(s), default 1024MB > -# -r record size in KB used for each io, default 64KB > -# -d number of pending aio requests for each file, default 64 > -# -i number of ios per file sent before switching > -# to the next file, default 8 > -# -O Use O_DIRECT (not available in 2.4 kernels), > -# -S Use O_SYNC for writes > -# -o add an operation to the list: write=0, read=1, > -# random write=2, random read=3. > -# repeat -o to specify multiple ops: -o 0 -o 1 etc. > -# -m shm use ipc shared memory for io buffers instead of malloc > -# -m shmfs mmap a file in /dev/shm for io buffers > -# -n no fsyncs between write stage and read stage > -# -l print io_submit latencies after each stage > -# -t number of threads to run > -# -v verification of bytes written > -# -x turn off thread stonewalling > -# -h this message > -# > -ADS1000 aio-stress -I500 -o2 -S -r4 $TMPDIR/file1 > -ADS1001 aio-stress -I500 -o2 -S -r8 $TMPDIR/file1 > -ADS1002 aio-stress -I500 -o2 -S -r16 $TMPDIR/file1 > -ADS1003 aio-stress -I500 -o2 -S -r32 -t2 $TMPDIR/junkfile $TMPDIR/file2 > -ADS1004 aio-stress -I500 -o2 -S -r64 $TMPDIR/junkfile $TMPDIR/file2 > -ADS1005 aio-stress -I500 -o3 -S -r4 $TMPDIR/junkfile $TMPDIR/file2 > -ADS1006 aio-stress -I500 -o3 -S -r8 -t2 $TMPDIR/junkfile $TMPDIR/file2 > -ADS1007 aio-stress -I500 -o3 -S -r16 -t2 $TMPDIR/junkfile $TMPDIR/file2 > -ADS1008 aio-stress -I500 -o3 -S -r32 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4 > -ADS1009 aio-stress -I500 -o3 -S -r64 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4 > -ADS1010 aio-stress -I500 -o3 -S -r128 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4 > -ADS1011 aio-stress -I500 -o3 -S -r256 -t8 $TMPDIR/junkfile > $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4 $TMPDIR/file5 $TMPDIR/file6 > $TMPDIR/file7 $TMPDIR/file8 > -ADS1012 aio-stress -I500 -o3 -S -r512 -t8 $TMPDIR/junkfile > $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4 $TMPDIR/file5 $TMPDIR/file6 > $TMPDIR/file7 $TMPDIR/file8 > -ADS1013 aio-stress -I500 -o2 -O -r4 -t8 $TMPDIR/junkfile > $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4 $TMPDIR/file5 $TMPDIR/file6 > $TMPDIR/file7 $TMPDIR/file8 > -ADS1014 aio-stress -I500 -o2 -O -r8 $TMPDIR/file1 $TMPDIR/file2 > -ADS1015 aio-stress -I500 -o2 -O -r16 $TMPDIR/file1 $TMPDIR/file2 > -ADS1016 aio-stress -I500 -o2 -O -r32 -t2 $TMPDIR/junkfile $TMPDIR/file2 > -ADS1017 aio-stress -I500 -o2 -O -r64 -t2 $TMPDIR/junkfile $TMPDIR/file2 > -ADS1018 aio-stress -I500 -o3 -O -r4 -t2 $TMPDIR/junkfile $TMPDIR/file2 > -ADS1019 aio-stress -I500 -o3 -O -r8 -t2 $TMPDIR/junkfile $TMPDIR/file2 > -ADS1020 aio-stress -I500 -o3 -O -r16 -t2 $TMPDIR/junkfile $TMPDIR/file2 > -ADS1021 aio-stress -I500 -o3 -O -r32 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 > -ADS1022 aio-stress -I500 -o3 -O -r64 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 > -ADS1023 aio-stress -I500 -o3 -O -r128 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 > -ADS1024 aio-stress -I500 -o3 -O -r256 -t8 $TMPDIR/junkfile > $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file4 $TMPDIR/file3 > $TMPDIR/file5 $TMPDIR/file6 > -ADS1025 aio-stress -I500 -o3 -O -r512 -t8 $TMPDIR/junkfile > $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file3 $TMPDIR/file4 > $TMPDIR/file5 $TMPDIR/file6 > -ADS1026 aio-stress -I500 -o0 -S -r4 -t8 $TMPDIR/junkfile > $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file3 $TMPDIR/file4 > $TMPDIR/file5 $TMPDIR/file6 > -ADS1027 aio-stress -I500 -o0 -S -r8 $TMPDIR/file2 > -ADS1028 aio-stress -I500 -o0 -S -r16 $TMPDIR/file2 > -ADS1029 aio-stress -I500 -o0 -S -r32 -t2 $TMPDIR/junkfile $TMPDIR/file2 > -ADS1030 aio-stress -I500 -o0 -S -r64 -t2 $TMPDIR/junkfile $TMPDIR/file2 > -ADS1031 aio-stress -I500 -o1 -S -r4 -t2 $TMPDIR/junkfile $TMPDIR/file2 > -ADS1032 aio-stress -I500 -o1 -S -r8 -t2 $TMPDIR/junkfile $TMPDIR/file2 > -ADS1033 aio-stress -I500 -o1 -S -r16 -t2 $TMPDIR/junkfile $TMPDIR/file2 > -ADS1034 aio-stress -I500 -o1 -S -r32 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 > -ADS1035 aio-stress -I500 -o1 -S -r64 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 > -ADS1036 aio-stress -I500 -o1 -S -r128 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 > -ADS1037 aio-stress -I500 -o1 -S -r256 -t8 $TMPDIR/junkfile > $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file4 $TMPDIR/file3 > $TMPDIR/file5 $TMPDIR/file6 > -ADS1038 aio-stress -I500 -o1 -S -r512 -t8 -x $TMPDIR/junkfile > $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file3 $TMPDIR/file4 > $TMPDIR/file5 $TMPDIR/file6 > -ADS1039 aio-stress -I500 -o1 -O -r4 -t8 -x $TMPDIR/junkfile > $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file3 $TMPDIR/file4 > $TMPDIR/file5 $TMPDIR/file6 > -ADS1040 aio-stress -I500 -o1 -O -r8 -t2 -x $TMPDIR/junkfile $TMPDIR/file2 > -ADS1041 aio-stress -I500 -o1 -O -r16 -t2 -x $TMPDIR/junkfile $TMPDIR/file2 > -ADS1042 aio-stress -I500 -o1 -O -r32 -t2 $TMPDIR/junkfile $TMPDIR/file2 > -ADS1043 aio-stress -I500 -o1 -O -r64 -t2 $TMPDIR/junkfile $TMPDIR/file2 > -ADS1044 aio-stress -I500 -o1 -O -r4 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 > -ADS1045 aio-stress -I500 -o1 -O -r8 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 > -ADS1046 aio-stress -I500 -o1 -O -r16 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 > -ADS1047 aio-stress -I500 -o1 -O -r32 -t8 $TMPDIR/junkfile > $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file4 $TMPDIR/file3 > $TMPDIR/file5 $TMPDIR/file6 > -ADS1048 aio-stress -I500 -o1 -O -r64 -t8 $TMPDIR/junkfile > $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file3 $TMPDIR/file4 > $TMPDIR/file5 $TMPDIR/file6 > -ADS1049 aio-stress -I500 -o1 -O -r128 -t8 $TMPDIR/junkfile > $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file3 $TMPDIR/file4 > $TMPDIR/file5 $TMPDIR/file6 > -ADS1050 aio-stress -I500 -o1 -O -r256 -t2 $TMPDIR/junkfile $TMPDIR/file2 > diff --git a/runtest/ltp-aio-stress.part2 b/runtest/ltp-aio-stress.part2 > deleted file mode 100644 > index 3a60e23e9..000000000 > --- a/runtest/ltp-aio-stress.part2 > +++ /dev/null > @@ -1,38 +0,0 @@ > -#DESCRIPTION:ltp A-sync IO Stress IO tests > -# > -# aio-stress [-s size] [-r size] [-a size] [-d num] [-b num] > -# [-i num] [-t num] [-c num] [-C size] [-nxhlvOS ] > -# file1 [file2 ...] > -# -a size in KB at which to align buffers > -# -b max number of iocbs to give io_submit at once > -# -c number of io contexts per file > -# -C offset between contexts, default 2MB > -# -s size in MB of the test file(s), default 1024MB > -# -r record size in KB used for each io, default 64KB > -# -d number of pending aio requests for each file, default 64 > -# -i number of ios per file sent before switching > -# to the next file, default 8 > -# -O Use O_DIRECT (not available in 2.4 kernels), > -# -S Use O_SYNC for writes > -# -o add an operation to the list: write=0, read=1, > -# random write=2, random read=3. > -# repeat -o to specify multiple ops: -o 0 -o 1 etc. > -# -m shm use ipc shared memory for io buffers instead of malloc > -# -m shmfs mmap a file in /dev/shm for io buffers > -# -n no fsyncs between write stage and read stage > -# -l print io_submit latencies after each stage > -# -t number of threads to run > -# -v verification of bytes written > -# -x turn off thread stonewalling > -# -h this message > -# > -ADS2001 aio-stress -I500 -o2 -S -r32 -t2 $TMPDIR/junkfile $TMPDIR/file2 > -ADS2002 aio-stress -I500 -o3 -S -r8 -t2 $TMPDIR/junkfile $TMPDIR/file2 > -ADS2003 aio-stress -I500 -o3 -S -r16 -t2 $TMPDIR/junkfile $TMPDIR/file2 > -ADS2004 aio-stress -I500 -o3 -S -r32 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4 > -ADS2005 aio-stress -I500 -o3 -S -r64 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4 > -ADS2006 aio-stress -I500 -o2 -O -r32 -t2 $TMPDIR/junkfile $TMPDIR/file2 > -ADS2007 aio-stress -I500 -o3 -O -r8 -t2 $TMPDIR/junkfile $TMPDIR/file2 > -ADS2008 aio-stress -I500 -o3 -O -r16 -t2 $TMPDIR/junkfile $TMPDIR/file2 > -ADS2009 aio-stress -I500 -o3 -O -r32 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4 > -ADS2010 aio-stress -I500 -o3 -O -r64 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4 > -- > 2.35.3 -- Thank you, Richard. -- Mailing list info: https://lists.linux.it/listinfo/ltp