This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "".
The branch, master has been updated via 2d63311886330e6acddb55674ff7a7b62d711ef5 (commit) from d96981e81ecbfc54ac8832d3ed2c32f50eaaf9a1 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 2d63311886330e6acddb55674ff7a7b62d711ef5 Author: Petri Savolainen petri.savolainen@nokia.com Date: Mon Sep 5 13:29:50 2016 +0300
test: l2fwd: remove wait time from sched mode
Application requested 100ms timeout for no reason in the scheduler mode. For example on odp-linux, performance is improved about 10% when the timeout is removed (as time keeping creates system calls).
Signed-off-by: Petri Savolainen petri.savolainen@nokia.com Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/test/common_plat/performance/odp_l2fwd.c b/test/common_plat/performance/odp_l2fwd.c index 418382d..4020dea 100644 --- a/test/common_plat/performance/odp_l2fwd.c +++ b/test/common_plat/performance/odp_l2fwd.c @@ -305,7 +305,6 @@ static int run_worker_sched_mode(void *arg) odp_packet_t pkt_tbl[MAX_PKT_BURST]; int pkts; int thr; - uint64_t wait; int dst_idx; int thr_idx; int i; @@ -344,14 +343,13 @@ static int run_worker_sched_mode(void *arg)
odp_barrier_wait(&barrier);
- wait = odp_schedule_wait_time(ODP_TIME_MSEC_IN_NS * 100); - /* Loop packets */ while (!exit_threads) { int sent; unsigned tx_drops;
- pkts = odp_schedule_multi(NULL, wait, ev_tbl, MAX_PKT_BURST); + pkts = odp_schedule_multi(NULL, ODP_SCHED_NO_WAIT, ev_tbl, + MAX_PKT_BURST);
if (pkts <= 0) continue;
-----------------------------------------------------------------------
Summary of changes: test/common_plat/performance/odp_l2fwd.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
hooks/post-receive