From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D9849A2EEB for ; Thu, 12 Sep 2019 18:14:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B58381EA2E; Thu, 12 Sep 2019 18:14:33 +0200 (CEST) Received: from mail-io1-f67.google.com (mail-io1-f67.google.com [209.85.166.67]) by dpdk.org (Postfix) with ESMTP id 42C171EA2E for ; Thu, 12 Sep 2019 18:14:32 +0200 (CEST) Received: by mail-io1-f67.google.com with SMTP id k13so40887013ioj.1 for ; Thu, 12 Sep 2019 09:14:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=34E8J9o1PJ7sLv1972LCRUP4X36BWnngEJCZLdmEOdQ=; b=kj7ttLu/Jfck02QiGP/wvMkiT8ozeGIXYU7spw6zOA1PFydNYH8Yo/prJAoYh0wN/d SYXRdgmoknv6BSAgIDYlr5Cv4H3agrDUSJDQ1CKEYjkiOP4CUTm635EWg8MKsahTiour eWk74b/LfScmgZhzxWI54Uf3i4QeiJWwL9gQ219Yn64gigtE46WspvIygtMQkf6p/Ny+ pD8VIJ2q9xU2ilK96R0eG1nFMKWtFoDkvK4tqVdK+nwZjBNy+smtZrMRMS862XEz6snN 63+V6LoLV7dlYmnC80fGhy3fL0lDZqOMG63UD+FrKbRbndshC4S/cGXdgGv+uoFg9Ah0 YZvw== 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=34E8J9o1PJ7sLv1972LCRUP4X36BWnngEJCZLdmEOdQ=; b=dg9ySgjpT7ITlE24b16NioOeORUFtRi2H4pzEp4FM6OOkIO6HcM2+rPvIUj5TmI/tZ 3YRlcWq6iN9WeC/c5Qx+YKG/Sl9dYqKn9WoAdHKSDndyLVZJil6w/F7fdiPLcEjds+Lw GFKkez9bxdQRZEEGHFFPTshU43e+xzUQmLQXCIFo9/hws6BVQuLiC/A6/PFlZtWl5pOM 1rLWqeNL+o7M1WUvgE/EjlgpJ5LCVLV/rBoHLM6SFACkKOP2JS/csGxtzxT+xbv+XWW6 hXTM+DnXP7ygcQcO+5L4uNzSpprbLkq7hNXOFWXCBEo08FGfemfDoxjo7pkw0cNot6Pw MV9w== X-Gm-Message-State: APjAAAVfVfhwo3M6Yna+N3Q/6m+UHa4zmMGw/n03H7nMGlUI5z8rSylP TAxZ6iIPoqnemww2M6H5YSHEHwG8RP5q05xI7xs= X-Google-Smtp-Source: APXvYqxI1ZzaCZYPu9SbnnqAmVC6wX4VgUID9Bci8ehPtQjDkbzFycMPNDH/fNcs/u6cOxDpwJpu68vL4WXdJVrHUU4= X-Received: by 2002:a5d:814d:: with SMTP id f13mr5596030ioo.162.1568304871192; Thu, 12 Sep 2019 09:14:31 -0700 (PDT) MIME-Version: 1.0 References: <1561911676-37718-1-git-send-email-gavin.hu@arm.com> <1568287473-55306-1-git-send-email-gavin.hu@arm.com> <1568287473-55306-6-git-send-email-gavin.hu@arm.com> In-Reply-To: <1568287473-55306-6-git-send-email-gavin.hu@arm.com> From: Jerin Jacob Date: Thu, 12 Sep 2019 21:44:20 +0530 Message-ID: To: Gavin Hu Cc: dev@dpdk.org, nd@arm.com, Thomas Monjalon , stephen@networkplumber.org, hemant.agrawal@nxp.com, Jerin Jacob , Pavan Nikhilesh , Honnappa.Nagarahalli@arm.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v5 5/8] ticketlock: use new API to reduce contention on aarch64 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" On Thu, Sep 12, 2019 at 4:57 PM Gavin Hu wrote: > > While using ticket lock, cores repeatedly poll the lock variable. > This is replaced by rte_wait_until_equal API. > > Running ticketlock_autotest on ThunderX2, Ampere eMAG80, and Arm N1SDP[1], > there were variances between runs, but no notable performance gain or > degradation were seen with and without this patch. > > [1] https://community.arm.com/developer/tools-software/oss-platforms/w/\ > docs/440/neoverse-n1-sdp > > Signed-off-by: Gavin Hu > Reviewed-by: Honnappa Nagarahalli > Tested-by: Phil Yang > Tested-by: Pavan Nikhilesh Reviewed-by: Jerin Jacob