public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 0/2] Cleanup of aiodio runtest files
@ 2026-03-19 16:03 Cyril Hrubis
  2026-03-19 16:03 ` [LTP] [PATCH 1/2] runtest/ltp-aidio.part4: Remove dio_sparse Cyril Hrubis
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Cyril Hrubis @ 2026-03-19 16:03 UTC (permalink / raw)
  To: ltp; +Cc: Jan Kara

The aiodio runtest files were added back in 2009 and since them not much
was changed there. Given that these test as far as I can tell, does not
find many bugs[1], we can reduce the runtime a bit.

This is a first patch that removes duplicate tests and limits the
maximal file size for the sparse tests. If we agree to do so, I will
look at the ltp-aiodio.part4 and try to parametrize the testruns with
different sizes and number of workers, as we do with the rest of the
files.

Also since we are touching these files, should we rename/split them as
well? E.g. ltp-aiodio.part1 should be problably called aio-cp. The part2
aio-sparse, etc.

[1] I did SUSE bugzilla serach and there are two filesystem bugs found
in 2019, one in 2018 and one in 2016. Also as far as I can tell in these
cases the bug didn't seem to be strictly related to AIO and were also
found by other tests.

Cyril Hrubis (2):
  runtest/ltp-aidio.part4: Remove dio_sparse
  runtest: ltp-aiodio.part2: Limit the maximal filesize

 runtest/ltp-aiodio.part2 | 16 ++++++++--------
 runtest/ltp-aiodio.part4 | 32 --------------------------------
 2 files changed, 8 insertions(+), 40 deletions(-)

-- 
2.52.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [LTP] [PATCH 1/2] runtest/ltp-aidio.part4: Remove dio_sparse
  2026-03-19 16:03 [LTP] [PATCH 0/2] Cleanup of aiodio runtest files Cyril Hrubis
@ 2026-03-19 16:03 ` Cyril Hrubis
  2026-03-19 17:38   ` Jan Kara
  2026-03-20  7:28   ` Andrea Cervesato via ltp
  2026-03-19 16:03 ` [LTP] [PATCH 2/2] runtest: ltp-aiodio.part2: Limit the maximal filesize Cyril Hrubis
  2026-03-26 14:50 ` [LTP] [PATCH 0/2] Cleanup of aiodio runtest files Cyril Hrubis
  2 siblings, 2 replies; 9+ messages in thread
From: Cyril Hrubis @ 2026-03-19 16:03 UTC (permalink / raw)
  To: ltp; +Cc: Jan Kara

After a discussion we agreed that there is a sufficient coverage for
dio_sparse in ltp-aiodio.part2 already. There is no point in running
these tests again in part4.

CC: Jan Kara <jack@suse.cz>
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
 runtest/ltp-aiodio.part4 | 32 --------------------------------
 1 file changed, 32 deletions(-)

diff --git a/runtest/ltp-aiodio.part4 b/runtest/ltp-aiodio.part4
index de00b8a78..5d3028bf5 100644
--- a/runtest/ltp-aiodio.part4
+++ b/runtest/ltp-aiodio.part4
@@ -1,38 +1,6 @@
 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
-- 
2.52.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [LTP] [PATCH 2/2] runtest: ltp-aiodio.part2: Limit the maximal filesize
  2026-03-19 16:03 [LTP] [PATCH 0/2] Cleanup of aiodio runtest files Cyril Hrubis
  2026-03-19 16:03 ` [LTP] [PATCH 1/2] runtest/ltp-aidio.part4: Remove dio_sparse Cyril Hrubis
@ 2026-03-19 16:03 ` Cyril Hrubis
  2026-03-19 17:40   ` Jan Kara
  2026-03-26 14:50 ` [LTP] [PATCH 0/2] Cleanup of aiodio runtest files Cyril Hrubis
  2 siblings, 1 reply; 9+ messages in thread
From: Cyril Hrubis @ 2026-03-19 16:03 UTC (permalink / raw)
  To: ltp; +Cc: Jan Kara

