From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f176.google.com (mail-pd0-f176.google.com [209.85.192.176]) by dpdk.org (Postfix) with ESMTP id 934EA3F9 for ; Thu, 18 Dec 2014 17:15:13 +0100 (CET) Received: by mail-pd0-f176.google.com with SMTP id r10so1693770pdi.21 for ; Thu, 18 Dec 2014 08:15:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=9og1prqNChTx8jNGZI6SGyFCxBjdqG+nF8ip61N7/gU=; b=UX6U/Rezldh33ovqkUVCqfjX+JsdZtdkGyQkw/ZJWIwoQ1AvRZfAEwKCmKXti5184J dOgFJUtUETSX6HmYx3OTZPkHenVoPZuvmPgRNj65Y/BVtB1A8qERH6rOr36QuVYcHCZt b2lRfZIgInz9zax5fxSCan2Hv0keKxDT+1CyHD+c+Wzkdsils2L2yV50f/+aIz0ePv0+ Ehf0d88hybkml5k7CnoAdQpSMqIko+j/4/VhY/x+PDb8AzzyaUaoIPglQt3rwnt1FdHJ 3VLEfwNNQ/puhkXuM9T/xW3SP299Wq+mVY6dG49bC6+vtAkkSohtdSY4nGXAy7yeAy0l 6YWQ== X-Gm-Message-State: ALoCoQlXBsyg9Py4rsUC+0QLPVn+FtnNPlXuQWYALQg4EB6m/BnLqEqww7d08xqJFOHInN9nYf5b X-Received: by 10.66.227.73 with SMTP id ry9mr4682356pac.51.1418919312748; Thu, 18 Dec 2014 08:15:12 -0800 (PST) Received: from urahara (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id op10sm7117335pbc.90.2014.12.18.08.15.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Dec 2014 08:15:12 -0800 (PST) Date: Thu, 18 Dec 2014 08:15:00 -0800 From: Stephen Hemminger To: "Walukiewicz, Miroslaw" Message-ID: <20141218081500.333e45de@urahara> In-Reply-To: <7C4248CAE043B144B1CD242D275626532FE27C3B@IRSMSX104.ger.corp.intel.com> References: <1418263490-21088-1-git-send-email-cunming.liang@intel.com> <7C4248CAE043B144B1CD242D275626532FE15298@IRSMSX104.ger.corp.intel.com> <7C4248CAE043B144B1CD242D275626532FE232BA@IRSMSX104.ger.corp.intel.com> <7C4248CAE043B144B1CD242D275626532FE27C3B@IRSMSX104.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [RFC PATCH 0/7] support multi-phtread per lcore 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: Thu, 18 Dec 2014 16:15:14 -0000 On Thu, 18 Dec 2014 12:20:07 +0000 "Walukiewicz, Miroslaw" wrote: > Could we extend values returned by rte_lcore_id() to set them per thread (really the DPDK lcore is a pthread but started on specific core) instead of creating linear thread id. The linear thread id is very useful for having per-core statistics tables. This is done in lots of places to avoid cache thrashing.