[LTP] [PATCH v1] Reduce needed memory by the dio_read test

Petr Vorel pvorel@suse.cz
Fri Jan 21 10:19:55 CET 2022


Hi all,

...
> > But I'm not sure about the -s 5M part, the file size was always 128MB
> > before and reducing it to 5M sounds like too much. On my machine that
> > reduces the testing time from about one minute to a few seconds, that sounds
> > like change that is too radical without further explanation. If we want
> > to run the test with smaller file size I would go for 64M, that reduces
> > the runtime to half without reducing the changes for triggering a bug
> > too much.
> Good catch.

> I'm also going to verify ADSP075 dio_sparse  -w 518192k -s 518192k -n 1000
> from ltp-aiodio.part2. Cyril's suggestion is to use '-n 1' to emulate
> only single children in previous implementation.
No, this is wrong. Also the issue can be just a timeout.
ADSP074 (uses -n 512) runs framework ~3.5 min, ADSP075 (uses -n 1000) gets killed
by LTP timeout. Do we want to increase tst_test.timeout for test?

Am I correct that we cannot increase based on particular input (for particular
getopt value) as we cannot later update results.timeout during run?

Kind regards,
Petr

> Kind regards,
> Petr


More information about the ltp mailing list