From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id AAD6FA0540; Mon, 13 Jul 2020 12:22:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 683C71D5DA; Mon, 13 Jul 2020 12:22:12 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id E65721D5D7 for ; Mon, 13 Jul 2020 12:22:09 +0200 (CEST) IronPort-SDR: lTQ9cYAzo+q9HC2DdvllS+Aod1wy6WakcdFROsjEWbToI1e9kUvBJ6l8n0z8m209NvBFJGTRcc ED4oKbIv108A== X-IronPort-AV: E=McAfee;i="6000,8403,9680"; a="136057684" X-IronPort-AV: E=Sophos;i="5.75,347,1589266800"; d="scan'208";a="136057684" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jul 2020 03:22:08 -0700 IronPort-SDR: mpA5MitQ4EIstSxLxKfrsAsOmxjuuyQcbl2rDkmzRZBLk60XUKWTTqsfHf7vJjmGU4QjoKTOtn 8Vj3tLaXoKdw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,347,1589266800"; d="scan'208";a="268335979" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga007.fm.intel.com with ESMTP; 13 Jul 2020 03:22:08 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 13 Jul 2020 03:22:08 -0700 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 13 Jul 2020 03:22:08 -0700 Received: from NAM04-CO1-obe.outbound.protection.outlook.com (104.47.45.50) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 13 Jul 2020 03:22:03 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jMUXrBlolBnd3lfnhxlTdYsA5+geb77RolFnPFzxILRIWi75lr4DsOS8JaiCRq6+py19bF98l/PTqVanlpZ3af2hGk7UblbIc61gX4d0Qm7SDShz9UZ4jJWublTYr8yL2HrNiCGdU2Sd+DsLEP7myRuqiVv76TuQlgAHW30OuM0gcI+o3+kY13zMrzaJh6D8VOgF5IBlmaL2+OpnsnvAhH5C20A5fpW5qUcEGi/2Sj4yVQr23VJvtgYWa2GZQ+sl5oTldSXmobxqhxbhmELH7tJSCzgLgwbwzrJzY+O3JFfvpAJ9QVRb7vf0cLnGEwxPXZ+SOZC4Cm6k2EAm44JjDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QL59+fThgQCCwL2XZRYiOolZBUeLCfJlofrm9+YAdjE=; b=NLeLbDFl7pBh5hun03KW2WQElMfmCOHa+useYpNSl7vqjEOTvEWtiNmtVT8+gDZ6kwP8yJDzNZfgF2Wy+3Wtv4Aluy8P3xpUXBaBh6+1IYlly/4XBw+EmLaABkI4ExpdDppewhcBNWZbyoK30Mzez+yo9YSl8ZwZoD5PqvxZwk3YBuu9061x8eIgOhv6ySM2qo8z3luqOoq0JdTb+hmi/g2JrafkTqe3nbB4NjP3GwtM1MMDt7QpogFy0mPcUGpYeqDODJ2JGKdofUPqD4v32qu8YD2NkIA0zJjQr/p/FtZOkJr25kTgcybIutDzu5KIqCNQquccpubydv04oGc3EQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QL59+fThgQCCwL2XZRYiOolZBUeLCfJlofrm9+YAdjE=; b=gIqMNL09a7QTGgSfRV7Y2PSntiiN1UFTtEh2FJfJXekLPe6WPt1kg4SO3PLadce3/L0lDWX1Fa23ItgFsBNqdJgqR/A7IkT1E+lRxNIPS45QnPRXG5QauZKl/5q/N4rYnhp0sbgamHJnKJ8fcquxL9FW9a+5cLplVL05PF0xMpc= Received: from DM6PR11MB2555.namprd11.prod.outlook.com (2603:10b6:5:c5::33) by DM6PR11MB4708.namprd11.prod.outlook.com (2603:10b6:5:28f::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.21; Mon, 13 Jul 2020 10:22:02 +0000 Received: from DM6PR11MB2555.namprd11.prod.outlook.com ([fe80::75c7:27bf:b5af:a483]) by DM6PR11MB2555.namprd11.prod.outlook.com ([fe80::75c7:27bf:b5af:a483%5]) with mapi id 15.20.3174.025; Mon, 13 Jul 2020 10:22:02 +0000 From: "Power, Ciara" To: Thomas Monjalon CC: "dev@dpdk.org" , "Laatz, Kevin" , Stephen Hemminger , "Richardson, Bruce" Thread-Topic: [dpdk-dev] [PATCH 20.08] telemetry: add upper limit on connections Thread-Index: AQHWLS+WIyZZEDNt/U2uQOTXTaREjqiuiHsAgFMUvYCABAXwcA== Date: Mon, 13 Jul 2020 10:22:01 +0000 Message-ID: References: <20200518161232.58952-1-ciara.power@intel.com> <20200518170704.63491d4b@hermes.lan> <9665425.xVsip7n7Xm@thomas> In-Reply-To: <9665425.xVsip7n7Xm@thomas> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.2.0.6 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=intel.com; x-originating-ip: [78.18.45.227] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: fd9572e5-1ab0-4c1c-3656-08d827169550 x-ms-traffictypediagnostic: DM6PR11MB4708: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: wI4avIYx3F3oT9oDZHeVZgA9BgyXzJlL7rEF397gAwXm3i1mK9/R6sVXSWVYffe5WHivgGdAeVi0ap6rJD6UQ7wE6zLF70EmgvsfDu/b6wTW2tkP1nR5X3/eRa9LKKV8MTOoVlq5f6oR0gchbFcquGX4Z6E7COoalgxCNxHTGaD0fMEFW027pm6i5tVQOUK7AIIlkFr1DZGXvGdo0v9VcZTn6hLmb1MZbyjnIVVqEdsCuZUHfrPNQxskjINGS+jKD8UJZtU53yIweNH6jLhJHP8xHsrAeKBB5Z1kwK+Q2iLstq6Cy7Y96uEMnQkwEQql x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB2555.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(136003)(39860400002)(366004)(346002)(396003)(376002)(9686003)(6506007)(6916009)(55016002)(64756008)(66446008)(66556008)(66476007)(76116006)(4326008)(66946007)(8936002)(52536014)(33656002)(7696005)(83380400001)(107886003)(8676002)(4744005)(71200400001)(478600001)(54906003)(26005)(316002)(2906002)(186003)(86362001)(5660300002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: Kaox3a0ZWCoJjMvmVM//0CM03BNFjBh5eQODEWqHExbH/GILEMGazrwW4L2lOg8XlC38eYnoc8VrMRyPuyUttHXOnuAp0W72w8IN6DSEETwiC6vQ2DRGrCEuG0HjKIQ9kTLH6x1CHRqqB1EaZYqOC87NOdue4REVekS8KMKiRlVw/btTUcKuPoEaM8SYlfZtWJP1BYHDE6FlmsxLUhZ75GSl+w6VFz+B31VXJnO1deheOAAUK4ZpDZ0Nh9Bzhj4U8CMkjaYaXP9DoeDIx6m+3VGXrszHcIGv/hzS23I3aQIocKJqtH0VcPUOTri6Q4soGDk2I21bmaUR30/yOpPoSevCns0HhII0jHJBDswKcJE8yQMQoTFV2wGu8O1Q7YbuAaHVkIGVdo2ExidrB9+Jorf6a0XVqXiVouz+1VOEvvv9y3lqEJZFjxo373IfsVIRx6gP4ReRst/5Ui7Z4orLMiXIUrl/h1IlbSfzcI4RX3k= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB2555.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: fd9572e5-1ab0-4c1c-3656-08d827169550 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jul 2020 10:22:01.9551 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: LD1DQAke3/tdQBG9E/ptDfINyv0XyEdvzMd9WgUnjx9v8GmdLEhCunBNBFqW/rqCQydb13wZlioTV+M2gsJCnA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4708 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 20.08] telemetry: add upper limit on connections X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" >-----Original Message----- >From: Thomas Monjalon >Sent: Friday 10 July 2020 21:51 >To: Power, Ciara >Cc: dev@dpdk.org; Laatz, Kevin ; Stephen >Hemminger ; Richardson, Bruce > >Subject: Re: [dpdk-dev] [PATCH 20.08] telemetry: add upper limit on >connections > >19/05/2020 02:07, Stephen Hemminger: >> On Mon, 18 May 2020 17:12:32 +0100 >> Ciara Power wrote: >> >> > This patch limits the number of client connections to the new >> > telemetry socket. The limit is set at 10. >> > >> > Signed-off-by: Ciara Power >> >> The upper limit is fine, but using System V semaphores is not a good >> way to do this. Please consider using some other atomic primitive. > >Why no reply? > Hi Thomas, I had contacted Stephen offline for some detail on his suggestion. I though= t I would have a patch sent soon after, but it took longer than expected, a= nd I forgot to reply on list. I have a patch in progress that will hopefully be sent up soon after intern= al review. Thanks, Ciara