[oe-commits] Maxin B. John : stress: add new package
git at git.openembedded.org
git at git.openembedded.org
Wed Apr 8 09:54:14 UTC 2015
Module: openembedded-core.git
Branch: master
Commit: ae3d6524f27cc7efad62e7ca3f4a95942a725b28
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ae3d6524f27cc7efad62e7ca3f4a95942a725b28
Author: Maxin B. John <maxin.john at enea.com>
Date: Fri Mar 20 18:07:58 2015 +0100
stress: add new package
Deliberately simple workload generator for POSIX systems. It imposes
a configurable amount of CPU, memory, I/O, and disk stress on the system.
Moving the package from meta-linaro as a dependency for rt-tests ptest
Signed-off-by: Maxin B. John <maxin.john at enea.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-extended/stress/files/texinfo.patch | 79 ++++++++++++++++++++++++
meta/recipes-extended/stress/stress_1.0.4.bb | 14 +++++
2 files changed, 93 insertions(+)
diff --git a/meta/recipes-extended/stress/files/texinfo.patch b/meta/recipes-extended/stress/files/texinfo.patch
new file mode 100644
index 0000000..5ac5951
--- /dev/null
+++ b/meta/recipes-extended/stress/files/texinfo.patch
@@ -0,0 +1,79 @@
+--- a/doc/stress.texi
++++ b/doc/stress.texi
+@@ -62,47 +62,47 @@
+
+ @table @samp
+ @item -?
+- at itemx --help
++ at item --help
+ Show help information.
+
+- at itemx --version
++ at item --version
+ Show version information.
+
+ @item -v
+- at itemx --verbose
++ at item --verbose
+ Turn up verbosity.
+
+ @item -q
+- at itemx --quiet
++ at item --quiet
+ Turn down verbosity.
+
+ @item -n
+- at itemx --dry-run
++ at item --dry-run
+ Show what would have been done.
+
+ @item -t @var{secs}
+- at itemx --timeout @var{secs}
++ at item --timeout @var{secs}
+ Time out after @var{secs} seconds.
+
+- at itemx --backoff @var{usecs}
++ at item --backoff @var{usecs}
+ Wait for factor of @var{usecs} microseconds before starting work.
+
+ @item -c @var{forks}
+- at itemx --cpu @var{forks}
++ at item --cpu @var{forks}
+ Spawn @var{forks} processes each spinning on @samp{sqrt()}.
+
+ @item -i @var{forks}
+- at itemx --io @var{forks}
++ at item --io @var{forks}
+ Spawn @var{forks} processes each spinning on @samp{sync()}.
+
+ @item -m @var{forks}
+- at itemx --vm @var{forks}
++ at item --vm @var{forks}
+ Spawn @var{forks} processes each spinning on @samp{malloc()}.
+
+- at itemx --vm-bytes @var{bytes}
++ at item --vm-bytes @var{bytes}
+ Allocate @var{bytes} number of bytes. The default is 1.
+
+- at itemx --vm-hang
++ at item --vm-hang
+ Instruct each vm hog process to go to sleep after allocating memory. This
+ contrasts with their normal behavior, which is to free the memory and
+ reallocate @emph{ad infinitum}. This is useful for simulating low memory
+@@ -114,13 +114,13 @@
+ @end example
+
+ @item -d @var{forks}
+- at itemx --hdd @var{forks}
++ at item --hdd @var{forks}
+ Spawn @var{forks} processes each spinning on @samp{write()}.
+
+- at itemx --hdd-bytes @var{bytes}
++ at item --hdd-bytes @var{bytes}
+ Write @var{bytes} number of bytes. The default is 1GB.
+
+- at itemx --hdd-noclean
++ at item --hdd-noclean
+ Do not unlink file(s) to which random ASCII data is written.
+
+ @end table
diff --git a/meta/recipes-extended/stress/stress_1.0.4.bb b/meta/recipes-extended/stress/stress_1.0.4.bb
new file mode 100644
index 0000000..44f2fc6
--- /dev/null
+++ b/meta/recipes-extended/stress/stress_1.0.4.bb
@@ -0,0 +1,14 @@
+DESCRIPTION = "Deliberately simple workload generator for POSIX systems. It \
+imposes a configurable amount of CPU, memory, I/O, and disk stress on the system."
+HOMEPAGE = "http://people.seas.harvard.edu/~apw/stress/"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+
+SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/stress/stress-${PV}.tar.gz/a607afa695a511765b40993a64c6e2f4/stress-${PV}.tar.gz \
+ file://texinfo.patch \
+ "
+
+SRC_URI[md5sum] = "a607afa695a511765b40993a64c6e2f4"
+SRC_URI[sha256sum] = "369c997f65e8426ae8b318d4fdc8e6f07a311cfa77cc4b25dace465c582163c0"
+
+inherit autotools
More information about the Openembedded-commits
mailing list