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 1FD08425BB for ; Sun, 17 Sep 2023 04:01:25 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 918AE4021E; Sun, 17 Sep 2023 04:01:24 +0200 (CEST) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mails.dpdk.org (Postfix) with ESMTP id C92344021D for ; Sun, 17 Sep 2023 04:01:22 +0200 (CEST) Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-68fc9a4ebe9so3139177b3a.2 for ; Sat, 16 Sep 2023 19:01:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1694916082; x=1695520882; 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=Nhz0RDqrKvxfgBEy1vG/lw43ZIu/bFiGN7LDGprChf0=; b=Us43/K3mGlR7mkmcwNc5ESna6Gj07fRCokhEAx49otAvCEE/rNedC+tMhthqqWOi5p RkiG8DSXd4vjCJO42bvFgXwN3Jmw4WC7n6Z3k+9E9o7MqrmetpAxMzeR/nObRiciMrdz g2CooUSmdEp13/XUjVif2J12VU5qU31fF7Jkw6n4ptqyuZsBGKGdVD/CK2pjS8x8RD85 KSYXGm6YTPLQfvgzogrvFqqD72wT9Y1hOw9H0RLYBQApcWN9P7XfiAdyvcL19Do0MBIM 60HGcbrA06YznXce8gBPGHA9KqCjJd6pjsVXQz5hFZ7wuNQpkHyY7IE6XqNuXNOsWEgI Hm7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694916082; x=1695520882; 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=Nhz0RDqrKvxfgBEy1vG/lw43ZIu/bFiGN7LDGprChf0=; b=QYwG2y64eKTbOn0gRy77L6PFZjBryFOUTHMn2hs+dsaPvptJV7rA9gOc+Ym8A43srB RmT+jyMQTzMQqxOdA8jRnShak0t9aIGRDNrzrVSkTmvRHJbP2SgKXtRM95N4/OnkEcEP d5EeKtGlyR9W3cSw1oDZ/gPC2DA5Gq+rO3hizLKb6680D0ILl7bV8jt/xhKJW6jUHB/P 2BnPrg2utkuensqSY9b8FKH69L8geZ7atCo63H61qKMt23ekD+SYjqwnrXCKiI7ebufb S+rk+ClnGFau81LeiPw8yxHN8QJ71DS1x+7ytXQUHrufwQwrfSw71f1vxtIEKiYNEFQx rfcQ== X-Gm-Message-State: AOJu0YzbKDtX2cMtGUuulDio+seu/KZCYIpmnolkONlWIuLZgK2GK2k7 dnGCr4cHWE/YLeMEsKd2MAB0YA== X-Google-Smtp-Source: AGHT+IFtk9smJEo2tuQpuefcAyYmyRfHUp3qXp+tYgDzvbagBzfmM5okjxkuW+15ds/wwUVIpNKZ7Q== X-Received: by 2002:a05:6a00:15c5:b0:68f:f38d:f758 with SMTP id o5-20020a056a0015c500b0068ff38df758mr7840834pfu.34.1694916081754; Sat, 16 Sep 2023 19:01:21 -0700 (PDT) Received: from hermes.local (204-195-112-131.wavecable.com. [204.195.112.131]) by smtp.gmail.com with ESMTPSA id e5-20020a62ee05000000b006889664aa6csm5031933pfi.5.2023.09.16.19.01.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Sep 2023 19:01:21 -0700 (PDT) Date: Sat, 16 Sep 2023 19:01:19 -0700 From: Stephen Hemminger To: Isaac Boukris Cc: users@dpdk.org Subject: Re: Concurrent invocations of the dpdk-dumpcap tool Message-ID: <20230916190119.100e3ac9@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 Sun, 17 Sep 2023 00:11:31 +0300 Isaac Boukris wrote: > I'm testing with the 22.11.3 version code (latest LTS) but there don't > seem to be significant changes in master. > > Given the above I had the hunch the ring names collide in shared > memory, so I changed both the ring and the pool names in the dumpcap > tool to include the pid, and with that the above scenario works fine > as expected, is that a proper fix? If you have two processes trying to capture on same interface it isn't going to work because both will be fighting over the same ring of packets. To make it work would require more extensive changes where multiple copies of packet are made.