mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-28 04:24:26 +01:00
stress
This commit is contained in:
30
README.adoc
30
README.adoc
@@ -2812,6 +2812,36 @@ There is a main executable `execltp` to run everything, but it depends on Python
|
|||||||
|
|
||||||
TODO a large chunk of tests, the Open POSIX testsuite, is disabled with a comment on Buildroot master saying build failed: https://github.com/buildroot/buildroot/blob/3f37dd7c3b5eb25a41edc6f72ba73e5a21b07e9b/package/ltp-testsuite/ltp-testsuite.mk#L13 However, both tickets mentioned there were closed, so we should try it out and patch Buildroot if it works now.
|
TODO a large chunk of tests, the Open POSIX testsuite, is disabled with a comment on Buildroot master saying build failed: https://github.com/buildroot/buildroot/blob/3f37dd7c3b5eb25a41edc6f72ba73e5a21b07e9b/package/ltp-testsuite/ltp-testsuite.mk#L13 However, both tickets mentioned there were closed, so we should try it out and patch Buildroot if it works now.
|
||||||
|
|
||||||
|
==== stress
|
||||||
|
|
||||||
|
POSIX userland stress. Two versions:
|
||||||
|
|
||||||
|
....
|
||||||
|
./build -B 'BR2_PACKAGE_STRESS=y'
|
||||||
|
./build -B 'BR2_PACKAGE_STRESS_NG=y'
|
||||||
|
....
|
||||||
|
|
||||||
|
Websites:
|
||||||
|
|
||||||
|
* https://people.seas.harvard.edu/~apw/stress/
|
||||||
|
* https://github.com/ColinIanKing/stress-ng
|
||||||
|
|
||||||
|
Likely the NG one is best, but it requires `BR2_TOOLCHAIN_USES_GLIBC=y` which we don't have currently because we use uclibc... arghhhh.
|
||||||
|
|
||||||
|
`stress` usage:
|
||||||
|
|
||||||
|
....
|
||||||
|
stress --help
|
||||||
|
stress -c 16 &
|
||||||
|
ps
|
||||||
|
....
|
||||||
|
|
||||||
|
It just runs forever, so kill it when you get tired:
|
||||||
|
|
||||||
|
....
|
||||||
|
kill %1
|
||||||
|
....
|
||||||
|
|
||||||
== QEMU
|
== QEMU
|
||||||
|
|
||||||
Some QEMU specific features to play with and limitations to cry over.
|
Some QEMU specific features to play with and limitations to cry over.
|
||||||
|
|||||||
Reference in New Issue
Block a user