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 10BEA42DE1; Thu, 6 Jul 2023 04:57:27 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1670040144; Thu, 6 Jul 2023 04:57:27 +0200 (CEST) Received: from mail-pj1-f52.google.com (mail-pj1-f52.google.com [209.85.216.52]) by mails.dpdk.org (Postfix) with ESMTP id 83E2D400D5 for ; Thu, 6 Jul 2023 04:57:25 +0200 (CEST) Received: by mail-pj1-f52.google.com with SMTP id 98e67ed59e1d1-263036d4bc3so229380a91.2 for ; Wed, 05 Jul 2023 19:57:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1688612244; x=1691204244; 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=8kA4KUePSWjUjsIzvxfOCdlYxQjYvndFV7VAgYWzWVI=; b=LG5Gs/mK15UJNSf1AZQT1U6oC+T+ekLxPYZn2BbHKlocoGnsmIjUkCv+qvocr9SlZ6 ads1fU4rRObTws8/uc/Bvdn2FPbMzCGL39C3ouijjmLWFDKTmp8W4mVGqFj7U3rZ5EQ1 XNoYZfeW5yGA3ZBgOSNanZ6Yo2WW/L8xY48H/P4MQrKO19UVfI1KRFJdVk53ohA71eXx h3mgE4yQYPFod+34iNfAgvY3d3CwtXulg/nqf2tuaP+CT7Kft9giwbW51rAXQmhh2rK0 kh4EUv7AGzwOCAZdxxr1HwrZXkcUt+Sh0fBI0xSPQpMFpnpX7hxvxkn8CLGnTpXZ0ln+ 7NdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688612244; x=1691204244; 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=8kA4KUePSWjUjsIzvxfOCdlYxQjYvndFV7VAgYWzWVI=; b=a8U5+q3WWSeUKIeei0KYFhBMXwuCp8WMNtKsqU5D3XiNX87CPQsDDNJMy4iovbz4fR dnBd2FN0axZS+90WBazdb/QrxIYxg5GK6P6UciIOi0hKFqjLdJbZlx7y3foOyTBzGcP8 p3ibFr1InJF2ftxwPD2xQEwCTdvAp2l3In+SUBxlWSVVAjwrJVLAUy5eMO8eDXOsOYro yGh4TD0IGeGfwhj4AvE6ZzsGE8s6qBvqrxRw2zSze2iKUhTH1AFgrkkdJBkY8UmN+gf6 FI1dJ21kIDs79ws/cew/uvLdG28fh9QSprSq0xauMrNzpCtl3ZLsEMjBHxUAdN+NHkFS dFMg== X-Gm-Message-State: ABy/qLbh5af6nkybUY5X4Eq5EweDw0LlBBdE8Jh41+3tIZROMwNQIyhs z9C546HLl9Vg3tYsdaON2hLIvQ== X-Google-Smtp-Source: APBJJlENKCi/11V5/MfbSkEYAl+7YM/k/DQJxkO2NrkGGsyzmz/p4NQb/0OD4pAZX1as7R3t9RbJGw== X-Received: by 2002:a17:90b:50c:b0:263:f583:a6a1 with SMTP id r12-20020a17090b050c00b00263f583a6a1mr513222pjz.34.1688612244673; Wed, 05 Jul 2023 19:57:24 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id o22-20020a17090a5b1600b00262af345953sm2069369pji.4.2023.07.05.19.57.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jul 2023 19:57:24 -0700 (PDT) Date: Wed, 5 Jul 2023 19:57:22 -0700 From: Stephen Hemminger To: Tyler Retzlaff Cc: Michael Pfeiffer , David Marchand , Markus Theil , dev@dpdk.org Subject: Re: [PATCH v2 1/2] eal: expose lcore pthread id Message-ID: <20230705195722.31993ca2@hermes.local> In-Reply-To: <20221129220445.GB31725@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <20221014062100.5761-1-markus.theil@tu-ilmenau.de> <20221014075421.10300-1-markus.theil@tu-ilmenau.de> <20221020083605.274c43f2@hermes.local> <20221129220445.GB31725@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> 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 Tue, 29 Nov 2022 14:04:45 -0800 Tyler Retzlaff wrote: > > Markus and I ultimately use the function in the patch to call > > rte_thread_setname() (which takes the pthread id as an argument) to rename our > > lcore workers from "lcore-worker-X" to something more meaningful in the scope > > of our application. Having descriptive thread names makes debugging > > significantly easier. For example, verifying CPU pinning worked as intended > > with ps -T ..., or identifying threads in the Intel VTune profiler. Why not have the worker threads rename themselves?