From patchwork Wed Feb 21 12:00:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 129045 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp545400ljc; Wed, 21 Feb 2018 04:06:52 -0800 (PST) X-Google-Smtp-Source: AH8x227SQMOdJ7jSHp/wWd/e7iMkIDQhgycIxrwFWggLQDZOzwP26ILbJx/Uux00lEoKA16rnFJZ X-Received: by 10.200.23.176 with SMTP id o45mr4939374qtj.255.1519214812633; Wed, 21 Feb 2018 04:06:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519214812; cv=none; d=google.com; s=arc-20160816; b=0KRX2GG/P7W99H0CGqKcGs+pZY/htp5uNz0J1+o+aAg1+wO/eOhnrSxRYEbrN8kE2o 4+c4QPEYmEjJ0Fg0A01WWFWHidPzQxJTJZmPH1h+f0BXvHHrjkBpuAd81Nw2+rHyYBbl f1kPkXpTKqcKPnILRNF9v67gq4sU8suMVkdMkWecI6Bo2PirK2XzYdZxUHTpPs3+zAeY er6PuS4SzLX6b75WWEoe+D8L7UxtGE/OPp882VBHvxmedEVseghf8Jb23jivQUGrLSqX HBD8yhFVeSjNP8VmLPxuVQJ4DYzUtPJZIqwMLLJEwf159ukyauEm0T2sFS3q25Z08VRl 0XPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=y7dPERgOiqUGwNT7gz6e92I0Nh14hl3qmUVoTidT9mQ=; b=r7/yv6Yh0lRN+HBwnXZvOss92FNuahujfjOplruY9w5eihR8KeTO1Gdhn3JHAL3Gzy NESsoByZMjLimKVLeBllf2Tdu02PxpJfbd9XjMDNSnGW2oYDGV3U4WQs73OIYSJWBOjf qT2JHSZy7zuRQ7NFD+kXdQStc4+UDiIVsgDeRJH+4skTKheb6wQ6puoKpTjGF453rRSX 6t6zSQZ9RTk2fIw3KqfIlgOrMqZbgIjjMx2ZlWXp/9kp2BjWre+XF3jSBG0F1s0tMdPF 2Srz8Gn8YY/vjYyQ5e37Ik3N2X/aED9GNy8Prqq44SovkihP5WOmiVG+up1Jrzu12s5K 1rgA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id s65si48452qks.388.2018.02.21.04.06.52; Wed, 21 Feb 2018 04:06:52 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 2307660C5D; Wed, 21 Feb 2018 12:06:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 701226172B; Wed, 21 Feb 2018 12:02:23 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id EBCE660C8F; Wed, 21 Feb 2018 12:01:56 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id 325EB608AA for ; Wed, 21 Feb 2018 12:01:13 +0000 (UTC) Received: from mxback5g.mail.yandex.net (mxback5g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:166]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 10111186089 for ; Wed, 21 Feb 2018 15:00:14 +0300 (MSK) Received: from smtp2j.mail.yandex.net (smtp2j.mail.yandex.net [2a02:6b8:0:801::ac]) by mxback5g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id IDAsaSdKDx-0EQ8Iq14; Wed, 21 Feb 2018 15:00:14 +0300 Received: by smtp2j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id a6UlmCoovI-0EvKAcfv; Wed, 21 Feb 2018 15:00:14 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 21 Feb 2018 15:00:04 +0300 Message-Id: <1519214407-28047-8-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519214407-28047-1-git-send-email-odpbot@yandex.ru> References: <1519214407-28047-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 492 Subject: [lng-odp] [PATCH v1 7/10] linux-gen: config: increase max burst size X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Petri Savolainen Burst size can be now increased without overhead as buffer header size is not tied to it. Burst size increase from 16 to 32 improves e.g. l2fwd throughput more than 10%. Signed-off-by: Petri Savolainen --- /** Email created from pull request 492 (psavol:master-sched-optim) ** https://github.com/Linaro/odp/pull/492 ** Patch: https://github.com/Linaro/odp/pull/492.patch ** Base sha: 5a58bbf2bb331fd7dde2ebbc0430634ace6900fb ** Merge commit sha: 82a6bfe942419330a430b63149220e6b472f419c **/ platform/linux-generic/include/odp_config_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/linux-generic/include/odp_config_internal.h b/platform/linux-generic/include/odp_config_internal.h index 3a852a49c..af8da1f40 100644 --- a/platform/linux-generic/include/odp_config_internal.h +++ b/platform/linux-generic/include/odp_config_internal.h @@ -144,7 +144,7 @@ extern "C" { * This controls the burst size on various enqueue, dequeue, etc calls. Large * burst size improves throughput, but may degrade QoS (increase latency). */ -#define CONFIG_BURST_SIZE 16 +#define CONFIG_BURST_SIZE 32 /* * Maximum number of events in a pool