From patchwork Wed Feb 28 12:00:15 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: 129970 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp943998lja; Wed, 28 Feb 2018 04:06:18 -0800 (PST) X-Google-Smtp-Source: AG47ELsofWVBkzEdki4EtQqgoC7UQOx6qnaajSUrWEPTtx2xZJdAd+w6iYHZqKoQiBLoCc4PpyWu X-Received: by 10.55.137.67 with SMTP id l64mr29122601qkd.246.1519819577790; Wed, 28 Feb 2018 04:06:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519819577; cv=none; d=google.com; s=arc-20160816; b=isEX3oFEdjqjU1TMoJ/12yh4E3M8ySwnfy9uUQjUPkxRmyfEbBzAyCFmTnGunXGhQP A2PPeIgYDhWAhdNjnhh0k+V+ZMTFqzdZKAtfXRwKeT5fXESk0xooDKTaTEegMXd7cTY/ uH/HJuy0TNTm+EwD3JBMl488e6erpkK18KKEST9P1WQPhY8PFltR7CEzX/7FpHi19zXL LQhPOWCBlKxfkd1IWU40YZqGe0Pb4cNZ5iQz3C7WIUFxt+VAbqNAxs3VPJ3VvPZd1prL DFyxgaD/AxefJfSGuLhNDmc2b+YC+0umQ1rfVB93vRPfUfHvyA+punei5f7EdXT1Epb+ hAnA== 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=xcSeC2n7aSLZlzV+ESkePHAH8M5hPBchwxeuZcitFNE=; b=TZSs6pmnfVZ5gY3SyaDjIY6mkmACDerP7xjYx/Us+k2BYXpG5MWs/aoev/SbcYc+Nu M6MMU7QdntSq7g3uGgdZwDYd1Y+qOZnOOWTbTEQy016nMFjtrPB+6RzjjOPZM6Fh9xL2 aL+1/sNpelJBsOD0bgCGnvGY8hhfkq7mo20xUZMGtumiW9UALJHkZtfmONb6T8DURYNP y0QvBG7eJ3xR/sl5rtpKTM/OVGiiIT8cXpWGVzXmbo9BRXVXWyA1qfWHgyO4LAhXJkrF pR5LrUPFWzSaL51J6P9f1vlSvgoqNRPTpMfxURsqGdhcpATs6OoaQXgNExTmFqiVW7p/ Oj9g== 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 l18si1648856qtj.142.2018.02.28.04.06.17; Wed, 28 Feb 2018 04:06:17 -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 76425609DB; Wed, 28 Feb 2018 12:06:17 +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, RCVD_IN_MSPIKE_H2 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 3A1F661757; Wed, 28 Feb 2018 12:01:49 +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 153AA61749; Wed, 28 Feb 2018 12:01:38 +0000 (UTC) Received: from forward103p.mail.yandex.net (forward103p.mail.yandex.net [77.88.28.106]) by lists.linaro.org (Postfix) with ESMTPS id 0A2C361760 for ; Wed, 28 Feb 2018 12:00:29 +0000 (UTC) Received: from mxback14j.mail.yandex.net (mxback14j.mail.yandex.net [IPv6:2a02:6b8:0:1619::90]) by forward103p.mail.yandex.net (Yandex) with ESMTP id D78B421825EE for ; Wed, 28 Feb 2018 15:00:26 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback14j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id CKRrfgFhA4-0QRK1HfM; Wed, 28 Feb 2018 15:00:26 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id iE1m40jcci-0PSWqiLf; Wed, 28 Feb 2018 15:00:25 +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, 28 Feb 2018 15:00:15 +0300 Message-Id: <1519819218-27901-8-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519819218-27901-1-git-send-email-odpbot@yandex.ru> References: <1519819218-27901-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 492 Subject: [lng-odp] [PATCH v3 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: f5e12df388352b27f09787028a0040afb28564f4 ** Merge commit sha: 56e6340663c8679516a24dc81df13a53488b86b8 **/ 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 6fcb1cc0b..d579381ee 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