From patchwork Thu Feb 22 10:00:19 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: 129178 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp426469lja; Thu, 22 Feb 2018 02:11:11 -0800 (PST) X-Google-Smtp-Source: AG47ELs38NO23Sg2ub5ynSfmQgKJ51DZPyO18M2NMD1ToYzsWPco7Dak64HMKhTuu7Q/7d7+bMG+ X-Received: by 10.55.151.129 with SMTP id z123mr3622671qkd.2.1519294271097; Thu, 22 Feb 2018 02:11:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519294271; cv=none; d=google.com; s=arc-20160816; b=H0q56K6NW5JV3O4jFrI1ZtC1u2UH38t33JkahZywLMcBfpGZFXeulLqJRQjaF9ywup HY7DH1RojKNh4l5Jjho3M7zMtWh017FJX6x9w2chuTV62vxCEqN1cow1DJA344rX++qp gtYx5Iha6pBQ91ILfL+17h36uIJtR4xAqBeKatVRGORvtd8I1LhBZUVmftg/76azxikb 6c18AeZu1YwkB04B+7yCXD/TDxCy1qDPAZOkQFVcs+rugmhFUoNTaazcCpWhrjuNlH+W GRBWVH7GFBRALlCxjk0M5fpTdSm7hxyERKfvK03JzvF85vKVrHGY2Q47VrvsqO+j7s78 67Ag== 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=Qy2uElly0uw+/Wn1cWxbWfimPcR3HURnaBsentvZ0Yo=; b=rchFm3SQjwkXA88IUk96sIl+0UVArxq9kGf4c9siZpFVdqJ5/aJnM3ilojta3rMtOE St3ai3THufmduuhnwIwywwQ7ZCOqdsUsS+a2PvLDWGpppoj62qvAEyBbU3iOQR87ixJb TOqebf5hlFAyZoHuJInwqP9wiYm66M9lw55m25mMAVK/RNMqprVOyE+pjn2wP8Gt6C+v oHQbhAi0FqIHwPY/Wo1NLpoap1onbPpJse2reJuax94Rs2ak6EA+Ku4FEi40H3r5Pl+H 0KC5RnPQiX5O976yjon7S1walHhVLorvQJxrMtBJhb/OLU9ueq+CiXh1yp9dLkuMByx+ M94Q== 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 m7si700616qtc.28.2018.02.22.02.11.10; Thu, 22 Feb 2018 02:11:11 -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 8C0B66087E; Thu, 22 Feb 2018 10:11:10 +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 D09D36176A; Thu, 22 Feb 2018 10:01:44 +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 200266173A; Thu, 22 Feb 2018 10:01:26 +0000 (UTC) Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [77.88.28.102]) by lists.linaro.org (Postfix) with ESMTPS id 8F5CC60698 for ; Thu, 22 Feb 2018 10:00:29 +0000 (UTC) Received: from mxback11j.mail.yandex.net (mxback11j.mail.yandex.net [IPv6:2a02:6b8:0:1619::84]) by forward102p.mail.yandex.net (Yandex) with ESMTP id 2E6D1430586A for ; Thu, 22 Feb 2018 13:00:28 +0300 (MSK) Received: from smtp4p.mail.yandex.net (smtp4p.mail.yandex.net [2a02:6b8:0:1402::15:6]) by mxback11j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id jSzNTDllHF-0S2a2uga; Thu, 22 Feb 2018 13:00:28 +0300 Received: by smtp4p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id azPEnBhLoH-0RvmQPTc; Thu, 22 Feb 2018 13:00:27 +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: Thu, 22 Feb 2018 13:00:19 +0300 Message-Id: <1519293622-14665-8-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519293622-14665-1-git-send-email-odpbot@yandex.ru> References: <1519293622-14665-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 492 Subject: [lng-odp] [PATCH v2 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: b29563293c1bca56419d2dc355a8e64d961e024a **/ 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