The test was operating with filesize up to ~500MB which, in certain
cases, was making the runtime too slow. Some test variants, especially
with many processes, were running up to 15 mintues on modern hardware.
After a discussion we agreed that we can reduce the maximal file size to
one quater without sacrificing test coverage.

I've also assumed that there was a typo in ADSP072 since the buffer size
was set to be order of magnitude bigger than the file size.

CC: Jan Kara <jack@suse.cz>
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
 runtest/ltp-aiodio.part2 | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/runtest/ltp-aiodio.part2 b/runtest/ltp-aiodio.part2
index 599c9fd2f..c82f6fd02 100644
--- a/runtest/ltp-aiodio.part2
+++ b/runtest/ltp-aiodio.part2
@@ -25,8 +25,8 @@ ADSP023 aiodio_sparse -o 4 -w 1024k -s 4096k -n 6
 ADSP024 aiodio_sparse -o 4 -w 2048k -s 8192k -n 6
 ADSP025 aiodio_sparse -o 4 -w 4096k -s 16384k -n 6
 ADSP026 aiodio_sparse -o 4 -w 18192k -s 72768k -n 6
-ADSP027 aiodio_sparse -o 4 -w 18192k -s 518192k -n 6
-ADSP028 aiodio_sparse -o 4 -w 65536k -s 262144k -n 6
+ADSP027 aiodio_sparse -o 4 -w 18192k -s 129548k -n 6
+ADSP028 aiodio_sparse -o 4 -w 65536k -s 129548k -n 6
 ADSP029 aiodio_sparse -o 6 -w 65536k -n 6
 ADSP030 aiodio_sparse -o 8 -w 128k -s 1024k -n 6
 ADSP031 aiodio_sparse -o 16 -w 256k -s 4096k -n 6
@@ -55,7 +55,7 @@ ADSP053 dio_sparse  -w 2048k -s 2048k -n 2
 ADSP054 dio_sparse  -w 4096k -s 4096k -n 2
 ADSP055 dio_sparse  -w 8192k -s 8192k -n 2
 ADSP056 dio_sparse  -w 18192k -s 18192k -n 2
-ADSP057 dio_sparse  -w 518192k -s 518192k -n 2
+ADSP057 dio_sparse  -w 129548k -s 129548k -n 2
 ADSP058 dio_sparse  -w 58192k -s 58192k -n 4
 ADSP059 dio_sparse  -w 58192k -s 58192k -n 6
 ADSP060 dio_sparse  -w 256k -s 256k -n 6
@@ -65,14 +65,14 @@ ADSP063 dio_sparse  -w 2048k -s 2048k -n 6
 ADSP064 dio_sparse  -w 2048k -s 4096k -n 6
 ADSP065 dio_sparse  -w 8192k -s 8192k -n 6
 ADSP066 dio_sparse  -w 18192k -s 18192k -n 6
-ADSP067 dio_sparse  -w 58192k -s 518192k -n 6
-ADSP068 dio_sparse  -w 518192k -s 518192k -n 6
+ADSP067 dio_sparse  -w 58192k -s 129548k -n 6
+ADSP068 dio_sparse  -w 129548k -s 129548k -n 6
 ADSP069 dio_sparse  -w 1024k -s 2048k -n 6
 ADSP070 dio_sparse  -w 4096k -s 4096k -n 32
 ADSP071 dio_sparse  -w 8192k -s 8192k -n 64
-ADSP072 dio_sparse  -w 518192k -s 18192k -n 128
-ADSP073 dio_sparse  -w 518192k -s 518192k -n 512
-ADSP074 dio_sparse  -w 518192k -s 518192k -n 1000
+ADSP072 dio_sparse  -w 129548k -s 129548k -n 128
+ADSP073 dio_sparse  -w 129548k -s 129548k -n 512
+ADSP074 dio_sparse  -w 129548k -s 129548k -n 1000
 ADSP075 dio_sparse  -w 4k -s 2k -o 2k -n 2
 ADSP076 dio_sparse  -w 2k -s 1k -o 1k -n 2
 ADSP077 dio_sparse  -w 1k -s 512 -o 512 -n 2
