Summary of discussions with David.
I am not able to reproduce the 'Test Fail' issue. However, log indicates an 
issue in the test code. David has validated the patch and I will send it out 
soon.

The test case taking long time to complete happens when the code is compiled 
with '-O0 -g', but the test case itself completes. The test cases are currently 
tuned to take less time when compiled with '-O3'.

Thanks,
Honnappa

From: David Marchand <david.march...@redhat.com> 
Sent: Friday, May 3, 2019 9:31 AM
To: Honnappa Nagarahalli <honnappa.nagaraha...@arm.com>
Cc: Ananyev, Konstantin <konstantin.anan...@intel.com>; Stephen Hemminger 
<step...@networkplumber.org>; paul...@linux.ibm.com; Kovacevic, Marko 
<marko.kovace...@intel.com>; dev <dev@dpdk.org>; Gavin Hu (Arm Technology 
China) <gavin...@arm.com>; Dharmik Thakkar <dharmik.thak...@arm.com>; Malvika 
Gupta <malvika.gu...@arm.com>; Aaron Conole <acon...@redhat.com>
Subject: Re: [dpdk-dev] [PATCH v9 2/4] test/rcu_qsbr: add API and functional 
tests

On Wed, May 1, 2019 at 5:55 AM Honnappa Nagarahalli 
<mailto:honnappa.nagaraha...@arm.com> wrote:
From: Dharmik Thakkar <mailto:dharmik.thak...@arm.com>

Add API positive/negative test cases, functional tests and
performance tests.

Signed-off-by: Malvika Gupta <mailto:malvika.gu...@arm.com>
Signed-off-by: Dharmik Thakkar <mailto:dharmik.thak...@arm.com>
Signed-off-by: Honnappa Nagarahalli <mailto:honnappa.nagaraha...@arm.com>
Reviewed-by: Gavin Hu <mailto:gavin...@arm.com>
Acked-by: Konstantin Ananyev <mailto:konstantin.anan...@intel.com>

Did not investigate, but this test always fails on my laptop.
Tried multiple times, I caught one instance when the test was still burning cpu 
after 5 minutes and I killed it.

Usually, it fails like this:

[dmarchan@dmarchan dpdk]$ ./master/app/test -c 0x1f -n 4 --no-huge
EAL: Detected 8 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Multi-process socket /run/user/114840/dpdk/rte/mp_socket
EAL: Probing VFIO support...
EAL: Started without hugepages support, physical addresses not available
EAL: PCI device 0000:00:1f.6 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 8086:15d7 net_e1000_em
APP: HPET is not enabled, using TSC as default timer
RTE>>rcu_qsbr_perf_autotest 
Number of cores provided = 4
Perf test with all reader threads registered
--------------------------------------------

Perf Test: 3 Readers/1 Writer('wait' in qsbr_check == true)
Total RCU updates = 945401635
Cycles per 1000 updates: 25157
Total RCU checks = 20000000
Cycles per 1000 checks: 396375

Perf Test: 4 Readers
Total RCU updates = 400000000
Cycles per 1000 updates: 6241

Perf test: 4 Writers ('wait' in qsbr_check == false)
Total RCU checks = 80000000
Cycles per 1000 checks: 21061

Perf test: 1 writer, 4 readers, 1 QSBR variable, 1 QSBR Query, Blocking QSBR 
Check
Reader did not complete #28 =  4097
Test Failed
RTE>>


-- 
David Marchand

Reply via email to