runtest/ltp-aiodio.part4: Remove duplicate entries
PATCH 1/1 runtest/ltp-aiodio.part4: Remove duplicate entries
Duplicate content was added in 67ce2884aa (2006).
It probably did not make sense to run it more times even at the time, but it certainly does not make sense now (runltp and kirk run tests sequentially one by one).
While at it, remove bogus comments.
--- runtest/ltp-aiodio.part4 | 55 ++-------------------------------------- 1 file changed, 2 insertions(+), 53 deletions(-)
runtest/ltp-aiodio.part4 +2 -53
@@ -1,65 +1,14 @@ aio01 aio01 aio02 aio02 -#Running dio_sparse & dirty tests DI000 dirty DS000 dio_sparse -DI001 dirty -DS001 dio_sparse -DI002 dirty -DS002 dio_sparse -DI003 dirty -DS003 dio_sparse -DI004 dirty -DS004 dio_sparse -DI005 dirty -DS005 dio_sparse -DI006 dirty -DS006 dio_sparse -DI007 dirty -DS007 dio_sparse -DI008 dirty -DS008 dio_sparse -DI009 dirty -DS009 dio_sparse -#iteration on dio_sparse -DIO00 dio_sparse -DIO01 dio_sparse -DIO02 dio_sparse -DIO03 dio_sparse -DIO04 dio_sparse -DIO05 dio_sparse -DIO06 dio_sparse -DIO07 dio_sparse -DIO08 dio_sparse -DIO09 dio_sparse -#Running aiodio_append AD000 aiodio_append -AD001 aiodio_append -AD002 aiodio_append -AD003 aiodio_append -AD004 aiodio_append -AD005 aiodio_append -AD006 aiodio_append -AD007 aiodio_append -AD008 aiodio_append -AD009 aiodio_append -#Running dio_append ADI000 dio_append -ADI001 dio_append -ADI002 dio_append -ADI003 dio_append -ADI004 dio_append -ADI005 dio_append -ADI006 dio_append -ADI007 dio_append -ADI008 dio_append -ADI009 dio_append -#Running dio_truncate + DIT000 dio_truncate -n 1 DIT001 dio_truncate -DIT002 dio_truncate -#Running dio_read + DOR000 dio_read -n 1 -i 100 -r 512k -w 512k -s 32M DOR001 dio_read -n 10 -i 30 -r 512k -w 512k -s 32M DOR002 dio_read -n 20 -i 15 -r 512k -w 512k -s 32M
Signature · 5 lines
2.47.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi Petr,
Quoted 18 lines · Petr Vorel
Duplicate content was added in
67ce2884aa(2006).It probably did not make sense to run it more times even at the time, but it certainly does not make sense now (runltp and kirk run tests sequentially one by one).
While at it, remove bogus comments.
Signed-off-by Petr Vorel <[email protected]>--- runtest/ltp-aiodio.part4 | 55 ++-------------------------------------- 1 file changed, 2 insertions(+), 53 deletions(-)runtest/ltp-aiodio.part4 +0
-0
runtest/ltp-aiodio.part4 line 5
Quoted 6 lines
runtest/ltp-aiodio.part4 +0
-1@@ -1,65 +1,14 @@ aio01 aio01 aio02 aio02 -#Running dio_sparse & dirty tests DI000 dirty DS000 dio_sparse
Uhm, I remember that we discussed with Cyril about it in the past. The dirty test was made in order to stress IO before dio_sparse if I'm not wrong.
Quoted 51 lines
runtest/ltp-aiodio.part4 +0
-49-DI001 dirty -DS001 dio_sparse -DI002 dirty -DS002 dio_sparse -DI003 dirty -DS003 dio_sparse -DI004 dirty -DS004 dio_sparse -DI005 dirty -DS005 dio_sparse -DI006 dirty -DS006 dio_sparse -DI007 dirty -DS007 dio_sparse -DI008 dirty -DS008 dio_sparse -DI009 dirty -DS009 dio_sparse -#iteration on dio_sparse -DIO00 dio_sparse -DIO01 dio_sparse -DIO02 dio_sparse -DIO03 dio_sparse -DIO04 dio_sparse -DIO05 dio_sparse -DIO06 dio_sparse -DIO07 dio_sparse -DIO08 dio_sparse -DIO09 dio_sparse -#Running aiodio_append AD000 aiodio_append -AD001 aiodio_append -AD002 aiodio_append -AD003 aiodio_append -AD004 aiodio_append -AD005 aiodio_append -AD006 aiodio_append -AD007 aiodio_append -AD008 aiodio_append -AD009 aiodio_append -#Running dio_append ADI000 dio_append -ADI001 dio_append -ADI002 dio_append -ADI003 dio_append -ADI004 dio_append -ADI005 dio_append -ADI006 dio_append -ADI007 dio_append -ADI008 dio_append -ADI009 dio_append
runtest/ltp-aiodio.part4 line 14
Quoted 10 lines
runtest/ltp-aiodio.part4 +2
-3-#Running dio_truncate + DIT000 dio_truncate -n 1 DIT001 dio_truncate -DIT002 dio_truncate -#Running dio_read + DOR000 dio_read -n 1 -i 100 -r 512k -w 512k -s 32M DOR001 dio_read -n 10 -i 30 -r 512k -w 512k -s 32M DOR002 dio_read -n 20 -i 15 -r 512k -w 512k -s 32M
Andrea
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Quoted 16 lines
Hi Petr,
Quoted 12 lines · Petr Vorel
Duplicate content was added in
67ce2884aa(2006).It probably did not make sense to run it more times even at the time, but it certainly does not make sense now (runltp and kirk run tests sequentially one by one).
While at it, remove bogus comments.
Signed-off-by Petr Vorel <[email protected]>--- runtest/ltp-aiodio.part4 | 55 ++-------------------------------------- 1 file changed, 2 insertions(+), 53 deletions(-)
Quoted 12 lines
runtest/ltp-aiodio.part4 line 4
Quoted 10 lines
runtest/ltp-aiodio.part4 +0
-1@@ -1,65 +1,14 @@ aio01 aio01 aio02 aio02 -#Running dio_sparse & dirty tests DI000 dirty DS000 dio_sparseUhm, I remember that we discussed with Cyril about it in the past. The dirty test was made in order to stress IO before
dio_sparseif I'm not wrong.
Andrea, thanks for info.
@Cyril? If relevant maybe we should just document it. Does it apply to all duplicates? I wonder if it makes sense to run whole runset for 45 min when we are testing something mainline does not care about it's performance.
https://lore.kernel.org/ltp/20240722090012.mlvkaenuxar2x3vr@quack3/
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Hi!
Quoted 3 lines
@Cyril? If relevant maybe we should just document it. Does it apply to all duplicates? I wonder if it makes sense to run whole runset for 45 min when we are testing something mainline does not care about it's performance.
Well the ltp-aiodio.part4 is a stress test that iterates between different I/O stress tests. Stress tests by definition must run for some time to be useful, the question is for how long these should be run and for that there is no clear answer I'm afraid.
The dirty and dio_sparse are interleaved because dirty tries to fill in the page cache with dirty pages before each dio_sparse iteration. The dio_sparse then creates a sparse file and checks that we correctly read zeroes all the time while other processes write zeroes to the sparse file. It may make sense to merge the dirty.c into the dio_sparse.c so that it's executed at the start of the test and then possibly eliminate one block of the dio_sparse tests.
We may as well get rid of the multiple lines in the runtest file by passing -i option since these tests were converted into the new test library. But over all I wouldn't vote for reducing the runtime for these tests as drastically as you proposed.
Signature · 5 lines
Cyril Hrubis [email protected] -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi Cyril,
Quoted 17 lines · Cyril Hrubis
Hi!
Quoted 3 lines
@Cyril? If relevant maybe we should just document it. Does it apply to all duplicates? I wonder if it makes sense to run whole runset for 45 min when we are testing something mainline does not care about it's performance.
Well the ltp-aiodio.part4 is a stress test that iterates between different I/O stress tests. Stress tests by definition must run for some time to be useful, the question is for how long these should be run and for that there is no clear answer I'm afraid.
The dirty and
dio_sparseare interleaved because dirty tries to fill in the page cache with dirty pages before eachdio_sparseiteration. Thedio_sparsethen creates a sparse file and checks that we correctly read zeroes all the time while other processes write zeroes to the sparse file. It may make sense to merge thedirty.cinto thedio_sparse.cso that it's executed at the start of the test and then possibly eliminate one block of thedio_sparsetests.
Quoted 5 lines
We may as well get rid of the multiple lines in the runtest file by passing -i option since these tests were converted into the new test library. But over all I wouldn't vote for reducing the runtime for these tests as drastically as you proposed.
I agree with everything. The usage of runtest file for something strictly related to ltp-aiodio.part4 doesn't sound right. We need to get rid of "dirty" binary and include it inside the test.
Andrea
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp