Re: [lng-odp] [API-NEXT PATCH v3 8/8] Add scalable scheduler

2017-04-25 Thread Brian Brooks
On 04/19 02:06:37, Brian Brooks wrote: > On 04/25 19:41:34, Bill Fischofer wrote: > > Part 8 still has some easily fixable checkpatch issues. The extern warnings > > are OK and we should update checkpatch to remove them. > > > > WARNING: 'noone' may be misspelled - perhaps 'no one'? > > #846:

Re: [lng-odp] [API-NEXT PATCH 8/8] linux-gen: time: use hw time counter when available

2017-04-25 Thread Honnappa Nagarahalli
On 21 April 2017 at 08:11, Petri Savolainen wrote: > Use 64 bit HW time counter when available. It is used on > x86 when invariant TSC CPU flag indicates that TSC frequency > is constant. Otherwise, the system time is used as before. Direct > HW time counter usage

[lng-odp] [API-NEXT PATCH v4 8/8] Add scalable scheduler

2017-04-25 Thread Brian Brooks
Signed-off-by: Brian Brooks Signed-off-by: Kevin Wang Signed-off-by: Honnappa Nagarahalli Signed-off-by: Ola Liljedahl --- platform/linux-generic/Makefile.am | 12 +-

[lng-odp] [API-NEXT PATCH v4 7/8] Add queue accessor methods

2017-04-25 Thread Brian Brooks
Signed-off-by: Kevin Wang Reviewed-by: Brian Brooks Reviewed-by: Honnappa Nagarahalli --- .../linux-generic/include/odp_queue_internal.h | 65 platform/linux-generic/odp_classification.c| 4 +-

[lng-odp] [API-NEXT PATCH v4 6/8] Add a concurrent queue

2017-04-25 Thread Brian Brooks
Signed-off-by: Ola Liljedahl Reviewed-by: Brian Brooks --- platform/linux-generic/Makefile.am | 1 + platform/linux-generic/include/odp_llqueue.h | 309 +++ 2 files changed, 310 insertions(+) create mode 100644

[lng-odp] [API-NEXT PATCH v4 5/8] Add a bitset

2017-04-25 Thread Brian Brooks
Signed-off-by: Ola Liljedahl Reviewed-by: Brian Brooks Reviewed-by: Honnappa Nagarahalli --- platform/linux-generic/include/odp_bitset.h | 210 1 file changed, 210 insertions(+) create mode

[lng-odp] [API-NEXT PATCH v4 4/8] Add arch/ files

2017-04-25 Thread Brian Brooks
Signed-off-by: Brian Brooks Signed-off-by: Ola Liljedahl Reviewed-by: Honnappa Nagarahalli --- platform/linux-generic/Makefile.am | 2 + platform/linux-generic/arch/arm/odp_atomic.h | 210

[lng-odp] [API-NEXT PATCH v4 1/8] test: odp_sched_latency: misc improvements

2017-04-25 Thread Brian Brooks
Increase TEST_ROUNDS for all schedulers except SP for more deterministic test results. SP is too slow to handle the increased running time. Use an explicit scheduling group to inform the scheduler of the threads that will join the group. Add a timeout to the schedule call for draining queues.

[lng-odp] [API-NEXT PATCH v4 3/8] pktio: loop: use handle instead of pointer to buffer

2017-04-25 Thread Brian Brooks
Signed-off-by: Kevin Wang --- platform/linux-generic/pktio/loop.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/platform/linux-generic/pktio/loop.c b/platform/linux-generic/pktio/loop.c index e9ad22ba..cbb15179 100644 ---

[lng-odp] [API-NEXT PATCH v4 2/8] test: odp_pktio_ordered: add queue size

2017-04-25 Thread Brian Brooks
Signed-off-by: Brian Brooks --- test/common_plat/performance/odp_pktio_ordered.c | 4 1 file changed, 4 insertions(+) diff --git a/test/common_plat/performance/odp_pktio_ordered.c b/test/common_plat/performance/odp_pktio_ordered.c index 4bb0bef9..50bfef51 100644 ---

[lng-odp] [API-NEXT PATCH v4 0/8] A scalable software scheduler

2017-04-25 Thread Brian Brooks
This work derives from Ola Liljedahl's prototype [1] which introduced a scalable scheduler design based on primarily lock-free algorithms and data structures designed to decrease contention. A thread searches through a data structure containing only queues that are both non-empty and allowed to be

Re: [lng-odp] [API-NEXT PATCH 8/8] linux-gen: time: use hw time counter when available

2017-04-25 Thread Honnappa Nagarahalli
On 24 April 2017 at 03:07, Savolainen, Petri (Nokia - FI/Espoo) wrote: >> > diff --git a/platform/linux-generic/arch/x86/odp_cpu_arch.c >> b/platform/linux-generic/arch/x86/odp_cpu_arch.c >> > index c8cf27b6..9ba601a3 100644 >> > ---

Re: [lng-odp] [PATCH v2] test: odp_sched_latency: robust draining of queues

2017-04-25 Thread Bill Fischofer
On Tue, Apr 25, 2017 at 4:27 PM, Brian Brooks wrote: > In order to robustly drain all queues when the benchmark has > ended, we enqueue a special event on every queue and invoke > the scheduler until all such events have been received. > > Signed-off-by: Ola Liljedahl

[lng-odp] [PATCH v2] test: odp_sched_latency: robust draining of queues

2017-04-25 Thread Brian Brooks
In order to robustly drain all queues when the benchmark has ended, we enqueue a special event on every queue and invoke the scheduler until all such events have been received. Signed-off-by: Ola Liljedahl Reviewed-by: Brian Brooks Reviewed-by:

[lng-odp] [API-NEXT PATCH v3 8/8] Add scalable scheduler

2017-04-25 Thread Brian Brooks
Signed-off-by: Brian Brooks Signed-off-by: Kevin Wang Signed-off-by: Honnappa Nagarahalli Signed-off-by: Ola Liljedahl --- platform/linux-generic/Makefile.am | 12 +-

[lng-odp] [API-NEXT PATCH v3 7/8] Add queue accessor methods

2017-04-25 Thread Brian Brooks
Signed-off-by: Kevin Wang Reviewed-by: Brian Brooks Reviewed-by: Honnappa Nagarahalli --- .../linux-generic/include/odp_queue_internal.h | 65 platform/linux-generic/odp_classification.c| 4 +-

[lng-odp] [API-NEXT PATCH v3 4/8] Add arch/ files

2017-04-25 Thread Brian Brooks
Signed-off-by: Brian Brooks Reviewed-by: Ola Liljedahl Reviewed-by: Honnappa Nagarahalli --- platform/linux-generic/Makefile.am | 2 + platform/linux-generic/arch/arm/odp_atomic.h | 210

[lng-odp] [API-NEXT PATCH v3 6/8] Add a concurrent queue

2017-04-25 Thread Brian Brooks
Signed-off-by: Ola Liljedahl Reviewed-by: Brian Brooks --- platform/linux-generic/Makefile.am | 1 + platform/linux-generic/include/odp_llqueue.h | 309 +++ 2 files changed, 310 insertions(+) create mode 100644

[lng-odp] [API-NEXT PATCH v3 5/8] Add a bitset

2017-04-25 Thread Brian Brooks
Signed-off-by: Ola Liljedahl Reviewed-by: Brian Brooks Reviewed-by: Honnappa Nagarahalli --- platform/linux-generic/include/odp_bitset.h | 210 1 file changed, 210 insertions(+) create mode

[lng-odp] [API-NEXT PATCH v3 0/8] A scalable software scheduler

2017-04-25 Thread Brian Brooks
This work derives from Ola Liljedahl's prototype [1] which introduced a scalable scheduler design based on primarily lock-free algorithms and data structures designed to decrease contention. A thread searches through a data structure containing only queues that are both non-empty and allowed to be