-- 
2.52.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [LTP] [PATCH 1/2] runtest/ltp-aidio.part4: Remove dio_sparse
  2026-03-19 16:03 ` [LTP] [PATCH 1/2] runtest/ltp-aidio.part4: Remove dio_sparse Cyril Hrubis
@ 2026-03-19 17:38   ` Jan Kara
  2026-03-20  7:28   ` Andrea Cervesato via ltp
  1 sibling, 0 replies; 9+ messages in thread
From: Jan Kara @ 2026-03-19 17:38 UTC (permalink / raw)
  To: Cyril Hrubis; +Cc: Jan Kara, ltp

On Thu 19-03-26 17:03:17, Cyril Hrubis wrote:
> After a discussion we agreed that there is a sufficient coverage for
> dio_sparse in ltp-aiodio.part2 already. There is no point in running
> these tests again in part4.
> 
> CC: Jan Kara <jack@suse.cz>
> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>

Looks good to me. Feel free to add:

Reviewed-by: Jan Kara <jack@suse.cz>

								Honza

> ---
>  runtest/ltp-aiodio.part4 | 32 --------------------------------
>  1 file changed, 32 deletions(-)
> 
> diff --git a/runtest/ltp-aiodio.part4 b/runtest/ltp-aiodio.part4
> index de00b8a78..5d3028bf5 100644
> --- a/runtest/ltp-aiodio.part4
> +++ b/runtest/ltp-aiodio.part4
> @@ -1,38 +1,6 @@
>  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
> -- 
> 2.52.0
> 
-- 
Jan Kara <jack@suse.com>
SUSE Labs, CR

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] [PATCH 2/2] runtest: ltp-aiodio.part2: Limit the maximal filesize
  2026-03-19 16:03 ` [LTP] [PATCH 2/2] runtest: ltp-aiodio.part2: Limit the maximal filesize Cyril Hrubis
@ 2026-03-19 17:40   ` Jan Kara
  2026-03-20  9:51     ` Cyril Hrubis
  0 siblings, 1 reply; 9+ messages in thread
From: Jan Kara @ 2026-03-19 17:40 UTC (permalink / raw)
  To: Cyril Hrubis; +Cc: Jan Kara, ltp

On Thu 19-03-26 17:03:18, Cyril Hrubis wrote:
> The test was operating with filesize up to ~500MB which, in certain
> cases, was making the runtime too slow. Some test variants, especially
> with many processes, were running up to 15 mintues on modern hardware.
> After a discussion we agreed that we can reduce the maximal file size to
> one quater without sacrificing test coverage.
> 
> I've also assumed that there was a typo in ADSP072 since the buffer size
> was set to be order of magnitude bigger than the file size.
> 
> CC: Jan Kara <jack@suse.cz>
> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
> ---
>  runtest/ltp-aiodio.part2 | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/runtest/ltp-aiodio.part2 b/runtest/ltp-aiodio.part2
> index 599c9fd2f..c82f6fd02 100644
> --- a/runtest/ltp-aiodio.part2
> +++ b/runtest/ltp-aiodio.part2
> @@ -25,8 +25,8 @@ ADSP023 aiodio_sparse -o 4 -w 1024k -s 4096k -n 6
>  ADSP024 aiodio_sparse -o 4 -w 2048k -s 8192k -n 6
>  ADSP025 aiodio_sparse -o 4 -w 4096k -s 16384k -n 6
>  ADSP026 aiodio_sparse -o 4 -w 18192k -s 72768k -n 6
> -ADSP027 aiodio_sparse -o 4 -w 18192k -s 518192k -n 6
> -ADSP028 aiodio_sparse -o 4 -w 65536k -s 262144k -n 6
> +ADSP027 aiodio_sparse -o 4 -w 18192k -s 129548k -n 6
> +ADSP028 aiodio_sparse -o 4 -w 65536k -s 129548k -n 6

I think the write size of 64MB is too large for 128MB file with 4 AIO
contexts - I think the size will be autotrimmed to 32MB. So you might as
well just specify -w 32768k.

Otherwise this looks good to me.

								Honza
