From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 09590A0AC5 for ; Fri, 3 May 2019 16:31:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B72305B38; Fri, 3 May 2019 16:31:33 +0200 (CEST) Received: from mail-ua1-f67.google.com (mail-ua1-f67.google.com [209.85.222.67]) by dpdk.org (Postfix) with ESMTP id 821345A6E for ; Fri, 3 May 2019 16:31:32 +0200 (CEST) Received: by mail-ua1-f67.google.com with SMTP id t15so2075195uao.5 for ; Fri, 03 May 2019 07:31:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5VQ7MFoDOECTqPoHKLcNG9GOSCPUAgx3FV1SJDfna4c=; b=UPBMr2Nn/fr3mU3Qeu1iRLC9LMI+B3Ev4tK13v74fF7LSML0GRRKXbXJApDPVTKIzn /Giy0DehcXM5Aew+d1AcxMKyrSb7Vv5YbCUtvbi4ydk2nGiKukGsDxLAzR5BiXOBJQ3m byLGIb0PmYU0GVYUpEoltQhU6S4RY1QTgxJznP072DE/AX+gnvu3WsTZeLg1+xAW+35a 6BEh/45Zm4+mHXY+fYvArplxaB5KmTJuwEau0RwWNnVBIqD9sDfMEpOP46HgtO96lZZ0 CZUqrdYJlZL2nm6eVft1weDSXdMSb/AwdQUXJ88uYmS/sszY0CKJNqsKnlHGA+Xq4fhj JajQ== X-Gm-Message-State: APjAAAVCDKAdF2EtnL9B6Dg8WMa6Nxnn3MpG+nZ9Mi5/YE3667870VOQ mCbCcicjmu+EBxR08NYzD1zSFVO14d3Is73itjDgOw== X-Google-Smtp-Source: APXvYqx/993F8xC9++of7tqFJYP79WiYLXLRhdzKPUKGWg0uNMYNACFtow0VS3ECQwwvcv0qxPfPPLJiDhr9ZZ2xHlI= X-Received: by 2002:ab0:748e:: with SMTP id n14mr5428329uap.53.1556893891859; Fri, 03 May 2019 07:31:31 -0700 (PDT) MIME-Version: 1.0 References: <20181122033055.3431-1-honnappa.nagarahalli@arm.com> <20190501035419.33524-1-honnappa.nagarahalli@arm.com> <20190501035419.33524-3-honnappa.nagarahalli@arm.com> In-Reply-To: <20190501035419.33524-3-honnappa.nagarahalli@arm.com> From: David Marchand Date: Fri, 3 May 2019 16:31:19 +0200 Message-ID: To: Honnappa Nagarahalli Cc: "Ananyev, Konstantin" , Stephen Hemminger , paulmck@linux.ibm.com, "Kovacevic, Marko" , dev , Gavin Hu , Dharmik Thakkar , Malvika Gupta , Aaron Conole Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH v9 2/4] test/rcu_qsbr: add API and functional tests X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190503143119.lbTYNvkT1hRTb7pYjSk1otxc4mq3ab-goShDEKRRPxA@z> On Wed, May 1, 2019 at 5:55 AM Honnappa Nagarahalli < honnappa.nagarahalli@arm.com> wrote: > From: Dharmik Thakkar > > Add API positive/negative test cases, functional tests and > performance tests. > > Signed-off-by: Malvika Gupta > Signed-off-by: Dharmik Thakkar > Signed-off-by: Honnappa Nagarahalli > Reviewed-by: Gavin Hu > Acked-by: Konstantin Ananyev > 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