Merged,
Maxim.

On 03/10/15 15:50, Bill Fischofer wrote:
Already reviewed, so this should be ready for merge.

On Tue, Mar 10, 2015 at 6:39 AM, Savolainen, Petri (Nokia - FI/Espoo) <petri.savolai...@nokia.com <mailto:petri.savolai...@nokia.com>> wrote:

    Ping.

    *From:*ext Bill Fischofer [mailto:bill.fischo...@linaro.org
    <mailto:bill.fischo...@linaro.org>]
    *Sent:* Thursday, March 05, 2015 3:34 PM
    *To:* Savolainen, Petri (Nokia - FI/Espoo)
    *Cc:* LNG ODP Mailman List
    *Subject:* Re: [lng-odp] [PATCH] validation: odp_scheduling: limit
    worker thread count

    On Thu, Mar 5, 2015 at 6:09 AM, Petri Savolainen
    <petri.savolai...@nokia.com <mailto:petri.savolai...@nokia.com>>
    wrote:

    The scheduling test launches a thread per cpu by default,
    which results several minute run time when system cpu count
    is high.

    Added a script for 'make check', which passes worker thread
    count as command line argument to the test. Test does now two
    runs: one with 1 thread and second with max 8 threads.

    Signed-off-by: Petri Savolainen <petri.savolai...@nokia.com
    <mailto:petri.savolai...@nokia.com>>

    Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org
    <mailto:bill.fischo...@linaro.org>>

        ---
         test/performance/Makefile.am        | 11 +++++++++--
         test/performance/odp_scheduling_run | 15 +++++++++++++++
         2 files changed, 24 insertions(+), 2 deletions(-)
         create mode 100755 test/performance/odp_scheduling_run

        diff --git a/test/performance/Makefile.am
        b/test/performance/Makefile.am
        index 4378268..3be3721 100644
        --- a/test/performance/Makefile.am
        +++ b/test/performance/Makefile.am
        @@ -1,10 +1,17 @@
         include $(top_srcdir)/test/Makefile.inc

        +EXECUTABLES =
        +
        +COMPILE_ONLY = odp_scheduling
        +
        +TESTSCRIPTS = odp_scheduling_run
        +
         if test_perf
        -TESTS = odp_scheduling
        +TESTS = $(EXECUTABLES) $(TESTSCRIPTS)
         endif

        -bin_PROGRAMS = odp_scheduling
        +bin_PROGRAMS = $(EXECUTABLES) $(COMPILE_ONLY)
        +
         odp_scheduling_LDFLAGS = $(AM_LDFLAGS) -static
         odp_scheduling_CFLAGS = $(AM_CFLAGS) -I${top_srcdir}/test

        diff --git a/test/performance/odp_scheduling_run
        b/test/performance/odp_scheduling_run
        new file mode 100755
        index 0000000..28b0ce5
        --- /dev/null
        +++ b/test/performance/odp_scheduling_run
        @@ -0,0 +1,15 @@
        +#!/bin/sh
        +#
        +# Script that passes command line arguments to odp_scheduling
        test when
        +# launched by 'make check'
        +
        +run()
        +{
        +       echo odp_scheduling_run starts with $1 worker threads
        +       echo ===============================================
        +
        +       ./odp_scheduling -c $1
        +}
        +
        +run 1
        +run 8
        --
        2.3.1


        _______________________________________________
        lng-odp mailing list
        lng-odp@lists.linaro.org <mailto:lng-odp@lists.linaro.org>
        http://lists.linaro.org/mailman/listinfo/lng-odp


    _______________________________________________
    lng-odp mailing list
    lng-odp@lists.linaro.org <mailto:lng-odp@lists.linaro.org>
    http://lists.linaro.org/mailman/listinfo/lng-odp




_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to