[lng-odp] [API-NEXT PATCH v3 3/8] pktio: loop: use handle instead of pointer to buffer

2017-04-25 Thread Brian Brooks
Signed-off-by: Kevin Wang --- platform/linux-generic/pktio/loop.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/platform/linux-generic/pktio/loop.c b/platform/linux-generic/pktio/loop.c index e9ad22ba..cbb15179 100644 ---

[lng-odp] [API-NEXT PATCH v3 2/8] test: odp_pktio_ordered: add queue size

2017-04-25 Thread Brian Brooks
Signed-off-by: Ola Liljedahl Reviewed-by: Brian Brooks --- test/common_plat/performance/odp_pktio_ordered.c | 4 1 file changed, 4 insertions(+) diff --git a/test/common_plat/performance/odp_pktio_ordered.c

[lng-odp] [API-NEXT PATCH v3 1/8] test: odp_sched_latency: misc improvements

2017-04-25 Thread Brian Brooks
Increase TEST_ROUNDS for all schedulers except SP for more deterministic test results. SP is too slow to handle the increased running time. Use an explicit scheduling group to inform the scheduler of the threads that will join the group. Add a timeout to the schedule call for draining queues.

Re: [lng-odp] [API-NEXT PATCH 8/8] linux-gen: time: use hw time counter when available

2017-04-25 Thread Brian Brooks
On 04/25 22:47:11, Maxim Uvarov wrote: > On 04/25/17 21:51, Brian Brooks wrote: > > On 04/25 12:25:03, Brian Brooks wrote: > >> On 04/24 08:07:58, Savolainen, Petri (Nokia - FI/Espoo) wrote: > > diff --git a/platform/linux-generic/arch/x86/odp_cpu_arch.c >

Re: [lng-odp] [API-NEXT PATCH 8/8] linux-gen: time: use hw time counter when available

2017-04-25 Thread Maxim Uvarov
On 04/25/17 21:51, Brian Brooks wrote: > On 04/25 12:25:03, Brian Brooks wrote: >> On 04/24 08:07:58, Savolainen, Petri (Nokia - FI/Espoo) wrote: > diff --git a/platform/linux-generic/arch/x86/odp_cpu_arch.c b/platform/linux-generic/arch/x86/odp_cpu_arch.c > index c8cf27b6..9ba601a3

[lng-odp] [Bug 2881] load sensitive tests fail on CI

2017-04-25 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=2881 --- Comment #3 from Maxim Uvarov --- https://github.com/Linaro/odp/commit/51e3b8776b78180741fa57a621f9d13b9ae8bbfb 2017-04-19T21:40:50+03:00 Maxim Uvarov maxim.uva...@linaro.org test: tm: skip tm result under travis run tm

[lng-odp] [Linaro/odp] 51e3b8: test: tm: skip tm result under travis run

2017-04-25 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: 51e3b8776b78180741fa57a621f9d13b9ae8bbfb https://github.com/Linaro/odp/commit/51e3b8776b78180741fa57a621f9d13b9ae8bbfb Author: Maxim Uvarov Date: 2017-04-19 (Wed, 19 Apr 2017)

[lng-odp] [Bug 2942] Compilation fails using clang 4.0.0

2017-04-25 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=2942 --- Comment #2 from Maxim Uvarov --- https://github.com/Linaro/odp/commit/9b993a1531c94782b48292adff54a95de9d2be5c 2017-04-25T21:43:08+03:00 Bill Fischofer bill.fischo...@linaro.org bug: linux-generic: add syntax to allow

[lng-odp] [Linaro/odp] 9b993a: bug: linux-generic: add syntax to allow newer clan...

2017-04-25 Thread GitHub
Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: 9b993a1531c94782b48292adff54a95de9d2be5c https://github.com/Linaro/odp/commit/9b993a1531c94782b48292adff54a95de9d2be5c Author: Bill Fischofer Date: 2017-04-25 (Tue, 25 Apr 2017)

