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 8E28B42BAC for ; 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 4B045427F2; Fri, 26 May 2023 19:50:14 +0200 (CEST) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mails.dpdk.org (Postfix) with ESMTP id 92EFC40DDA for ; Fri, 26 May 2023 19:50:12 +0200 (CEST) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-64d3fbb8c1cso1419346b3a.3 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=gI7Fws1MVxTN0M42ubbV9cwEaXniPUhwXlQGChltzCXCvBSDQKy06H28GohF52qQ+k CXNmjjiQXa2/hr49KYRaY/HgFiqowem/UKIsoDRalT1zYowAPrvHQpbqgTa+LPzwZAg5 UwZknp7xXzYM5sqAxXnuBBIiPzk3h6+guQwssq8cWRbJGl0b8SqHIr2o+zgXok5N0cKW wgBYO3F3F1eO+A7Gh8SCUyBRbC1pcpWjzpwrtlJIB6CtQx5WNyJVuWY7e1+xGB+ulL3A LXCueh8licSLfcn9xwUODeeLiUoPEh5p5oaKV83568yIwuDg9pLHmGlaDZ+VGq7klUo4 IDwg== X-Gm-Message-State: AC+VfDyiSbAvFGzVwjxBowa7jAPi8kaoFoCKxUhE5AFMM984/juuJ3ds 43cI7zhtCqRZ1YMswKrT09xxkA== 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: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-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.