[dpdk-dev] [PATCH v9 2/4] test/rcu_qsbr: add API and functional tests
Honnappa Nagarahalli
Honnappa.Nagarahalli at arm.com
Tue May 7 01:16:07 CEST 2019
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.marchand at redhat.com>
Sent: Friday, May 3, 2019 9:31 AM
To: Honnappa Nagarahalli <Honnappa.Nagarahalli at arm.com>
Cc: Ananyev, Konstantin <konstantin.ananyev at intel.com>; Stephen Hemminger <stephen at networkplumber.org>; paulmck at linux.ibm.com; Kovacevic, Marko <marko.kovacevic at intel.com>; dev <dev at dpdk.org>; Gavin Hu (Arm Technology China) <Gavin.Hu at arm.com>; Dharmik Thakkar <Dharmik.Thakkar at arm.com>; Malvika Gupta <Malvika.Gupta at arm.com>; Aaron Conole <aconole at 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.nagarahalli at arm.com> wrote:
From: Dharmik Thakkar <mailto:dharmik.thakkar at arm.com>
Add API positive/negative test cases, functional tests and
performance tests.
Signed-off-by: Malvika Gupta <mailto:malvika.gupta at arm.com>
Signed-off-by: Dharmik Thakkar <mailto:dharmik.thakkar at arm.com>
Signed-off-by: Honnappa Nagarahalli <mailto:honnappa.nagarahalli at arm.com>
Reviewed-by: Gavin Hu <mailto:gavin.hu at arm.com>
Acked-by: Konstantin Ananyev <mailto:konstantin.ananyev at 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 at 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
More information about the dev
mailing list