Re: [lng-odp] [API-NEXT PATCH 8/8] linux-gen: time: use hw time counter when available

2017-04-25 Thread Brian Brooks
On 04/25 12:25:03, Brian Brooks wrote: > On 04/24 08:07:58, Savolainen, Petri (Nokia - FI/Espoo) wrote: > > > > diff --git a/platform/linux-generic/arch/x86/odp_cpu_arch.c > > > b/platform/linux-generic/arch/x86/odp_cpu_arch.c > > > > index c8cf27b6..9ba601a3 100644 > > > > ---

Re: [lng-odp] [PATCHv2] bug: linux-generic: add syntax to allow newer clang to compile odp

2017-04-25 Thread Brian Brooks
On 04/21 15:03:06, Bill Fischofer wrote: > Resolve Bug https://bugs.linaro.org/show_bug.cgi?id=2942 by adding > casts needed to avoid compilation failures when using clang 4.0.0 > included in Ubuntu 17.04, which is stricter than clang 3.8.1 which > is in Ubuntu 16.10. > > Signed-off-by: Bill

Re: [lng-odp] [API-NEXT PATCH v2 0/4] Deprecated macros

2017-04-25 Thread Honnappa Nagarahalli
On 13 April 2017 at 10:02, Bill Fischofer wrote: > On Thu, Apr 13, 2017 at 9:07 AM, Savolainen, Petri (Nokia - FI/Espoo) > wrote: >> >> >>> -Original Message- >>> From: Dmitry Eremin-Solenikov

Re: [lng-odp] [API-NEXT PATCH 1/8] api: system: added system info print

2017-04-25 Thread Brian Brooks
On 04/21 14:26:55, Bill Fischofer wrote: > On Fri, Apr 21, 2017 at 11:42 AM, Brian Brooks wrote: > > > On 04/21 16:11:27, Petri Savolainen wrote: > > > This information specifies the system where ODP application > > > is running for debugging purposes. > > > > > >

Re: [lng-odp] [API-NEXT PATCH 8/8] linux-gen: time: use hw time counter when available

2017-04-25 Thread Brian Brooks
On 04/24 08:07:58, Savolainen, Petri (Nokia - FI/Espoo) wrote: > > > diff --git a/platform/linux-generic/arch/x86/odp_cpu_arch.c > > b/platform/linux-generic/arch/x86/odp_cpu_arch.c > > > index c8cf27b6..9ba601a3 100644 > > > --- a/platform/linux-generic/arch/x86/odp_cpu_arch.c > > > +++

[lng-odp] [API-NEXT PATCH] api: packet: introduce odp_packet_data_range_t

2017-04-25 Thread Dmitry Eremin-Solenikov
Rename odp_crypto_data_range_t to odp_packet_data_range_t, as it is relevant not only to the crypto interface. Signed-off-by: Dmitry Eremin-Solenikov --- include/odp/api/spec/crypto.h | 17 +++--

Re: [lng-odp] [PATCH] test: odp_sched_latency: robust draining of queues

2017-04-25 Thread Ola Liljedahl
On 25/04/2017, 14:32, "Savolainen, Petri (Nokia - FI/Espoo)" wrote: > > >> -Original Message- >> From: Ola Liljedahl [mailto:ola.liljed...@arm.com] >> Sent: Tuesday, April 25, 2017 1:56 PM >> To: Savolainen, Petri (Nokia - FI/Espoo)

[lng-odp] [Bug 2969] New: TM validation test does find traffic_mngr_main

2017-04-25 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=2969 Bug ID: 2969 Summary: TM validation test does find traffic_mngr_main Product: OpenDataPlane - linux- generic reference Version: master Hardware: Other OS: Linux Status:

Re: [lng-odp] [PATCH] test: odp_sched_latency: robust draining of queues