-- 
Jan Kara <jack@suse.com>
SUSE Labs, CR

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] [PATCH 1/2] runtest/ltp-aidio.part4: Remove dio_sparse
  2026-03-19 16:03 ` [LTP] [PATCH 1/2] runtest/ltp-aidio.part4: Remove dio_sparse Cyril Hrubis
  2026-03-19 17:38   ` Jan Kara
@ 2026-03-20  7:28   ` Andrea Cervesato via ltp
  1 sibling, 0 replies; 9+ messages in thread
From: Andrea Cervesato via ltp @ 2026-03-20  7:28 UTC (permalink / raw)
  To: Cyril Hrubis; +Cc: Jan Kara, ltp

Hi!

LGTM

Reviewed-by: Andrea Cervesato <andrea.cervesato@suse.com>

--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] [PATCH 2/2] runtest: ltp-aiodio.part2: Limit the maximal filesize
  2026-03-19 17:40   ` Jan Kara
@ 2026-03-20  9:51     ` Cyril Hrubis
  2026-03-20  9:54       ` Jan Kara
  0 siblings, 1 reply; 9+ messages in thread
From: Cyril Hrubis @ 2026-03-20  9:51 UTC (permalink / raw)
  To: Jan Kara; +Cc: ltp

Hi!
> > The test was operating with filesize up to ~500MB which, in certain
> > cases, was making the runtime too slow. Some test variants, especially
> > with many processes, were running up to 15 mintues on modern hardware.
> > After a discussion we agreed that we can reduce the maximal file size to
> > one quater without sacrificing test coverage.
> > 
> > I've also assumed that there was a typo in ADSP072 since the buffer size
> > was set to be order of magnitude bigger than the file size.
> > 
> > CC: Jan Kara <jack@suse.cz>
> > Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
> > ---
> >  runtest/ltp-aiodio.part2 | 16 ++++++++--------
> >  1 file changed, 8 insertions(+), 8 deletions(-)
> > 
> > diff --git a/runtest/ltp-aiodio.part2 b/runtest/ltp-aiodio.part2
> > index 599c9fd2f..c82f6fd02 100644
> > --- a/runtest/ltp-aiodio.part2
> > +++ b/runtest/ltp-aiodio.part2
> > @@ -25,8 +25,8 @@ ADSP023 aiodio_sparse -o 4 -w 1024k -s 4096k -n 6
> >  ADSP024 aiodio_sparse -o 4 -w 2048k -s 8192k -n 6
> >  ADSP025 aiodio_sparse -o 4 -w 4096k -s 16384k -n 6
> >  ADSP026 aiodio_sparse -o 4 -w 18192k -s 72768k -n 6
> > -ADSP027 aiodio_sparse -o 4 -w 18192k -s 518192k -n 6
> > -ADSP028 aiodio_sparse -o 4 -w 65536k -s 262144k -n 6
> > +ADSP027 aiodio_sparse -o 4 -w 18192k -s 129548k -n 6
> > +ADSP028 aiodio_sparse -o 4 -w 65536k -s 129548k -n 6
> 
> I think the write size of 64MB is too large for 128MB file with 4 AIO
> contexts - I think the size will be autotrimmed to 32MB. So you might as
> well just specify -w 32768k.

Right, will fix that.

> Otherwise this looks good to me.

Do I need to send v2 or can I add your Reviewed-by: if I fix the write
size before applying the patches?

-- 
Cyril Hrubis
chrubis@suse.cz

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] [PATCH 2/2] runtest: ltp-aiodio.part2: Limit the maximal filesize
  2026-03-20  9:51     ` Cyril Hrubis
@ 2026-03-20  9:54       ` Jan Kara
  0 siblings, 0 replies; 9+ messages in thread
From: Jan Kara @ 2026-03-20  9:54 UTC (permalink / raw)
  To: Cyril Hrubis; +Cc: Jan Kara, ltp

