From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id F335B8EA1 for ; Fri, 22 Jan 2016 17:38:13 +0100 (CET) Received: by mail-wm0-f41.google.com with SMTP id b14so141054958wmb.1 for ; Fri, 22 Jan 2016 08:38:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=/YOHMIWx/Vkc2RofUoL5S/IlRH96Kvc3wAJ5q84ecAI=; b=EbLuDKand2dDz6SWQHPqA+/zxtIbJvPwvKmE2piwi6jsijRuyi0LxgUlesSXRDTQXx IVkDkCZ3Xn1YNXlpbvXEfpT/c1ma2XjJvl4JeCDpTbu2jJvhgfLuJC7ebEQzlpb7mORm oAREnAvDB/+B5MBFow4X2U7pcRPGLCEIdOBDV3obx9kiVa3nGupp8zQvxlU1Jr9k/bbw YhgxFB3EFBkbeG8khSQDF+aBEIxVOiu51zkr1OFCZGZwPCzVPl9feiFoG9ImPzWLh00+ Tforadoj5LLQ4xNAzzNFGx8sBZrZHuSMsmegvRKl2K1JtsQ3frG9qInTI11a2I2et5UU 5RfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=/YOHMIWx/Vkc2RofUoL5S/IlRH96Kvc3wAJ5q84ecAI=; b=kp5GdtgrIBv0DBo4jlvkYg10i8gcEddljUBFzulF7H0xHhH6aCi0yYNRC2vO6eM0TZ VHV86A1m7fZbQe+IhKheFxyOuwtCGazmLHWNbmo1v1BOGWwpdawsMxF4WItqQgYeyBsg BVueym0PNgVu4WxmLRMZAgiBpT275yV8TytLr8N1aXAYIu3KUO/HrRsMfpH7r9D5RA9e cuCkgcf0Js7FWtYIywRz1BiRY9L4un0u8co0IDB4FKxTzuPLKGAjLQlrMeMTTQj3GaIx NJxA2A4trPfcMy3rX8cHNQDXb+aDgaganMSQIoLxE7ioItSBI5i0q6e39fhAFWQqQYZ3 Qyeg== X-Gm-Message-State: AG10YOSbCcimOJ4PaGfudRI3JjMkr2hLDx4aRnxRe1ZTgA0BLPB1V16gFlY3p+ytGpQAxS/6 X-Received: by 10.194.2.243 with SMTP id 19mr4864527wjx.154.1453480693657; Fri, 22 Jan 2016 08:38:13 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id z65sm3642437wmg.10.2016.01.22.08.38.12 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 22 Jan 2016 08:38:13 -0800 (PST) From: Thomas Monjalon To: "David Harton (dharton)" Date: Fri, 22 Jan 2016 17:37:12 +0100 Message-ID: <2905167.2LHbWGS9Eh@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <78791945dbf442b291adb72df8ec09f3@XCH-RCD-016.cisco.com> References: <78791945dbf442b291adb72df8ec09f3@XCH-RCD-016.cisco.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Future Direction for rte_eth_stats_get() X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2016 16:38:14 -0000 2016-01-22 16:04, David Harton: > I think parsing strings is expensive CPU wise [...] > wondering if something that is performance friendly for the user/application > and flexible for the drivers is possible. I think we need some numbers from experimentations and some requirements. How many cycles it takes to read stats? How often stats must be read at max?