All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Bird, Timothy" <Tim.Bird@sony.com>
To: Daniel Sangorrin <daniel.sangorrin@toshiba.co.jp>,
	"fuego@lists.linuxfoundation.org"
	<fuego@lists.linuxfoundation.org>
Subject: Re: [Fuego] [PATCH 2/3] cyclictest: modify specs
Date: Tue, 31 Oct 2017 19:56:21 +0000	[thread overview]
Message-ID: <ECADFF3FD767C149AD96A924E7EA6EAF40ACD12D@USCULXMSG01.am.sony.com> (raw)
In-Reply-To: <1509438715-14039-3-git-send-email-daniel.sangorrin@toshiba.co.jp>



> -----Original Message-----
> From: fuego-bounces@lists.linuxfoundation.org [mailto:fuego-
> bounces@lists.linuxfoundation.org] On Behalf Of Daniel Sangorrin
> Sent: Tuesday, October 31, 2017 9:32 AM
> To: fuego@lists.linuxfoundation.org
> Subject: [Fuego] [PATCH 2/3] cyclictest: modify specs
> 
> cyclictest params can be very flexible so instead of
> giving a fixed pattern we use a single variable PARAMS
> to hold them.
> 
> TODO: make builds parameterizable so that users can
> modify the PARAMS from ftc without needing to create
> a new spec.
> 
> Signed-off-by: Daniel Sangorrin <daniel.sangorrin@toshiba.co.jp>
> ---
>  engine/tests/Benchmark.cyclictest/fuego_test.sh | 3 +--
>  engine/tests/Benchmark.cyclictest/spec.json     | 5 ++++-
>  2 files changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/engine/tests/Benchmark.cyclictest/fuego_test.sh
> b/engine/tests/Benchmark.cyclictest/fuego_test.sh
> index efa892c..a32eb6e 100755
> --- a/engine/tests/Benchmark.cyclictest/fuego_test.sh
> +++ b/engine/tests/Benchmark.cyclictest/fuego_test.sh
> @@ -10,8 +10,7 @@ function test_deploy {
>  }
> 
>  function test_run {
> -	assert_define BENCHMARK_CYCLICTEST_LOOPS
> -	report "cd $BOARD_TESTDIR/fuego.$TESTDIR; ./cyclictest -t 2 -l
> $BENCHMARK_CYCLICTEST_LOOPS -q"
> +	report "cd $BOARD_TESTDIR/fuego.$TESTDIR; ./cyclictest
> $BENCHMARK_CYCLICTEST_PARAMS"
>  }
> 
> 
> diff --git a/engine/tests/Benchmark.cyclictest/spec.json
> b/engine/tests/Benchmark.cyclictest/spec.json
> index 774c742..a0a3a00 100644
> --- a/engine/tests/Benchmark.cyclictest/spec.json
> +++ b/engine/tests/Benchmark.cyclictest/spec.json
> @@ -2,7 +2,10 @@
>      "testName": "Benchmark.cyclictest",
>      "specs": {
>          "default": {
> -            "LOOPS":"10000"
> +            "PARAMS": "-S -p 60 -m -D 20 -i 1000 -q"
> +        },
> +        "twothreads": {
> +            "PARAMS": "-t 2 -l 10000 -q"

Here is my testlog for a beablebone black, running cyclictest
with spec 'twothreads'.  That is, the result of running
job bbb.twothreads.Benchmark.cyclictest.

# /dev/cpu_dma_latency set to 0us
T: 0 (27542) P: 0 I:1000 C:  10000 Min:     22 Act: -885 Avg:2147483647 Max:    -126
T: 1 (27543) P: 0 I:1500 C:   6690 Min:     23 Act: 3114 Avg:2147483647 Max:    -413

This doesn't look right.  Did it find a bug with the Beaglebone kernel,
or is something wrong with cyclictest, or are the params not right for this
board?

Any ideas?
 -- Tim

  reply	other threads:[~2017-10-31 19:56 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-31  8:31 [Fuego] cyclictest patches Daniel Sangorrin
2017-10-31  8:31 ` [Fuego] [PATCH 1/3] cyclictest: update build function Daniel Sangorrin
2017-10-31 17:30   ` Bird, Timothy
2017-10-31 18:53     ` Bird, Timothy
2017-10-31 17:49   ` Bird, Timothy
2017-10-31  8:31 ` [Fuego] [PATCH 2/3] cyclictest: modify specs Daniel Sangorrin
2017-10-31 19:56   ` Bird, Timothy [this message]
2017-11-01  0:28     ` Daniel Sangorrin
2017-11-01 17:52       ` Bird, Timothy
2017-11-07  7:27         ` Daniel Sangorrin
2017-11-01 17:16   ` Bird, Timothy
2017-11-07  7:33     ` Daniel Sangorrin
2017-11-08  0:44       ` Bird, Timothy
2017-10-31  8:31 ` [Fuego] [PATCH 3/3] cyclictest: modify parsing and test measures Daniel Sangorrin
2017-11-01  0:43   ` Bird, Timothy
2017-11-01 17:11   ` Bird, Timothy
2017-10-31  8:39 ` [Fuego] cyclictest patches Daniel Sangorrin
2017-10-31 17:27   ` Bird, Timothy
2017-10-31 19:32     ` Bird, Timothy
2017-11-01  0:25     ` Daniel Sangorrin
2017-10-31 16:45 ` Bird, Timothy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ECADFF3FD767C149AD96A924E7EA6EAF40ACD12D@USCULXMSG01.am.sony.com \
    --to=tim.bird@sony.com \
    --cc=daniel.sangorrin@toshiba.co.jp \
    --cc=fuego@lists.linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.