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 B5CAAA00BE for ; Mon, 8 Jun 2020 10:21:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 849745F69; Mon, 8 Jun 2020 10:21:47 +0200 (CEST) Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by dpdk.org (Postfix) with ESMTP id 061C85F69 for ; Mon, 8 Jun 2020 10:21:46 +0200 (CEST) Received: by mail-pg1-f193.google.com with SMTP id u5so8421988pgn.5 for ; Mon, 08 Jun 2020 01:21:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:cc:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=vZh1gimp3rqmzA5cUhRqTl5P8ANiydEM9yH3y2huYaA=; b=cEwxXeE8b+uJn52dP+ETi7tsgzEoiHtb95gxu+6hl/bfwMiH6EDlXsQcrKydPAdfIS XS7WHJbMokSN9EIK9EJnyvAfeB3q3LBqYIdSvh5Wg7BFboFm68zNrdgnaArVgaMjeaS0 +qz2pdesQEFSnojqSBOrQ0umJw0Pi4XYLBM5OJlb0DuROmiXUBhHjIKKU7KuxO5vm5A8 ZGDjOFmvFdMlKKkQKONaBsLpLJkq+bvv3gBWuc7sryR2MkVj7UbKI80AY/9sHyCePcOR 8X9UuV0jQeWm2yPdUiDK2mtilhv3wacFnNveBzCwtMUHsW8SA2MPSgns2U9aLJT7cqRc ZWBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:cc:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=vZh1gimp3rqmzA5cUhRqTl5P8ANiydEM9yH3y2huYaA=; b=j9jg3XOud/oALbRoID3wqNb5/9FmLlt1LkKYPH5gEI7wLjGsHNSrZZVbrETZcOlnDw 7OoAbY5TLRZk+38U1q1CXUWGu5V0H7jT190fsXIkxkbh81SY1j4rWvKVv2K5Newa6uWA ljGuh+ut3v4cm8vT1OW5U7c4flsKaxmYMSHs70I36c2zGwPHDAMg4Jb11TlFa9dE6Qa/ 3EJjITTI20htBSkuPzj2EXxqgrkBeJI7ZoyQCk/OHJpXtWMUoIYdWprahFNMpzqPe+eo nlWMNUUBQRnNp39GqJThsJ+4ET7CYiEBRhKDurR1x1pMGxIoirCWnpwDKU91i3vomzoc /G6Q== X-Gm-Message-State: AOAM531dd4Rrm8tEb0EF1EPdd1aNqDulS/ILjTKgHi8Tj6PCixuKiEnO bW1T0xR45qjDAbLqxZhWXlFUGvlywU4= X-Google-Smtp-Source: ABdhPJya+cPbUxNxz9MHzKWtrrOd6acq/f4yr4UGZVY5LOliWVzIemhGGdUqsDtgHnIPTSI7Gulneg== X-Received: by 2002:a62:1692:: with SMTP id 140mr216212pfw.168.1591604504787; Mon, 08 Jun 2020 01:21:44 -0700 (PDT) Received: from mugwort.local ([192.47.164.146]) by smtp.gmail.com with ESMTPSA id x190sm5429036pgb.79.2020.06.08.01.21.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Jun 2020 01:21:44 -0700 (PDT) To: x-fn-spp-ml@ntt-tx.co.jp References: <20200605002854.24054-1-x-fn-spp-ml@ntt-tx.co.jp> <20200605002854.24054-6-x-fn-spp-ml@ntt-tx.co.jp> From: Yasufumi Ogawa Cc: spp@dpdk.org Message-ID: Date: Mon, 8 Jun 2020 17:21:42 +0900 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 MIME-Version: 1.0 In-Reply-To: <20200605002854.24054-6-x-fn-spp-ml@ntt-tx.co.jp> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [spp] [PATCH 5/5] docs: add note regarding NUMA configuration X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spp-bounces@dpdk.org Sender: "spp" > From: Hideyuki Yamashita > > This patch adds new notes for NUMA configuration when starting > spp_primary. > > This is pointed out by the following DPDK Bugzilla tickets. > https://bugs.dpdk.org/show_bug.cgi?id=457 > > Signed-off-by: Hideyuki Yamashita > Signed-off-by: Naoki Takada > --- > docs/guides/gsg/howto_use.rst | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/docs/guides/gsg/howto_use.rst b/docs/guides/gsg/howto_use.rst > index f182198..4f2e6cd 100644 > --- a/docs/guides/gsg/howto_use.rst > +++ b/docs/guides/gsg/howto_use.rst > @@ -422,6 +422,18 @@ if you run the process on single NUMA node. > If you use DPDK v18.11 or later, ``--base-virtaddr 0x100000000`` is enabled > in default. You need to use this option only for changing the default value. > > +.. note:: > + > + ``spp_primary`` tries to create memory pool in the same NUMA node where > + it is launched. Under NUMA configuration, the NUMA node where ``spp_primary`` > + is launched and the NUMA node where NIC is connected can be different > + (e.g. spp_primary runs in NUMA node 0 while NIC is connected with NUMA > + node 1). > + Such configuration may cause performance degradation. In general, under > + NUMA configuration, it is best practice to use CPU and NIC which belongs > + to the same NUMA node for best performance. So user should align those > + when performance degradation makes the situation critical. > + I have two comments. 1. Could I confirm WHAT should be configured for avoiding such a performance loss? 2. It seems something abruptly considering context of this section because you start talking about performance suddenly. If it must be considered as a mandatory configuration and should be explained this section, I agree your update. On the other hand, what do you think to move this note to the next "Performance Optimization" section. I think no need to be a note if you move it to the next secion. Thanks > If ``spp_primary`` is launched with two or more lcores, forwarder or monitor > is activated. The default is forwarder and monitor is optional in this case. > If you use monitor thread, additional option ``--disp-stat`` is required. >