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 2CC60A00C3; Mon, 19 Sep 2022 19:04:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BF85F40E0F; Mon, 19 Sep 2022 19:04:13 +0200 (CEST) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mails.dpdk.org (Postfix) with ESMTP id 8ECF940141 for ; Mon, 19 Sep 2022 19:04:12 +0200 (CEST) Received: by mail-pl1-f181.google.com with SMTP id w13so12819878plp.1 for ; Mon, 19 Sep 2022 10:04:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date; bh=bTE5hykZgY2ENCU+MI39uLB6HmdMKeUlhMErVxBGIFg=; b=00U6vucD3eo/N0dOgh39mr9tSPudO4BXPHBjO/j/mx8TOdgTcmhAz830bHjVBNhVxl RUpkR1Qpy5rZqrxrPCWau3J8PaHudHnACWlQcoYqSacirCV59//4unjhAWCmPdQR+6x1 wnHE73sc3odI3OfT7DypEczTdBR638xLttD6KOnxrYf8uML0urE119keVjRnmNKvQzO8 G5KSliq2x1ZfEz9EqSx73GFR0C8r9xP8lFXYNBtIYG1si+yQmeqPOPXB5VBcQEFQtf58 fHEhSVwcG9zEEk3h+zpICKTwYhlRWDSzeMTH6R27etl6vXwCPJaS30AtdwKhJBw2t6Qh p12A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=bTE5hykZgY2ENCU+MI39uLB6HmdMKeUlhMErVxBGIFg=; b=o6Nz6FLcW6oP8BVYfDPYIh2rgl7nWKLpm8dDJq1K8725LRkbjZNrbMnwkCjaCBM09k yCGeWi8W7fCS7ySOKwYsKnXBtiiWAGWgwxG5jHsufdB7VEGPVi6hIf7rLPP4CDMN0KKA /3Rh3UI0wuO0hxLEylc70Ag2LZV+/nRxzRj92esKl3FGSGhHDp+ctCxDLloV1zqRm6RA saCCRiwmkTBpXasM7+Ug97eQA7lP6XLNTcFbcn+ROol42Y6g/p98wb/sY1ymel+Fv154 Qn4DjtJ4DbrKxGS/9M8c35weugt7sb/IUS5pqCDiktSmWpcuq+z44BX8KH4mH8g/6FGV UOAg== X-Gm-Message-State: ACrzQf3H/9fsGW08KA4A2iJXZBpgpbwOUC4s2dDIYV1T09TkwaCtxbf5 7XwvCDQc98GysBAkrKJu8RRwDQ== X-Google-Smtp-Source: AMsMyM4DseeQb6qArKYmLVQVfzL16nZpdg9+mWQpw5E1cOC4cWTuMzp6wPpH9nJ4qGqcDZNzVFfb8Q== X-Received: by 2002:a17:90a:9b12:b0:203:9b0:284e with SMTP id f18-20020a17090a9b1200b0020309b0284emr21197009pjp.116.1663607045933; Mon, 19 Sep 2022 10:04:05 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id a17-20020a170902b59100b00176a2d23d1asm20801697pls.56.2022.09.19.10.04.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Sep 2022 10:04:05 -0700 (PDT) Date: Mon, 19 Sep 2022 10:04:03 -0700 From: Stephen Hemminger To: Kamaraj P Cc: Fred.L.Templin@boeing.com, "Burakov, Anatoly" , Bruce Richardson , David Marchand , Nageswara Rao Penumarthy , dev , kalas@cisco.com Subject: Re: Cannot set affinity - pthread_setaffinity_np - DPDK21 Message-ID: <20220919100403.0f8bd845@hermes.local> In-Reply-To: References: <20220916081313.1680e742@hermes.local> 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 Sun, 18 Sep 2022 22:05:57 +0530 Kamaraj P wrote: > Yes. The core mask we have aligned to separate cgroup. Probably this might > be an issue here. We will change the alignment in our DPDK application. > BTW is there a way to check the cores affinity set to DPDK after > rte_eail_init ? Do we have to use the taskset command ? DPDK doesn't (and shouldn't) know about what cgroups has set. You need to align the cgroup and the startup flags of the application.