From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by arago-project.org (Postfix) with ESMTPS id 3402652986 for ; Fri, 24 Jan 2014 19:23:45 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s0OJNieK021703 for ; Fri, 24 Jan 2014 13:23:44 -0600 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s0OJNiH8010127 for ; Fri, 24 Jan 2014 13:23:44 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.2.342.3; Fri, 24 Jan 2014 13:23:44 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s0OJNiUV001717; Fri, 24 Jan 2014 13:23:44 -0600 Date: Fri, 24 Jan 2014 14:23:43 -0500 From: Denys Dmytriyenko To: "Cooper Jr., Franklin" Message-ID: <20140124192343.GP30525@edge> References: <1390259818-10267-1-git-send-email-fcooper@ti.com> <1390259818-10267-2-git-send-email-fcooper@ti.com> <20140120221502.GC24768@edge> <8F29D6B095ED194EA1980491A5E029710C610AB5@DFLE08.ent.ti.com> MIME-Version: 1.0 In-Reply-To: <8F29D6B095ED194EA1980491A5E029710C610AB5@DFLE08.ent.ti.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: "meta-arago@arago-project.org" Subject: Re: [PATCH 2/3] stress: Pull stress into meta-arago-extras X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2014 19:23:45 -0000 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline On Fri, Jan 24, 2014 at 10:20:26AM -0500, Cooper Jr., Franklin wrote: > > > > -----Original Message----- > > From: meta-arago-bounces@arago-project.org [mailto:meta-arago- > > bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin > > Sent: Monday, January 20, 2014 9:32 PM > > To: Dmytriyenko, Denys > > Cc: meta-arago@arago-project.org > > Subject: Re: [meta-arago] [PATCH 2/3] stress: Pull stress into meta-arago-extras > > > > > > > > > On Jan 20, 2014, at 4:15 PM, "Dmytriyenko, Denys" wrote: > > > > > >> On Mon, Jan 20, 2014 at 05:16:57PM -0600, Franklin S. Cooper Jr wrote: > > >> * Stress is a useful userspace testing tool. > > >> * The original recipe can be found in meta-linaro/meta-linaro/recipes-extra. > > >> * However, to avoid pulling in that entire layer included bbappend > > >> overrides simply overlay the recipe into meta-arago-extras. > > > > > > Well, we are already cloning the entire repo anyway, even though only > > > using meta-linaro-toolchain sub-layer. Are you afraid of any conflicts > > > with their bbappends? I only see busybox being the obvious one, but we > > > can BBMASK it for our distro... There are plenty of other useful > > > testing tools, especially in master - are we interested? > > > We've started talking to Linaro, so we may end up moving some of our > > > recipes/enhancements back to their layer... Thoughts? > > I'm ok with doing this. > [Franklin] I thought about this more and would like to hold off adding this > layer as an meta-argao dependency for now. This would break things for > current users since it would require them to update their layer > configuration. I rather pull in stress as is now and add this new layer > dependency when we update meta-arago to support dora when we have to update > the configuration anyway. At that time we can also remove stress from > meta-arago as part of cleanup. Sounds good. BTW, I was thinking to start making changes necessary for Dora in the master branch of meta-arago any time now. While there's now ti2013.12.x release maintenance branch, I may need to create a separate 'dylan' branch as well... > > >> Signed-off-by: Franklin S. Cooper Jr > > >> --- > > >> .../recipes-devtools/stress/files/texinfo.patch | 79 > > ++++++++++++++++++++ > > >> .../recipes-devtools/stress/stress_1.0.4.bb | 16 ++++ > > >> 2 files changed, 95 insertions(+), 0 deletions(-) create mode 100644 > > >> meta-arago-extras/recipes-devtools/stress/files/texinfo.patch > > >> create mode 100644 > > >> meta-arago-extras/recipes-devtools/stress/stress_1.0.4.bb > > >> > > >> diff --git > > >> a/meta-arago-extras/recipes-devtools/stress/files/texinfo.patch > > >> b/meta-arago-extras/recipes-devtools/stress/files/texinfo.patch > > >> new file mode 100644 > > >> index 0000000..5ac5951 > > >> --- /dev/null > > >> +++ b/meta-arago-extras/recipes-devtools/stress/files/texinfo.patch > > >> @@ -0,0 +1,79 @@ > > >> +--- a/doc/stress.texi > > >> ++++ b/doc/stress.texi > > >> +@@ -62,47 +62,47 @@ > > >> + > > >> + @table @samp > > >> + @item -? > > >> +-@itemx --help > > >> ++@item --help > > >> + Show help information. > > >> + > > >> +-@itemx --version > > >> ++@item --version > > >> + Show version information. > > >> + > > >> + @item -v > > >> +-@itemx --verbose > > >> ++@item --verbose > > >> + Turn up verbosity. > > >> + > > >> + @item -q > > >> +-@itemx --quiet > > >> ++@item --quiet > > >> + Turn down verbosity. > > >> + > > >> + @item -n > > >> +-@itemx --dry-run > > >> ++@item --dry-run > > >> + Show what would have been done. > > >> + > > >> + @item -t @var{secs} > > >> +-@itemx --timeout @var{secs} > > >> ++@item --timeout @var{secs} > > >> + Time out after @var{secs} seconds. > > >> + > > >> +-@itemx --backoff @var{usecs} > > >> ++@item --backoff @var{usecs} > > >> + Wait for factor of @var{usecs} microseconds before starting work. > > >> + > > >> + @item -c @var{forks} > > >> +-@itemx --cpu @var{forks} > > >> ++@item --cpu @var{forks} > > >> + Spawn @var{forks} processes each spinning on @samp{sqrt()}. > > >> + > > >> + @item -i @var{forks} > > >> +-@itemx --io @var{forks} > > >> ++@item --io @var{forks} > > >> + Spawn @var{forks} processes each spinning on @samp{sync()}. > > >> + > > >> + @item -m @var{forks} > > >> +-@itemx --vm @var{forks} > > >> ++@item --vm @var{forks} > > >> + Spawn @var{forks} processes each spinning on @samp{malloc()}. > > >> + > > >> +-@itemx --vm-bytes @var{bytes} > > >> ++@item --vm-bytes @var{bytes} > > >> + Allocate @var{bytes} number of bytes. The default is 1. > > >> + > > >> +-@itemx --vm-hang > > >> ++@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} > > >> +-@itemx --hdd @var{forks} > > >> ++@item --hdd @var{forks} > > >> + Spawn @var{forks} processes each spinning on @samp{write()}. > > >> + > > >> +-@itemx --hdd-bytes @var{bytes} > > >> ++@item --hdd-bytes @var{bytes} > > >> + Write @var{bytes} number of bytes. The default is 1GB. > > >> + > > >> +-@itemx --hdd-noclean > > >> ++@item --hdd-noclean > > >> + Do not unlink file(s) to which random ASCII data is written. > > >> + > > >> + @end table > > >> diff --git > > >> a/meta-arago-extras/recipes-devtools/stress/stress_1.0.4.bb > > >> b/meta-arago-extras/recipes-devtools/stress/stress_1.0.4.bb > > >> new file mode 100644 > > >> index 0000000..04ad6ce > > >> --- /dev/null > > >> +++ b/meta-arago-extras/recipes-devtools/stress/stress_1.0.4.bb > > >> @@ -0,0 +1,16 @@ > > >> +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" > > >> + > > >> +PR = "r0" > > >> + > > >> +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 > > >> -- > > >> 1.7.0.4 > > >> > > >> _______________________________________________ > > >> meta-arago mailing list > > >> meta-arago@arago-project.org > > >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago > > _______________________________________________ > > meta-arago mailing list > > meta-arago@arago-project.org > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago