From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8C2F942B9F; Fri, 26 May 2023 19:50:14 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3AD8F40DDA; Fri, 26 May 2023 19:50:13 +0200 (CEST) Received: from mail-pg1-f180.google.com (mail-pg1-f180.google.com [209.85.215.180]) by mails.dpdk.org (Postfix) with ESMTP id 9193D4068E for ; Fri, 26 May 2023 19:50:12 +0200 (CEST) Received: by mail-pg1-f180.google.com with SMTP id 41be03b00d2f7-530638a60e1so886652a12.2 for ; Fri, 26 May 2023 10:50:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1685123411; x=1687715411; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=RbK49kQkp/zK96arVXDaUfS37EVuLCJooXRt9ZJYDD0=; b=uoZfXkXCGQEdAgnvvC+rt5iQECbkyZL0lUiJjx6d4cWRSuSoQPC8WFDq2QApZSs9yY vV8G8AXYMnVhvwWU1BZ4buxqNljeWEW4di+Z7DM08t2oAmWzmqOUTvhWDYIHUUbfz287 s3QZoEr2ui+njo+EP/YHEPyNtH0KNJChuWqSey9xVgrv7stbmM/+6h3pkU7NrZjx8/Be u2ATgWFtMkr8y0OzT2YU4xK/zNJbj9HbFkF/5/Kr01w6B4E+LeGipRfCuP3my9rRKR+M 9YW/pmm9Z4K96p+UPt83+hZxvidtOHY4rdoNgCFghEFbWTftNI/HYZhsiGGLmk+/RG74 FDbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685123411; x=1687715411; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RbK49kQkp/zK96arVXDaUfS37EVuLCJooXRt9ZJYDD0=; b=K5JmAqYxALYAjWQwONDiq/CccWmcJypAvxx49U9za9ZmXEt8OE5SVotToa2XpVbgHm 89NvDyB4fzyoTsr++ZUOGGFTo/81yUHPX0HKT6Y6SSJSzNmjAqFAr2M3v8BGnfXIrO4L Sasf8BnSCR1U2CV4rEEVsXkWInjFyJLNCVZuK2ZJIJwT8Gk8EAZg5Nbe/0FNOqSgJHUj YxDxNnl6HF5Gs/D4Rtba4PsNvAiaXVLOPXCb5zRocxzzuMCt1kOOVQ6876whdphxxMRP A/8WHzoEbRU+nG0NvFxepZ+y9jc2JGUPOFgjZzgnMmi3AGsyJRe2sElx0TS2HV0t5CDm 6LgA== X-Gm-Message-State: AC+VfDw7weua/GgAdqjxb0DKTn2HwbGCGb1kCtMYE9lbi19sXZTx37ab W7C6tUqBaaRXP8PEuplHjwuJjQ== X-Google-Smtp-Source: ACHHUZ7HBTXYiFmjd0nVZ35QnbShdxVIrBG+R04KafOZgKygWKp9CFaTjCirFzf7oWrTAeNYmqyD5Q== X-Received: by 2002:a05:6a20:3d04:b0:10e:d134:d686 with SMTP id y4-20020a056a203d0400b0010ed134d686mr224538pzi.6.1685123411697; Fri, 26 May 2023 10:50:11 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id ch9-20020a17090af40900b002555689006esm160934pjb.47.2023.05.26.10.50.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 May 2023 10:50:11 -0700 (PDT) Date: Fri, 26 May 2023 10:50:08 -0700 From: Stephen Hemminger To: "Burakov, Anatoly" Cc: Kaisen You , , , , , , , , Subject: Re: [PATCH v8] enhance NUMA affinity heuristic Message-ID: <20230526105008.287cc5f0@hermes.local> In-Reply-To: <63f43dcf-0a03-d1f8-5120-39714cc712d9@intel.com> References: <20230523025004.192071-1-kaisenx.you@intel.com> <20230526084535.374803-1-kaisenx.you@intel.com> <63f43dcf-0a03-d1f8-5120-39714cc712d9@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Fri, 26 May 2023 15:44:15 +0100 "Burakov, Anatoly" wrote: > > + /* Set control thread socket ID to SOCKET_ID_ANY as control > > + * threads may be scheduled on any NUMA node. > > + */ > > + RTE_PER_LCORE(_socket_id) = SOCKET_ID_ANY; This is not always true. Read the control thread documentation. If DPDK application is run in a cgroup with cpuset, it maybe limited differently.