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 D3E914253B; Fri, 8 Sep 2023 01:37:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6D43E40285; Fri, 8 Sep 2023 01:37:44 +0200 (CEST) Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mails.dpdk.org (Postfix) with ESMTP id 9039040042 for ; Fri, 8 Sep 2023 01:37:42 +0200 (CEST) Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-68a402c1fcdso1301797b3a.1 for ; Thu, 07 Sep 2023 16:37:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1694129861; x=1694734661; darn=dpdk.org; 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=DI8CtnNNG/1oayWJCC59eEUK6GqvPWHaEnYvqe4OQQI=; b=djEvtzUexxRtoHMez2IfygzFN7uq5oFcXA/RapVjxXkSqYPsuYCMDoNYXzYwLEc6rG RiclSAvxk9wDGplE6T3W/6btVHix1KLB8NJsSnkNjkRdry/LlRXNxvDT1oqN2X0meTfd aJC1oAc9FvdrIZ94lRapxMys5qTys5nCjR3B/Dtvc1uNrWNl4B4api1rCbETtMmIYw/d bNMMaoOZWcksqNhfJu78VYeVvnkkOh3y63h8BpvjpBR+lRpr7gPZKwMKKflKH9l198ge mGtaclPCxhdLgPTbTPf0R4GEN5K/y7Va+mPfbUDWLOsbPBkEydhmuozuBnKLZo1kZBzX J2HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694129861; x=1694734661; 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=DI8CtnNNG/1oayWJCC59eEUK6GqvPWHaEnYvqe4OQQI=; b=nyyJ9ggp6cSG/8lT4rYnwpPLqNyDe5ZcFt8VpiV9T2CrSV89tQbLSMh11w6X13DcV9 JcLPD1Rsp3KFBVLsQym48nUDToghEEglEjA594SIpbE7AL5c2xVr6Rl1Ft3YAR3rQsvm GFLP6wnfrEEstUR/X8ulM2pS7UdUsKBWuc91XJcWkc5Jpi00S165z5hCULi5dv+OxAIv N3lsZ2avdoC7NjIyITI6gpHeDGTeKcR8LMz+BvhNqqRRaXAYfWHN7xzZtt198lmY8+MY sIonK1JI8+pwCHxt7M41DW3AAhVf0jjPTPF+ew6Dnwz65J4FDFD0EX5Rj2Ss9JAeO+J0 jgYA== X-Gm-Message-State: AOJu0YwM7wxLrnDxZumY/vLnynxYIt5S+R+KN0UwzpO2VU7n9Fqal95e AX3NiJznKNL6CVwdo2JOKfRBd6xa+Wz0kVsZQl4= X-Google-Smtp-Source: AGHT+IFDiHHHP8LI3tvdlgT3BoGDBVD7aMBNyJw9erlVW4mQldheHejoN+c0qsfoOrQHkPPNwpghSg== X-Received: by 2002:a05:6a20:7fa2:b0:154:6480:83a4 with SMTP id d34-20020a056a207fa200b00154648083a4mr56418pzj.14.1694129861632; Thu, 07 Sep 2023 16:37:41 -0700 (PDT) Received: from hermes.local (204-195-112-131.wavecable.com. [204.195.112.131]) by smtp.gmail.com with ESMTPSA id ey11-20020a056a0038cb00b00686f9789064sm244821pfb.12.2023.09.07.16.37.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Sep 2023 16:37:41 -0700 (PDT) Date: Thu, 7 Sep 2023 16:37:39 -0700 From: Stephen Hemminger To: "Sevincer, Abdullah" Cc: Thomas Monjalon , "dev@dpdk.org" , Tyler Retzlaff Subject: Re: quick thread in DLB2 Message-ID: <20230907163739.2a699d8b@hermes.local> In-Reply-To: References: <2363761.yKrmzQ4Hd0@thomas> <20230906124526.02c5fe61@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 Thu, 7 Sep 2023 22:09:06 +0000 "Sevincer, Abdullah" wrote: > Hi Stephen, > It is probing ports for best CPU. Yes it collects cycles. We may rework in the future. > Open to suggestions. Why is this device a special snowflake? All threading should be using the existing infrastructure of service and control threads. Doing it this way looks like a special case optimization for testpmd. What if the user is using a multi-stage pipeline, flow rules, secondary processes, rings etc. Look at some of the real applications using DPDK. And talk to some of the network equipment vendors.