Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Cyril Hrubis <[email protected]>
- Loading branch information
Signed-off-by: Cyril Hrubis <[email protected]>
0fb171f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the new version of LTP tool does not have ltpstress.sh test item
0fb171f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does the new version of the LTP tool need to perform a hard drive stress tests?
0fb171f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed long time ago e752f7c, in release 20190115 (2.5 years ago).
0fb171f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for replying!
I know that ltpstress.sh was deleted form 20190115.
I want to know how to stress test the SSD for the latest version 20210524.
0fb171f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In Ubuntu 20.04.2 LTS system,install ltp-full-20180926 version,the following error is reported in Make, how can I solve this problem, thank you!
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/ltp-full-20180926/testcases/network/multicast/mc_cmds'
make[4]: Entering directory '/home/ltp-full-20180926/testcases/network/multicast/mc_gethost'
make -C "/home/ltp-full-20180926/lib" -f "/home/ltp-full-20180926/lib/Makefile" all
make[5]: Entering directory '/home/ltp-full-20180926/lib'
make[6]: Entering directory '/home/ltp-full-20180926/lib/newlib_tests'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/ltp-full-20180926/lib/newlib_tests'
make[6]: Entering directory '/home/ltp-full-20180926/lib/tests'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/ltp-full-20180926/lib/tests'
make[5]: Leaving directory '/home/ltp-full-20180926/lib'
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -I../../../../include -I../../../../include -I../../../../include/old/ -L../../../../lib mc_gethost.c -lltp -o mc_gethost
mc_gethost.c: In function ‘main’:
mc_gethost.c:54:19: error: ‘RES_USE_INET6’ undeclared (first use in this function)
54 | _res.options |= RES_USE_INET6;
| ^~~~~~~~~~~~~
mc_gethost.c:54:19: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [: mc_gethost] Error 1
make[4]: Leaving directory '/home/ltp-full-20180926/testcases/network/multicast/mc_gethost'
make[3]: *** [../../../include/mk/generic_trunk_target.inc:93: all] Error 2
make[3]: Leaving directory '/home/ltp-full-20180926/testcases/network/multicast'
make[2]: *** [../../include/mk/generic_trunk_target.inc:93: all] Error 2
make[2]: Leaving directory '/home/ltp-full-20180926/testcases/network'
make[1]: *** [../include/mk/generic_trunk_target.inc:93: all] Error 2
make[1]: Leaving directory '/home/ltp-full-20180926/testcases'
make: *** [Makefile:114: testcases-all] Error 2
root@test:/home/ltp-full-20180926#
0fb171f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Older LTP releases are not supported as they will not even compile on newer distributions.
Also ltpstress.sh was never a good tool for stress testing SSD. Running LTP with $TMPDIR pointing to a directory that is on the SSD will do a better job.
0fb171f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But as far as I know, many OS manufacturers are still using version 201809 for LTPSTRESS testing.Because the latest version has been removed
0fb171f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@843723683 Using anything but latest stable release is discouraged and have been discouraged for years.
0fb171f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@843723683 FYI https://github.com/linux-test-project/ltp/wiki/Supported-kernel,-libc,-toolchain-versions#11-oldest-tested-distributions