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 3C086A0C4B; Thu, 14 Oct 2021 21:00:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0A0764067C; Thu, 14 Oct 2021 21:00:26 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id C5F9540041 for ; Thu, 14 Oct 2021 21:00:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634238023; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FmkP1XmXGtdM6KG4l/IPsMmsKl64pc/AX5CkhPgJu+A=; b=MSTSjYrOSI2ryIUbiLPq+b2BeuJQAuvBUeX+OM2vKeA5+3RsPvMRW4YcX0G5exVrDoSV3J fh72ySFKIs4BgFhgAp2yI8BFsz2PL9rjqIj4puYkaP/jS9jbTafFPYACPCg4qMf1rtRC2I cQdjkS6jEcM/QapgtiTywjaOxs6W/V0= Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-433-8ZFj3h96Nf6cDY1SP1K5aA-1; Thu, 14 Oct 2021 15:00:22 -0400 X-MC-Unique: 8ZFj3h96Nf6cDY1SP1K5aA-1 Received: by mail-lf1-f69.google.com with SMTP id i6-20020a056512318600b003fd8c8c2677so5018832lfe.1 for ; Thu, 14 Oct 2021 12:00:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FmkP1XmXGtdM6KG4l/IPsMmsKl64pc/AX5CkhPgJu+A=; b=WHl0A0MjvCsHUWcpnFRbe28ofMqaDOV2BskHIB7pT70wQrUl13TMeNEOkOqvMAMND7 +d1STlBDxI2xWvT2Xb2N8lOfrahHvouSit+y9fyNTynyoQFaeN6oey+NEZGDhu+UqO9Q JnZRrr/KlGJt+DwMWmVX4HbCVvqhXtzi3M1+Z87PeKElraPDXLAFVlNCGz41U7LeM+nU 5s+19F243a0GkQ4CrehissOxp1OpHyPcc9msIP3cd8QYNScQX7rwBsh7sXUxAE/qbzx5 7fccSAqDhE+1YntVVSOebcce7ku+akWMw9IdwgmpFkdW/jMS3iy9RPh5ss4SwKE5GRp2 w5Cg== X-Gm-Message-State: AOAM531Gjlx9TI3cpOOMCfmvE6xvXNg0JtQFFAXSzZA+PGpm6sNKWJwo LVpao4f0vHrXY4b3Aa56LsY/WDOFyyafQtLQuS6Vu1ky8MLIQFhGe9Pn9QrBvFqBKT90ZxgXA/+ 9y2QyXuL92UZYogzzOt4= X-Received: by 2002:a05:6512:202a:: with SMTP id s10mr6428139lfs.560.1634238020558; Thu, 14 Oct 2021 12:00:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpS2o2hWGcmdJQAl5YzhXam5mAJyBYgjCWt9j+uIDjfzIM5PaSmdvBkrgu5t2HAZR/5xMQ3xFjDpuRWqeYMGU= X-Received: by 2002:a05:6512:202a:: with SMTP id s10mr6428124lfs.560.1634238020326; Thu, 14 Oct 2021 12:00:20 -0700 (PDT) MIME-Version: 1.0 References: <20210915141030.23514-1-bruce.richardson@intel.com> <20211014104907.856490-1-bruce.richardson@intel.com> In-Reply-To: <20211014104907.856490-1-bruce.richardson@intel.com> From: David Marchand Date: Thu, 14 Oct 2021 21:00:09 +0200 Message-ID: To: Bruce Richardson Cc: dev , Ciara Power , Anatoly Burakov , Kevin Traynor Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v9 0/4] improve telemetry support with in-memory mode 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 Sender: "dev" On Thu, Oct 14, 2021 at 12:50 PM Bruce Richardson wrote: > > This patchset cleans up telemetry support for "in-memory" mode, so that > multiple independent processes can be run using that mode and still have > telemetry support. It also removes problems of one process removing the > socket of another - which was the original issue reported. The main changes > in this set are to: > > * disable telemetry for secondary processes, which prevents any socket > conflicts in multi-process cases. > * when multiple processes are run using the same runtime directory (i.e. > "in-memory" mode or similar), add a counter suffix to the socket names to > avoid conflicts over the socket. Each process will use the lowest available > suffix, with the first process using the directory, not adding any suffix. > * update the telemetry script and documentation to allow it to connect to > in-memory DPDK processes. > Thanks a lot for working on this. Reading the updated doc, I fixed some -file-prefix to --file-prefix in doc. Series applied, thanks. -- David Marchand