2017-04-25 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: Ola Liljedahl [mailto:ola.liljed...@arm.com] > Sent: Tuesday, April 25, 2017 1:56 PM > To: Savolainen, Petri (Nokia - FI/Espoo) labs.com>; Brian Brooks ; lng-odp@lists.linaro.org > Cc: nd >

Re: [lng-odp] [API-NEXT PATCH v2 2/8] linux-gen: cpu_flags: added x86 cpu flag read functions

2017-04-25 Thread Bill Fischofer
On Tue, Apr 25, 2017 at 5:03 AM, Maxim Uvarov wrote: > On 25 April 2017 at 09:59, Savolainen, Petri (Nokia - FI/Espoo) < > petri.savolai...@nokia-bell-labs.com> wrote: > > > > > > > > -Original Message- > > > From: lng-odp

Re: [lng-odp] [PATCH] test: odp_sched_latency: robust draining of queues

2017-04-25 Thread Ola Liljedahl
On 25/04/2017, 12:54, "Savolainen, Petri (Nokia - FI/Espoo)" wrote: >Also in your patch, thread should exit only after scheduler returns >EVENT_INVALID. >Since the cool_down event is the last event on all queues (as they are >enqueued after all threads have

Re: [lng-odp] [PATCH] test: odp_sched_latency: robust draining of queues

2017-04-25 Thread Ola Liljedahl
Another thing. On 25/04/2017, 12:26, "Savolainen, Petri (Nokia - FI/Espoo)" wrote: > > >> -Original Message- >> From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of >>Brian >> Brooks >> Sent: Monday, April 24, 2017 11:59 PM >> To:

Re: [lng-odp] [PATCH] test: odp_sched_latency: robust draining of queues

2017-04-25 Thread Savolainen, Petri (Nokia - FI/Espoo)
Also in your patch, thread should exit only after scheduler returns EVENT_INVALID. Since the cool_down event is the last event on all queues (as they are enqueued after all threads have passed the barrier), when we have received all cool_down events we know that there are no other events on the

Re: [lng-odp] [PATCH] test: odp_sched_latency: robust draining of queues

2017-04-25 Thread Ola Liljedahl
On 25/04/2017, 12:26, "Savolainen, Petri (Nokia - FI/Espoo)" > wrote: -Original Message- From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Brian Brooks Sent: Monday, April 24, 2017

Re: [lng-odp] [PATCH] test: odp_sched_latency: robust draining of queues

2017-04-25 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Brian > Brooks > Sent: Monday, April 24, 2017 11:59 PM > To: lng-odp@lists.linaro.org > Cc: Ola Liljedahl > Subject: [lng-odp] [PATCH] test: odp_sched_latency: robust

Re: [lng-odp] [API-NEXT PATCH v2 2/8] linux-gen: cpu_flags: added x86 cpu flag read functions

2017-04-25 Thread Maxim Uvarov
On 25 April 2017 at 09:59, Savolainen, Petri (Nokia - FI/Espoo) < petri.savolai...@nokia-bell-labs.com> wrote: > > > > -Original Message- > > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of > Maxim > > Uvarov > > Sent: Monday, April 24, 2017 10:36 PM > > To:

Re: [lng-odp] [PATCH] examples: generator: UDP ports configuration

2017-04-25 Thread Bogdan Pricope
On 18 April 2017 at 22:13, Maxim Uvarov wrote: > On 04/12/17 15:54, Bogdan Pricope wrote: >> Signed-off-by: Bogdan Pricope >> --- >> example/generator/odp_generator.c | 20 +--- >> 1 file changed, 17 insertions(+), 3

Re: [lng-odp] [API-NEXT PATCH v2 2/8] linux-gen: cpu_flags: added x86 cpu flag read functions

2017-04-25 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Maxim > Uvarov > Sent: Monday, April 24, 2017 10:36 PM > To: lng-odp@lists.linaro.org > Subject: Re: [lng-odp] [API-NEXT PATCH v2 2/8] linux-gen: cpu_flags: added > x86 cpu flag read functions >