On Fri 20-03-26 10:51:27, Cyril Hrubis wrote:
> Hi!
> > > The test was operating with filesize up to ~500MB which, in certain
> > > cases, was making the runtime too slow. Some test variants, especially
> > > with many processes, were running up to 15 mintues on modern hardware.
> > > After a discussion we agreed that we can reduce the maximal file size to
> > > one quater without sacrificing test coverage.
> > > 
> > > I've also assumed that there was a typo in ADSP072 since the buffer size
> > > was set to be order of magnitude bigger than the file size.
> > > 
> > > CC: Jan Kara <jack@suse.cz>
> > > Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
> > > ---
> > >  runtest/ltp-aiodio.part2 | 16 ++++++++--------
> > >  1 file changed, 8 insertions(+), 8 deletions(-)
> > > 
> > > diff --git a/runtest/ltp-aiodio.part2 b/runtest/ltp-aiodio.part2
> > > index 599c9fd2f..c82f6fd02 100644
> > > --- a/runtest/ltp-aiodio.part2
> > > +++ b/runtest/ltp-aiodio.part2
> > > @@ -25,8 +25,8 @@ ADSP023 aiodio_sparse -o 4 -w 1024k -s 4096k -n 6
> > >  ADSP024 aiodio_sparse -o 4 -w 2048k -s 8192k -n 6
> > >  ADSP025 aiodio_sparse -o 4 -w 4096k -s 16384k -n 6
> > >  ADSP026 aiodio_sparse -o 4 -w 18192k -s 72768k -n 6
> > > -ADSP027 aiodio_sparse -o 4 -w 18192k -s 518192k -n 6
> > > -ADSP028 aiodio_sparse -o 4 -w 65536k -s 262144k -n 6
> > > +ADSP027 aiodio_sparse -o 4 -w 18192k -s 129548k -n 6
> > > +ADSP028 aiodio_sparse -o 4 -w 65536k -s 129548k -n 6
> > 
> > I think the write size of 64MB is too large for 128MB file with 4 AIO
> > contexts - I think the size will be autotrimmed to 32MB. So you might as
> > well just specify -w 32768k.
> 
> Right, will fix that.
> 
> > Otherwise this looks good to me.
> 
> Do I need to send v2 or can I add your Reviewed-by: if I fix the write
> size before applying the patches?

Feel free to add:

Reviewed-by: Jan Kara <jack@suse.cz>

one that one is fixed.

								Honza
-- 
Jan Kara <jack@suse.com>
SUSE Labs, CR

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] [PATCH 0/2] Cleanup of aiodio runtest files
  2026-03-19 16:03 [LTP] [PATCH 0/2] Cleanup of aiodio runtest files Cyril Hrubis
  2026-03-19 16:03 ` [LTP] [PATCH 1/2] runtest/ltp-aidio.part4: Remove dio_sparse Cyril Hrubis
  2026-03-19 16:03 ` [LTP] [PATCH 2/2] runtest: ltp-aiodio.part2: Limit the maximal filesize Cyril Hrubis
@ 2026-03-26 14:50 ` Cyril Hrubis
  2 siblings, 0 replies; 9+ messages in thread
From: Cyril Hrubis @ 2026-03-26 14:50 UTC (permalink / raw)
  To: ltp; +Cc: Jan Kara

Hi!
Patchset pushed, thanks.

-- 
Cyril Hrubis
chrubis@suse.cz

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-03-26 14:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-19 16:03 [LTP] [PATCH 0/2] Cleanup of aiodio runtest files Cyril Hrubis
2026-03-19 16:03 ` [LTP] [PATCH 1/2] runtest/ltp-aidio.part4: Remove dio_sparse Cyril Hrubis
2026-03-19 17:38   ` Jan Kara
2026-03-20  7:28   ` Andrea Cervesato via ltp
2026-03-19 16:03 ` [LTP] [PATCH 2/2] runtest: ltp-aiodio.part2: Limit the maximal filesize Cyril Hrubis
2026-03-19 17:40   ` Jan Kara
2026-03-20  9:51     ` Cyril Hrubis
2026-03-20  9:54       ` Jan Kara
2026-03-26 14:50 ` [LTP] [PATCH 0/2] Cleanup of aiodio runtest files Cyril Hrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox