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 5E7F242937 for ; Fri, 14 Apr 2023 01:50:23 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 538FD40144; Fri, 14 Apr 2023 01:50:23 +0200 (CEST) Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by mails.dpdk.org (Postfix) with ESMTP id 79575400D5 for ; Fri, 14 Apr 2023 01:50:22 +0200 (CEST) Received: by mail-pl1-f175.google.com with SMTP id kh6so15157104plb.0 for ; Thu, 13 Apr 2023 16:50:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1681429821; x=1684021821; 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=qvknLtZDFPh3hYhgtLnspiinn+FoJz6CtHGefVUZN6E=; b=GEb4mDiT580/XOFjaLdvPkFoHbjefN8vRcvVOnMvGPYUMvf+mJ/5+oKEi2j/KGpqqW 7hxL6J3krsEKkTlWWGEDEyngatWA7kk9jLRd2uhdJ88wzPw048Z8lD96rLsu8PsuErF/ hwZf+8+mYa+N4O9TdN1Awe09If9WOW2ZGk5Kb7dE1hTCuLGIKxfcrpF3DrSxdM3gOcMU POFWlln/hiiKTM3/AEcOqWchLe34Wvsg8mnC5ATUqZwzOh846EHdMq0TPGjpPYU070FD +z6jO/ydpKXiOO/4pwoj6EGgUqXNY/QkP/hCiRdG6vZFym1bUmm2XwJWpdh5kXRQx4BE zKaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681429821; x=1684021821; 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=qvknLtZDFPh3hYhgtLnspiinn+FoJz6CtHGefVUZN6E=; b=G3RY4doxNU7zcXayYsIf/M65ieW3rkw25cIWH3Z3e/dfSEiBQnXdW2b9zJuxYleeps NlJQI8byXOPECoGPu9WkSjwWWYGKSJy2jumeq7vWdE+lgPhKt7qjW2I6DUh6ohuIztkT Rc0Q2aaTMr9f2oc2Wkqc05zy6fuGdxvK9X1t3+d/asn1CrGeUXzi/EVZhfhug+5+cIzJ O7DUUNOOnbLknhU4ijxenqrAZPXl+VBABhKlPGc2OvOWKskfq2qy2PUgZkLSOEcnezgi R+5003OliM/bD3KhwdroHpws4+Qqt9WmKH5cX1py5/O2+E0zetEcaOGMATz756Dy5P4c 8Www== X-Gm-Message-State: AAQBX9eHce3k0DJuSZpc/Fw1Oaw3/KZDrTIUUdvpLEtJOc2XRh9XYWNi iaBbTMcc0qOMmBapQAp7opBpxg== X-Google-Smtp-Source: AKy350ZYSHFQcdNoj7+4WhbwmmR/eZCyPtPzLukzJf4frSmyWTMA98d4b4wIdtltGTfb7PUjtvFQpQ== X-Received: by 2002:a17:903:247:b0:1a2:6257:36b9 with SMTP id j7-20020a170903024700b001a2625736b9mr972552plh.31.1681429821670; Thu, 13 Apr 2023 16:50:21 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id c15-20020a63d50f000000b0051b603bf22csm724595pgg.69.2023.04.13.16.50.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Apr 2023 16:50:21 -0700 (PDT) Date: Thu, 13 Apr 2023 16:50:19 -0700 From: Stephen Hemminger To: Antonio Di Bacco Cc: users@dpdk.org Subject: Re: rte_eal_remote_launch or pthread_create on main lcore Message-ID: <20230413165019.50bc9877@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org On Thu, 13 Apr 2023 15:28:49 +0200 Antonio Di Bacco wrote: > My main lcore is sitting there just waiting for some message to do > non-real time things. > I would like to launch a thread on main lcore. > I could use a pthread or rte_eal thread, which one would you recommend? > > Regards, > Anna If you don't need the main lcore, then just dont pass SKIP_MASTER flag or have main lcore wait for the workers to exit.